There seems to be something wrong in your code. Please paste the code so that we can take a look.
Regards, Alaa Salman On 5/25/07, Denny <[EMAIL PROTECTED]> wrote: > > > I suddenly got the below traceback when I attempted to browse to my > application's main page. > > I'm sure I've done something wrong, but I can't find ANY references to > my code in this traceback!! Can someone give me a clue??? > > When I run start-application.py that seems to go OK, this traceback > happens when I browse to http://localhost:8080 > > thanks, > Denny > > ============================ > > 2007-05-24 15:43:20,664 cherrypy.msg INFO HTTP: Serving HTTP on > http://localhost:8080/ > 2007-05-24 15:43:41,504 cherrypy.msg INFO HTTP: Page handler: <bound > method Root.index of <research.controllers.Root object at 0x418a6bcc>> > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/ > cherrypy/_cphttptools.py", line 105, in _run > self.main() > File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/ > cherrypy/_cphttptools.py", line 254, in main > body = page_handler(*virtual_path, **self.params) > File "<string>", line 3, in index > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/controllers.py", line 334, in expose > output = database.run_with_transaction( > File "<string>", line 5, in run_with_transaction > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/database.py", line 302, in so_rwt > retval = func(*args, **kw) > File "<string>", line 5, in _expose > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/controllers.py", line 351, in <lambda> > mapping, fragment, args, kw))) > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/controllers.py", line 378, in _execute_func > output = errorhandling.try_call(func, *args, **kw) > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/errorhandling.py", line 73, in try_call > return func(self, *args, **kw) > File "<string>", line 3, in index > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/controllers.py", line 173, in validate > return errorhandling.run_with_errors(errors, func, *args, **kw) > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/errorhandling.py", line 108, in run_with_errors > return dispatch_error(self, func, errors, None, *args, **kw) > File "<string>", line 5, in dispatch_error > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/errorhandling.py", line 63, in adaptor > args, kw, 1) > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/util.py", line 215, in inject_args > args, kw = inject_arg(func, argname, argval, args, kw, start) > File "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/ > turbogears/util.py", line 201, in inject_arg > argnames, defaults = getargspec(func)[::3] > File "/usr/lib/python2.4/inspect.py", line 670, in getargspec > raise TypeError('arg is not a Python function') > TypeError: arg is not a Python function > Request Headers: > Content-Length: > ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 > USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.11) > Gecko/20070327 Ubuntu/dapper-security Firefox/1.5.0.11 > CONNECTION: keep-alive > HOST: localhost:8080 > ACCEPT: text/xml,application/xml,application/xhtml+xml,text/ > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 > Remote-Addr: 127.0.0.1 > ACCEPT-LANGUAGE: en-us,en;q=0.5 > Content-Type: > Remote-Host: 127.0.0.1 > ACCEPT-ENCODING: gzip,deflate > KEEP-ALIVE: 300 > 127.0.0.1 - - "GET / HTTP/1.1" 500 3262 "" "Mozilla/5.0 (X11; U; Linux > i686; en-US; rv:1.8.0.11) Gecko/20070327 Ubuntu/dapper-security > Firefox/1.5.0.11" > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

