Re: [Rest2web-develop] Nailed the File Keyword Bug
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-04-22 22:17:17
|
Andrew Ittner wrote: > The verbosity option before the config file doesn't work: > > $ python ~/code/dev/rest2web/r2w.py -a ~/www/rp.ini > Traceback (most recent call last): > File "/home/user/code/dev/rest2web/r2w.py", line 167, in ? > config = ConfigObj(cfg_file, file_error=True) > File "/home/user/code/dev/rest2web/pythonutils/configobj.py", line 1081, > in __init__ > raise IOError, 'Config file not found: "%s".' % self.filename > IOError: Config file not found: "-a". > > Same result for -w and -v. > This should be fixed now in the 0.5.0 alpha release. Probably other bugs though. :-( Unfortunately rest2web is structured in a way that makes it very hard to add tests. Thinking about testing from the start would probably have resulted in a better structured system ! Some of the recent additions to rest2web are good though, and more to come. Fuzzyman http://www.voidspace.org.uk/python/index.shtml > Andrew > > >> -----Original Message----- >> From: res...@li... >> [mailto:res...@li...]On Behalf Of >> Michael Foord >> Sent: Monday, April 10, 2006 1:08 AM >> To: res...@li... >> Subject: Re: [Rest2web-develop] Nailed the File Keyword Bug >> >> >> Andrew Ittner wrote: >> >>> File keyword bug: fixed on Linux! Thank you - that feature is >>> >> a big help. >> >>> However, given enough time, I'm sure I'll break it - but in a >>> >> new and better >> >>> way! >>> >>> >> Great (except the part about breaking it ;-) >> >>> As for the verbosity settings, they appear to give the exact >>> >> same output at >> >>> the command line in Linux. I see no difference between -v, -a, >>> >> and -w. I >> >>> run r2w thusly: >>> >>> python ~/code/dev/rest2web/r2w.py ~/www/rp.ini -w >>> >>> Anything obviously wrong with that syntax? >>> >>> >>> >> Try : >> >> python ~/code/dev/rest2web/r2w.py -w ~/www/rp.ini >> > > > > > ------------------------------------------------------- > 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 > > |