[Rest2web-develop] Gallery Test crashes when rerun
Brought to you by:
mjfoord
From: Marc C. <ma...@ro...> - 2006-03-19 20:57:50
|
Hi, Out of the box gallery_test works ok, but when I rerun it, it generates the thumbnails for the first directory, then complains about not being about not being able to cast an int into a long. Is there a special clean up necessary for rerunning gallery_test. Thanks, Marc Processing "root" directory. [err] Traceback (most recent call last): [err] File "C:\Documents and Settings\All Users\Documents\Python242\rest2web-0.4.0alpha\rest2web.py", line 168, in ? [err] count = main(config) [err] File "C:\Documents and Settings\All Users\Documents\Python242\rest2web-0.4.0alpha\rest2web.py", line 104, in main [err] return processor.walk() [err] File "C:\Documents and Settings\All Users\Documents\Python242\rest2web-0.4.0alpha\rest2web\restprocessor.py", line 187, in walk [err] self.setdefaults(dir_list) [err] File "C:\Documents and Settings\All Users\Documents\Python242\rest2web-0.4.0alpha\rest2web\restprocessor.py", line 459, in setdefaults [err] restindex, uservalues)) [err] File "C:\Documents and Settings\All Users\Documents\Python242\rest2web-0.4.0alpha\rest2web\restprocessor.py", line 1312, in do_plugin [err] return self.plugins[plugin].page(filename, target, restindex, uservalues) [err] File "C:\Documents and Settings\All Users\Documents\Python242\rest2web-0.4.0alpha\rest2web\plugins\gallery.py", line 76, in page [err] data = get_info(params) [err] File "C:\Documents and Settings\All Users\Documents\Python242\rest2web-0.4.0alpha\rest2web\plugins\gallery.py", line 117, in get_info [err] im = Image.open(path) [err] File "C:\Documents and Settings\All Users\Documents\Python242\Lib\site-packages\PIL\Image.py", line 1741, in open [err] return factory(fp, filename) [err] File "C:\Documents and Settings\All Users\Documents\Python242\Lib\site-packages\PIL\ImageFile.py", line 82, in __init__ [err] self._open() [err] File "C:\Documents and Settings\All Users\Documents\Python242\Lib\site-packages\PIL\FpxImagePlugin.py", line 63, in _open [err] self.ole = OleFileIO(self.fp) [err] File "C:\Documents and Settings\All Users\Documents\Python242\Lib\site-packages\PIL\OleFileIO.py", line 260, in __init__ [err] self.open(filename) [err] File "C:\Documents and Settings\All Users\Documents\Python242\Lib\site-packages\PIL\OleFileIO.py", line 293, in open [err] self.loaddirectory(i32(header, 48)) [err] File "C:\Documents and Settings\All Users\Documents\Python242\Lib\site-packages\PIL\OleFileIO.py", line 339, in loaddirectory [err] fp = self._open(sect) [err] File "C:\Documents and Settings\All Users\Documents\Python242\Lib\site-packages\PIL\OleFileIO.py", line 405, in _open [err] self.sectorsize, self.fat) [err] File "C:\Documents and Settings\All Users\Documents\Python242\Lib\site-packages\PIL\OleFileIO.py", line 106, in __init__ [err] sect = fat[sect] [err] OverflowError: long int too large to convert to int [err] |