Closed GoogleCodeExporter closed 9 years ago
and this damaged file in the same situation calls the next error:
Traceback (most recent call last):
File "./jbrout.py", line 1898, in on_selecteur_menu_select_plugin
ret=callback(l)
File "/home/kefiiir/doc/src/!svn/jbrout-read-only/jbrout/plugins/__init__.py",
line 203, in myCallBack
ret=callback(*a,**k)
File
"/home/kefiiir/doc/src/!svn/jbrout-read-only/jbrout/plugins/rotate/__init__.py",
line
82, in rebuildThumb
i.rebuildThumbnail()
File "/home/kefiiir/doc/src/!svn/jbrout-read-only/jbrout/jbrout/db.py", line 769,
in rebuildThumbnail
pc.rebuildExifTB()
File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 490, in rebuildExifTB
im.thumbnail((160,160), Image.ANTIALIAS)
File
"//usr/lib/python2.5/site-packages/PILwoTk-1.1.6.4-py2.5-linux-i686.egg/PIL/Imag
e.py", line
1522, in thumbnail
self.load()
File
"//usr/lib/python2.5/site-packages/PILwoTk-1.1.6.4-py2.5-linux-i686.egg/PIL/Imag
eFile.py",
line 207, in load
raise IOError(error + " when reading image file")
IOError: decoding error when reading image file
Original comment by Oleg.Bla...@gmail.com
on 20 Jan 2009 at 5:14
Attachments:
really really interesting pictures ...
BTW, jBrout should only manage pictures from cam (and so, shouldn't fail on
this kind
of pictures)
your pictures don't came from a cam ... but are damaged for sure ;-)
in the past, rebuilding thumbs was done by an external tool (which was able to
handle
more strange cases ;-). Now It's fully done in python, with PIL Image library,
which
seems to have troubles with your pictures.
I will investigate ...
Original comment by manat...@gmail.com
on 20 Jan 2009 at 10:19
fixed in r168
Original comment by manat...@gmail.com
on 20 Jan 2009 at 10:38
Original issue reported on code.google.com by
Oleg.Bla...@gmail.com
on 20 Jan 2009 at 5:06Attachments: