Hi there,
When I attempt to edit the front page as a non-root user it throws a
traceback:
http://localhost:8000/DoServerCmd.html?cmd=editItem&name=HelloWorld
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/CherryPy-3.1.0-py2.5.egg/
cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/lib/python2.5/site-packages/CherryPy-3.1.0-py2.5.egg/
cherrypy/_cpdispatch.py", line 24, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python2.5/site-packages/WikklyText-1.3.0-py2.5.egg/
wikklytext/scripts/wikserve.py", line 630, in default
return self.handle_cmd(args,kwargs)
File "/usr/lib/python2.5/site-packages/WikklyText-1.3.0-py2.5.egg/
wikklytext/scripts/wikserve.py", line 110, in handle_cmd
return self.beginEditItem(unicode(kwargs['name'],'utf-8'))
File "/usr/lib/python2.5/site-packages/WikklyText-1.3.0-py2.5.egg/
wikklytext/scripts/wikserve.py", line 411, in beginEditItem
args, kwargs)
NameError: global name 'args' is not defined
If I look in the source for wikserve.py at that line, then args and
kwargs aren't defined. I replaced args and kwargs with [] and {} and
it works as it should.
BTW it's a good wiki, and I hope to deploy it soon.
Cheers,
Andy.