FS#46587 - [oblogout] Incompatible with pillow 3.0.0

Attached to Project: Community Packages
Opened by Jeff Sapire (Jeffus) - Tuesday, 06 October 2015, 19:28 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 25 October 2015, 08:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
python2-pillow 3.0.0-1 breaks oblogout. Downgrading to 2.9.0-2 works around.

Additional info:
* package version(s) 0.2-15
* config and/or log files etc.

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.


Steps to reproduce:
Run...
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Sunday, 25 October 2015, 08:58 GMT
Reason for closing:  Fixed
Comment by Alex Bruce (manghoti) - Wednesday, 07 October 2015, 23:19 GMT
I can confirm this behavior, downgrading fixes.

:(
Comment by Alexander F. Rødseth (xyproto) - Thursday, 08 October 2015, 13:04 GMT
Thanks for reporting. Please report this problem upstream to the oblogout developers.

Will try to find a temporary workaround.
Comment by Bartłomiej Piotrowski (Barthalion) - Thursday, 08 October 2015, 14:56 GMT
Except I can't reproduce it, fix is simple and already described in the error message.
Comment by kirill (scorpp) - Saturday, 10 October 2015, 07:21 GMT
I made a patch for oblougt-fork, but this part should still be compatible with mainline oblogout. It is trivial, but might be of some help for you https://github.com/scorpp/oblogout-fork/commit/89b15dae131847e615484f273d8e6b3c50edd229.patch
Comment by Alexander F. Rødseth (xyproto) - Saturday, 24 October 2015, 14:41 GMT
Thanks kirill. The patch was helpful in finding a quick solution.

This should still be fixed by upstream though, but they have been inactive for the last 6 years. The next time there are issues, it may be better to move this package to AUR.

The updated oblogout package should appear in [community] shortly.

Loading...