Re: Nevow + Athena: Unhandled error in Deferred

[email protected]
Newsgroups gmane.comp.python.twisted.web
Message-ID <20090827130610.7475.1241607841.divmod.xquotient.3@localhost.localdomain>
On 26 Aug, 08:33 am, [email protected] wrote:
>Hello,
>I get very often this output (application is using Twisted 8.2.0
>+ Nevow-0.9.33):
>
>   Unhandled error in Deferred:
>   Traceback (most recent call last):
>   Failure: nevow.athena.ConnectionLost: Timeout
>
>But I can't find out, where and how to handle it. In most
>cases it happen, when users leave the site or close the browser,
>so I'd like to suppress this messages, because they only blow up
>the logs without real value for debugging.
>
>Can you give me some hints, please?

It's really hard to tell what that error indicates.  *One* thing it 
definitely indicates, though, is that somewhere in your application a 
Deferred was created and not given an errback.  If you give it an 
errback, then you can handle it.  Enabling Deferred debugging (twistd 
--debug) may help you learn where it was created.

Jean-Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.