Re: [Rest2web-develop] handling missing configuration values
Brought to you by:
mjfoord
From: Karl G. <ka...@kg...> - 2011-08-17 10:14:23
|
On Tue, 16 Aug 2011 17:39:27 +0100 Michael Foord <fuz...@vo...> wrote: > 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). Do you still have a copy of the source history, or has it been lost? > 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. I have a copy of the Debian package i've pulled into bzr for now (to keep track of any changes i make), so hopefully I will be able to rebase onto whatever you are providing. > 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). Sounds good. I won't lose sleep over this, so feel free to take your time in choosing :) thanks, kk > 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 -- Karl Goetz, (Kamping_Kaiser / VK5FOSS) Debian contributor / gNewSense Maintainer http://www.kgoetz.id.au No, I won't join your social networking group |