Bug 1282223 - An error occurred while rendering image.
Summary: An error occurred while rendering image.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: photocollage
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adrien Vergé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-15 16:26 UTC by Grégoire
Modified: 2016-05-19 09:27 UTC (History)
2 users (show)

Fixed In Version: photocollage-1.3.1-1.fc23 photocollage-1.3.1-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 00:23:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Grégoire 2015-11-15 16:26:53 UTC
Description of problem: When adding images (click on "add images" button and select some images from my hard-drive), I get an error message saying: "An error occurred while rendering image."

Version-Release number of selected component (if applicable): I couldn't find a version number or an 'about' dialog.


How reproducible: reproducible


Steps to Reproduce:
1. Open photocollage
2. click "add images"
3. select some image and click OK

Actual results:
Error message, no image generated

Expected results:
Generates a collage (I guess, since I haven't tried it before)

Additional info: Python traceback (when launched from the terminal):
Traceback (most recent call last):
  File "/usr/lib64/python3.4/multiprocessing/process.py", line 254, in _bootstrap
    self.run()
  File "/usr/lib/python3.4/site-packages/photocollage/render.py", line 145, in run
    self.wr_conn.send(self.fn(*self.fn_args, **self.fn_kwargs))
  File "/usr/lib/python3.4/site-packages/photocollage/render.py", line 288, in resize_photo
    return img.size[0], img.size[1], img.tostring()
  File "/usr/lib64/python3.4/site-packages/PIL/Image.py", line 686, in tostring
    "Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

Comment 1 Adrien Vergé 2015-11-15 21:24:37 UTC
Thanks for reporting this Grégoire. I'll fix it as soon as possible.

Comment 2 Fedora Update System 2015-11-15 21:28:47 UTC
photocollage-1.3.1-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-52acbb5c7f

Comment 3 Fedora Update System 2015-11-16 04:50:39 UTC
photocollage-1.3.1-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update photocollage'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-52acbb5c7f

Comment 4 Fedora Update System 2015-11-16 05:53:00 UTC
photocollage-1.3.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update photocollage'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-941d227568

Comment 5 Grégoire 2015-11-16 10:28:36 UTC
That was fast! Thanks

Comment 6 Adrien Vergé 2015-11-16 17:01:34 UTC
Actually the problem was already fixed, just waiting for a version bump to have a new release ;)

Comment 7 Fedora Update System 2015-11-23 00:23:05 UTC
photocollage-1.3.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-12-06 03:19:56 UTC
photocollage-1.3.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Jon Ingason 2016-05-19 09:27:01 UTC
Just installed photocollage-1.3.2-1.fc22 and are getting "An error occurred while rendering image" when I try to load an image.


Note You need to log in before you can comment on or make changes to this bug.