[Twisted-web] Strange Nevow / Athena error
Niklas Landsberg
niklas.landsberg at gmail.com
Tue Jul 7 15:09:01 EDT 2009
I´ve observed the same error when playing around with twisted behind a
reverse proxy (apache/nginx). Are your conditions similar?
On Tue, Jul 7, 2009 at 8:58 PM, Paul Reznicek <maillists at ivsn.com> wrote:
> Hello,
> I observe this error few times a day and have no idea about what is causing
> it, neither under which conditions it happen (Nevow-0.9.33):
>
> Traceback (most recent call last):
> File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line
> 195, in addCallback
> callbackKeywords=kw)
> File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line
> 186, in
> addCallbacks
> self._runCallbacks()
> File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line
> 328, in
> _runCallbacks
> self.result = callback(self.result, *args, **kw)
> File "/usr/local/lib/python2.6/dist-packages/nevow/appserver.py", line
> 163, in
> gotPageContext
> pageContext.tag.renderHTTP, pageContext
> --- <exception caught here> ---
> File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line
> 106, in
> maybeDeferred
> result = f(*args, **kw)
> File "/usr/local/lib/python2.6/dist-packages/nevow/athena.py", line 440,
> in renderHTTP
> messageData = json.parse(requestContent)
> File "/usr/local/lib/python2.6/dist-packages/nevow/json.py", line 228, in
> parse
> value, tokens = parseValue(tokens)
> File "/usr/local/lib/python2.6/dist-packages/nevow/json.py", line 130, in
> parseValue
> if tokens[0] == '{':
> exceptions.IndexError: list index out of range
>
> I asked some user, but nobody observed problems on the user site,
> any idea, what is wrong?
>
> Regards, Paul
>
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20090707/72bc1ec1/attachment.htm
More information about the Twisted-web
mailing list