Re[2]: [Rest2web-develop] Gallery Test crashes when rerun
Brought to you by:
mjfoord
From: Marc <Ma...@ro...> - 2006-03-22 00:03:04
|
On Tue, 21 Mar 2006 16:28:16 +0000 Michael Foord <fuz...@vo...> wrote: > Hello Marc, > > I think we've got it. > > Marc wrote: > > Processing "subfolder" directory. > > subfolder\../../sites/rest2web/gallery_test/subfolder/gallery2\cart_and_girl.jpg > > subfolder\../../sites/rest2web/gallery_test/subfolder/gallery2\eddie.jpg > > subfolder\../../sites/rest2web/gallery_test/subfolder/gallery2\fried_brains.jpg > > subfolder\../../sites/rest2web/gallery_test/subfolder/gallery2\fuzzyman.jpg > > subfolder\../../sites/rest2web/gallery_test/subfolder/gallery2\horse_and_cart.jpg > > subfolder\../../sites/rest2web/gallery_test/subfolder/gallery2\Thumbs.db > > > Gallery is attempting to process 'thumbs.db' and failing. This is > autocreated by windows when you view the directory. > > I'll have to fix the gallery to skip this file (I thought it already > did - obviously not). In the meantime you need to delete this file first. > > You might need to change your folder settings to 'View -> List' and show > hidden files to be able to delete it. > > All the best, > > Fuzzyman > http://www.voidspace.org.uk/python/index.shtml > > > [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 118, 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] > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Rest2web-develop mailing list > > Res...@li... > > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > > > > Hi Fuzzyman, Thats was it. Looks like I was right about reinitialization. Thumbs.db being hidden is really weird on Windows. It cannot be seen nor found in File Explorer. In a shell, plain 'ls' discovers it. I like using these tools thanks for publishing them. Thanks, Marc |