Re: [Rest2web-develop] handling missing configuration values
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2011-08-16 16:39:37
|
Hello Karl, This definitely sounds like something worth fixing. Unfortunately the source code repo for rest2web seems to have "vanished" (I think the free provider pulled it without telling me). I need to find a new home for the repository (probably google code with mercurial). I haven't actively done any development on rest2web for quite some time. I still *use* it, but it does everything I need so I haven't spent any time on it for a long while. As soon as there is a new repo for rest2web I will email this list. This will include an issue tracker so you can at least file an issue (or create a patch I can just pull in). All the best, Michael Foord On 10/08/2011 08:12, Karl Goetz wrote: > hi, > > I've noticed if the config file exists but is empty rest2web fails with > a small backtrace. > > Traceback (most recent call last): > File "../srccache/rest2web-packaging/r2w.py", line 142, in<module> > log_file = config['log_file'] or None > File "/home/kgoetz/srccache/rest2web-packaging/rest2web/pythonutils/configobj.py", line 532, in __getitem__ > val = dict.__getitem__(self, key) > KeyError: 'log_file' > > Has this been fixed in svn? (or whatever the code will be in after > this). If not I'll have a proper go at fixing it myself - the quick > hack i put in requires DEBUG and psyco to be in the config. > kk > > PS. i subscribed to the list, so no need to cc me :) > > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > > > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html |