When trying to open a file, we get that exception whith newer PILLOW:
File "/usr/bin/macrofusion", line 621, in pixbuf2Image
return Image.fromstring("RGB",(width,height),pb.get_pixels() )
File "/usr/lib/python3.5/site-packages/PIL/Image.py", line 2053, in fromstring
"Please call frombytes() instead.")
Exception: fromstring() has been removed. Please call frombytes() instead.
So in my installed /usr/bin/macrofusion I modified line 621 and it does work again:
return Image.frombytes("RGB",(width,height),pb.get_pixels() )
François.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-11-01
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-01-05
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Bugs, ideas and general talk..." comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
When trying to open a file, we get that exception whith newer PILLOW:
File "/usr/bin/macrofusion", line 621, in pixbuf2Image
return Image.fromstring("RGB",(width,height),pb.get_pixels() )
File "/usr/lib/python3.5/site-packages/PIL/Image.py", line 2053, in fromstring
"Please call frombytes() instead.")
Exception: fromstring() has been removed. Please call frombytes() instead.
So in my installed /usr/bin/macrofusion I modified line 621 and it does work again:
return Image.frombytes("RGB",(width,height),pb.get_pixels() )
François.