Yet another newbie question ... Trying to get Twisted Bugs to run, but no joy so far. Tried both Bugs-0.2.0 and the latest CVS version. Set up the twisted database and checked it to make sure the right tables are there and populated properly by schema.sql. I've also replaced "main" by "app" in bugs.tac, so the server will start up (might be good to fix that in the distro!). In both cases, trying http://localhost:8485 gives a traceback -- here are the log entries (nice logging, by the way! :^) ... --------------------------------------------------------------------- 25/06/2002 14:10 [-] Log opened. 25/06/2002 14:10 [-] twistd 0.18.0-post (/usr/local/bin/python 2.2.1) starting up 25/06/2002 14:10 [-] license user: Nobody <> 25/06/2002 14:10 [-] organization: No Organization 25/06/2002 14:10 [-] reactor class: twisted.internet.default.SelectReactor 25/06/2002 14:10 [-] Loading /usr/local/src/python/Twisted/Bugs-0.2.0/bugs.tac... 25/06/2002 14:10 [-] Enabling Multithreading. 25/06/2002 14:10 [-] twisted.internet.threadtask is deprecated, use .threads instead. 25/06/2002 14:10 [-] Connecting to database: pyPgSQL.PgSQL () {'database': 'twisted'} 25/06/2002 14:10 [-] Loaded. 25/06/2002 14:10 [*Bugs*] twisted.web.server.Site starting on 8485 25/06/2002 14:10 [*Bugs*] Starting factory <twisted.web.server.Site instance at 0x83b40b4> 25/06/2002 14:10 [*Bugs*] Bugs.service.Service (twisted.bugs) starting 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] adbapi connecting: pyPgSQL.PgSQL {'database': 'twisted'} 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] Traceback (most recent call last): 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] File "/usr/local/lib/python2.2/site-packages/twisted/web/server.py", line 152, in process 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] body = resrc.render(self) 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] File "/usr/local/lib/python2.2/site-packages/twisted/web/widgets.py", line 902, in render 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] RenderSession(displayed, request) 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] File "/usr/local/lib/python2.2/site-packages/twisted/web/widgets.py", line 713, in __init__ 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] self.keepRendering() 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] File "/usr/local/lib/python2.2/site-packages/twisted/web/widgets.py", line 782, in keepRendering 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] deferred.unpause() 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] File "/usr/local/lib/python2.2/site-packages/twisted/internet/defer.py", line 161, in unpause 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] self._runCallbacks() 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] File "/usr/local/lib/python2.2/site-packages/twisted/internet/defer.py", line 179, in _runCallbacks 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] callback, args, kw = item[self.isError] 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] exceptions.AttributeError: Deferred instance has no attribute 'isError' 25/06/2002 14:11 [HTTPChannel,0,128.183.52.185] 128.183.52.185 - - [25/Jun/2002:18:11:38 +0000] "<GET / HTTP/1.1>" 500 11833 "-" "Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020606" --------------------------------------------------------------------- TIA for any help! -- Steve. Stephen C. Waterbury http://misspiggy.gsfc.nasa.gov/people/waterbug.html
participants (1)
-
Steve Waterbury