#7836 closed defect (invalid)
IOError: encoder zip not available
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /agilo-charts
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'height': u'350', 'sprint': u'November', 'type': u'burndown', 'width': u'750'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
System Information
Trac | 0.11.1
|
Python | 2.5.2 (r252:60911, Nov 12 2008, 18:40:01) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
|
setuptools | 0.6c9
|
SQLite | 3.3.8
|
pysqlite | 2.5.0
|
Genshi | 0.5.1
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/home/agile42/tree/lib/python/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/home/agile42/tree/lib/python/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "/home/agile42/tree/lib/python/agilo-0.7.1_r995_20081123-py2.5.egg/agilo/charts/web_ui.py", line 160, in process_request png_data = self.chart_classes[chart](self.env, args=req.args, logger=self.log).generate() File "/home/agile42/tree/lib/python/agilo-0.7.1_r995_20081123-py2.5.egg/agilo/charts/web_ui.py", line 431, in generate return self.get_image() File "/home/agile42/tree/lib/python/agilo-0.7.1_r995_20081123-py2.5.egg/agilo/charts/web_ui.py", line 251, in get_image im.save(self.imageFile, 'PNG') File "/home/agile42/tree/lib/python/PIL/Image.py", line 1405, in save save_handler(self, fp, filename) File "/home/agile42/tree/lib/python/PIL/PngImagePlugin.py", line 510, in _save ImageFile._save(im, _idat(fp, chunk), [("zip", (0,0)+im.size, 0, rawmode)]) File "/home/agile42/tree/lib/python/PIL/ImageFile.py", line 473, in _save e = Image._getencoder(im.mode, e, a, im.encoderconfig) File "/home/agile42/tree/lib/python/PIL/Image.py", line 391, in _getencoder raise IOError("encoder %s not available" % encoder_name) IOError: encoder zip not available
Attachments (0)
Change History (3)
comment:1 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Looks like an installation issue though, maybe a missing Python component required by the plugin through the PIL library.
comment:3 by , 15 years ago
http://mail.python.org/pipermail/tutor/2007-March/053053.html
Problem finally solved : had to reinstall and rebuild PIL (from tar) - this time pointing the setup.py to the right location of jpeg-6b library, and ONLY THEN running setup.py build_ext -i of Imaging1.1.6
hope someone can make use of this, Tsila
Not a Trac issue, but a plugin issue. Please report the error to the plugin maintainer.