[dojo-contributors] Livedocs Internal Server Error on post-edit save

Ken Benjamin kenbenjamin at kenbenjamin.net
Sat Jun 23 07:01:27 EDT 2012


I've been making a couple of minor edits in Livedocs to fix typos in
http://livedocs.dojotoolkit.org/releasenotes/1.8 and each save does work but
the server returns this:

500 Internal Server Error

The server encountered an unexpected condition which prevented it from
fulfilling the request.

Traceback (most recent call last):
  File
"/srv/www/vhosts.d/tmpdocs.dojotoolkit.org/_env/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/_cprequest.py",
line 656, in respond
    response.body = self.handler()
  File
"/srv/www/vhosts.d/tmpdocs.dojotoolkit.org/_env/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/lib/encoding.py",
line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File
"/srv/www/vhosts.d/tmpdocs.dojotoolkit.org/_env/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/_cpdispatch.py",
line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "./src/docserver.py", line 70, in default
    action=self._handlePost(args,**kwargs)
  File "./src/docserver.py", line 179, in _handlePost
    if kwargs['action']=='bare':
KeyError: 'action'
Powered by CherryPy 3.2.2


My guess is it's something to do with tracking the changes made.

As I said, the changes do stick so at least that part is fine.

BTW, excellent job on the release notes and THANK YOU!!! for the working API
viewer!

Ken


More information about the dojo-contributors mailing list