Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551424 - dev-python/pillow-2.8.1 - src_test(): ERROR: TestFileIco.test_save_to_bytes // OSError: cannot identify image file <_io.BytesIO object at 0x3fffa62c1600>
Summary: dev-python/pillow-2.8.1 - src_test(): ERROR: TestFileIco.test_save_to_bytes /...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2015-06-07 06:56 UTC by Jeroen Roovers (RETIRED)
Modified: 2015-06-15 08:14 UTC (History)
1 user (show)

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


Attachments
dev-python:pillow-2.8.1:20150607-063424.log (20150607-063424.log,326.72 KB, text/plain)
2015-06-07 06:56 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.