Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616708 - media-gfx/cropgui-0.2 - NotImplementedError: tostring() has been removed. Please call tobytes() instead.
Summary: media-gfx/cropgui-0.2 - NotImplementedError: tostring() has been removed. Ple...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-27 06:16 UTC by Massimo Burcheri
Modified: 2017-05-31 06:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2017-04-27 06:16:21 UTC
cropgui is failing with a Python traceback.
I have both Python 2.7 and 3.4 available and tried with both set by eselect.

Reproducible: Always

Steps to Reproduce:
1. cropgui mypic.jpg
Actual Results:  
Stepconf encountered an error.  The following information may be useful in troubleshooting:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/cropgui/cropgtk.py", line 173, in do_render
    pixbuf = gtk.gdk.pixbuf_new_from_data(rendered.tostring(),
  File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 699, in tostring
    "Please call tobytes() instead.")
NotImplementedError: tostring() has been removed. Please call tobytes() instead.
Comment 1 Sergey Popov gentoo-dev 2017-05-31 06:43:37 UTC
commit 9b50e2a36d6d2cc36c3b74054585128c32d2ba1d
Author: Sergey Popov <pinkbyte@gentoo.org>
Date:   Wed May 31 09:38:36 2017 +0300

    media-gfx/cropgui: revision bump

    Backported fix: use tobytes() instead of deprecated tostring()
    Drop old revision

    Reported-by: Massimo Burcheri <massimo.burcheri@gmx.de>
    Gentoo-Bug: 616708

    Package-Manager: Portage-2.3.5, Repoman-2.3.1