| Summary: | app-office/impressive-0.11.0b with dev-python/pillow-3.0.0: "tostring() has been removed" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bernd Feige <Bernd.Feige> |
| Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jlec, python |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
commit 391427e7dd4704b61ac6c05d8923a3907e650a03 Author: Justin Lecher <jlec@gentoo.org> Date: Sat Oct 10 16:46:51 2015 +0200 app-office/impressive: Fix for pillow-3 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562380 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391427e7dd4704b61ac6c05d8923a3907e650a03 |
dev-python/pillow-3.0.0 removed tostring(): Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/impressive.py", line 5905, in run_main main() File "/usr/lib/python-exec/python2.7/impressive.py", line 5672, in main LogoTexture = gl.make_texture(gl.TEXTURE_2D, filter=gl.NEAREST, img=LogoImage) File "/usr/lib/python-exec/python2.7/impressive.py", line 1229, in make_texture self.load_texture(target, img) File "/usr/lib/python-exec/python2.7/impressive.py", line 1242, in load_texture gl.TexImage2D(target, 0, format, img.size[0], img.size[1], 0, format, self.UNSIGNED_BYTE, img.tostring()) File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 686, in tostring "Please call tobytes() instead.") Exception: tostring() has been removed. Please call tobytes() instead. Replacing the occurrences of tostring() with tobytes() in /usr/lib/python-exec/python2.7/impressive.py fixes the problem. Reproducible: Always