Hi - For as long as i've been using CP I've noticed that
the traceback
line numbers are not correct - the number quoted in the
traceback is
always a bit more than it really is.
So for instance I have a traceback right now ...
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/cherrypy/_cphttptool
s.py",
line 271, in run
main()
File
"/usr/lib/python2.4/site-packages/cherrypy/_cphttptool
s.py",
line 502, in main
body = page_handler(*args, **cherrypy.request.paramMap)
File
"/var/www/localhost/dev8.foo.com/htdocs/LearnerScreen.
py", line
490, in insert
objLEALEETemplate.LRNUpdateForm.action =
"/learner/insert?source_url_alias=" +
source_url_alias
File
"/var/www/localhost/dev8.foo.com/htdocs/pyMeldLite.py
", line
709, in __getattr__
raise AttributeError, "No element or attribute
named %r" % name
AttributeError: No element or attribute named
'LRNUpdateForm'
... the problem is legitimate but that line 490 is actually
line 480 !
I'm sure it's something i'm doing or everyone would be
mentioning it
but it's happened in two different environments and I'm
puzzled as to
what it can be ?
Any thoughts ?
thanks
Richard.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|