[Twisted-web] Nevow - 'connection lost' javascript alert on page reloads

Sridhar R sridharinfinity at gmail.com
Wed Nov 10 07:13:22 MST 2004


I have even tried with the HEAD revision from subversion of Nevow, but
the problem still persists!

On page reloads (on loads), I get this javascript alert
"The connection to the remote server was lost. The page may fail to
work correctly. Reloading the page may fix the problem."

Looking at liveevil.js
            if (xmlhttp.responseText) {
                connect(outputNum + 1)
                eval(xmlhttp.responseText)
            } else {
                alert('The connection to the remote server was lost.
The page may fail to work correctly. Reloading the page may fix the
problem.');
            }

xmlhttp.responseText is null !!  It is supposed to be null only
connection problems.  So isn't this a bug?

Here is the project that uses Nevow and gets the above problem
http://svn.berlios.de/viewcvs/codehack/trunk/

Nevow code is kept under
trunk/lib/codehack/server/

Service code is at
trunk/lib/codehack/server/gateway.py

.tac is here
trunk/startserver.tac

-- 
Sridhar R - http://cs.annauniv.edu/~rsridhar
Blog: http://www.livejournal.com/~sridharinfinity



More information about the Twisted-web mailing list