Modify

Opened 16 years ago

Closed 16 years ago

#5279 closed defect (invalid)

Wikiprint fails with images on articles

Reported by: napfton@… Owned by: Álvaro Iradier
Priority: high Component: TracWikiPrintPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

Trac detected an internal error: IOError: decoder zip not available

is what I get when I try to export wiki pages where images are included.

File "/usr/lib/python2.5/site-packages/PIL/ImageFile.py", line 180, in load

d = Image._getdecoder(self.mode, d, a, self.decoderconfig)

File "/usr/lib/python2.5/site-packages/PIL/Image.py", line 376, in _getdecoder

raise IOError("decoder %s not available" % decoder_name)

IOError: decoder zip not available

are the last lines in my logfile, I know it looks like a PIL bug but PIL is working just fine, zlib is installed

# find / -iname *zlib.h /usr/include/zlib.h

Installation of WikiPrint and PIL worked flawless.

Attachments (0)

Change History (2)

comment:1 Changed 16 years ago by napfton@…

Just reinstalled PIL to be sure its not a PIL problem:


PIL 1.1.6 BUILD SUMMARY


version 1.1.6 platform linux2 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)

[GCC 4.3.3]


* TKINTER support not available --- JPEG support ok --- ZLIB (PNG/ZIP) support ok * FREETYPE2 support not available


comment:2 Changed 16 years ago by napfton@…

Resolution: invalid
Status: newclosed

f*ck it, after recompiling+reinstalling PIL several times I just installed everything with "zlib" in it and surprise zlibc was the missing package.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Álvaro Iradier.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.