Frederk
Posts: 27
Joined: Wed Aug 02, 2017 8:56 pm

Oblogout not working

Sun Jun 17, 2018 8:59 am

Hi,
I can't get oblogout (https://github.com/nikdoof/oblogout) to work.
I get this error message when entering oblogout in the terminal:

Code: Select all

Traceback (most recent call last):
  File "/usr/local/bin/oblogout", line 97, in <module>
    sys.exit(main())
  File "/usr/local/bin/oblogout", line 92, in main
    app = OpenboxLogout(config, local_mode)
  File "/usr/local/lib/python2.7/dist-packages/oblogout/__init__.py", line 85, in __init__
    self.__init_window()
  File "/usr/local/lib/python2.7/dist-packages/oblogout/__init__.py", line 141, in __init_window
    pilimg = Image.fromstring("RGB", wh, pb.get_pixels())
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2106, in fromstring
    "Please call frombytes() instead.")
NotImplementedError: fromstring() has been removed. Please call frombytes() instead.
I'm using Raspian Lite with openbox.

asavah
Posts: 363
Joined: Thu Aug 14, 2014 12:49 am

Re: Oblogout not working

Sun Jun 17, 2018 12:17 pm

The software you are trying to use was archived (This repository has been archived by the owner. It is now read-only.)
And it is probably no longer supported by the author.
The software is trying to use a call to a function in PIL (Pillow) which was removed a long time ago.
Either fix it yourself (the backtrace is providing valuable clues) or find an alternative.

Return to “Troubleshooting”