You are not logged in.

#1 2015-10-07 03:54:00

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

[Solved - see #2]python2-pillow update crashes oblogout

Since about a couple of days oblogout is crashing/not working. When run from a terminal I get the following notification

Traceback (most recent call last):
  File "/usr/bin/oblogout", line 97, in <module>
    sys.exit(main())
  File "/usr/bin/oblogout", line 92, in main
    app = OpenboxLogout(config, local_mode)
  File "/usr/lib/python2.7/site-packages/oblogout/__init__.py", line 85, in __init__
    self.__init_window()
  File "/usr/lib/python2.7/site-packages/oblogout/__init__.py", line 141, in __init_window
    pilimg = Image.fromstring("RGB", wh, pb.get_pixels())
  File "/usr/lib/python2.7/site-packages/PIL/Image.py", line 2053, in fromstring
    "Please call frombytes() instead.")
Exception: fromstring() has been removed. Please call frombytes() instead.

In order to narrow down what could have triggered this I checked my pacman log and oblogout dependencies and I have seen that python2-pillow was updated (3.0.0-1) more or less at the time the problem appeared.
Once I downgrade to 2.9.0-2 it works as it should.

Should this be reported to upstream (oblogout devs at launchpad)? Their bug section seems pretty unattended as far as I have seen.

Last edited by root (2015-11-13 00:14:06)


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#2 2015-10-07 05:44:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: [Solved - see #2]python2-pillow update crashes oblogout

The entire project is dead as far as I can tell. It was reported here: https://bugs.archlinux.org/task/46587, we'll see what the maintainer says.

Offline

#3 2015-10-08 23:23:08

MickeyRat
Member
Registered: 2011-11-15
Posts: 156

Re: [Solved - see #2]python2-pillow update crashes oblogout

I missed this when I did a search for oblogout but, I did find a way to make it work again.  No telling how long it'll work.

sed -i s/fromstring/frombytes/g  /usr/lib/python2.7/site-packages/oblogout/__init__.py

Will make it work again.  At least, it worked for me.

Last edited by MickeyRat (2015-10-08 23:26:34)


Some cause happiness wherever they go; others whenever they go.
- Oscar Wilde

Offline

Board footer

Powered by FluxBB