Re: [Rest2web-develop] Gallery Test crashes when rerun
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-03-21 11:03:55
|
Marc wrote: > On Sun, 19 Mar 2006 23:00:31 +0000 Michael Foord <fuz...@vo...> wrote: > > >> print path >> > > Hi, > > Thanks for getting back with me. > > I added 'print path' to above line 117 of rest2web.py > > def main_is_frozen(): > return ( > # new py2exe > hasattr(sys, "frozen") or > # tools/freeze > print path > imp.is_frozen("__main__")) > > path is not defined in this point of the code and I get a systax error. > > Where do I add the echo? > > The crash occurs in the following file : "C:\Documents and Settings\All Users\Documents\Python242\rest2web-0.4.0alpha\rest2web\plugins\gallery.py" It is in *this* file that you should add the print statement. This should then show us (in the log) what path is causing the error. :-) Fuzzyman http://www.voidspace.org.uk/python/index.shtml > Marc > > > ------------------------------------------------------- > 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 > > |