Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 551424

Summary: dev-python/pillow-2.8.1 - src_test(): ERROR: TestFileIco.test_save_to_bytes // OSError: cannot identify image file <_io.BytesIO object at 0x3fffa62c1600>
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: ppc64
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-python:pillow-2.8.1:20150607-063424.log

Description Jeroen Roovers (RETIRED) gentoo-dev 2015-06-07 06:56:35 UTC
Created attachment 404736 [details]
dev-python:pillow-2.8.1:20150607-063424.log

TestFileIco.test_save_to_bytes ... ERROR

======================================================================
ERROR: TestFileIco.test_save_to_bytes
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/Tests/test_file_ico.py", line 27, in test_save_to_bytes
    reloaded = Image.open(output)
  File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/build/lib/PIL/Image.py", line 2290, in open
    % (filename if filename else fp))
OSError: cannot identify image file <_io.BytesIO object at 0x3fffa62c1600>

----------------------------------------------------------------------
Ran 83 tests in 24.335s

FAILED (errors=1)
 * ERROR: dev-python/pillow-2.8.1::gentoo failed (test phase):
 *   Testing failed with python3.3
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-06-15 08:14:48 UTC
+  15 Jun 2015; Justin Lecher <jlec@gentoo.org>
+  +files/pillow-2.8.1-ico-backport.patch, pillow-2.8.1.ebuild,
+  pillow-2.8.2.ebuild:
+  backport patch for endianess of ico files, hopefully fixing bug #551422 & bug
+  #551424
+


Please test.