I'm finally doing well, things are happening and then this error----I'm
not even sure where to start debugging it. The file at the end of the
error doesn't even exist....all that exists is a .pyc compiled by kid
(I assume). I don't think I've changed my template for a while
though....
Thanks for any help!
500 Internal error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Page handler: <bound method Root.pattern_match of
<xstart.controllers.Root object at 0xb7525f8c>>
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 pattern_match
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 273, in expose
output = database.run_with_transaction(
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/database.py",
line 221, in run_with_transaction
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 290, in <lambda>
mapping, fragment, *args, **kw)))
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 324, in _execute_func
return _process_output(output, template, format, content_type,
mapping, fragment)
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 65, in _process_output
fragment=fragment)
File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/view/base.py",
line 131, in render
return engine.render(**kw)
File
"/usr/lib/python2.4/site-packages/TurboKid-0.9.5-py2.4.egg/turbokid/kidsupport.py",
line 156, in render
return t.serialize(encoding=self.defaultencoding, output=format,
fragment=fragment)
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/__init__.py",
line 236, in serialize
return serializer.serialize(self, encoding, fragment)
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/serialization.py",
line 51, in serialize
text = list(self.generate(stream, encoding, fragment))
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/serialization.py",
line 327, in generate
for ev, item in self.apply_filters(stream):
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/serialization.py",
line 84, in balancing_filter
for ev, item in stream:
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/pull.py",
line 206, in _coalesce
for ev, item in stream:
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/filter.py",
line 21, in transform_filter
for ev, item in apply_matches(stream, template, templates,
apply_func):
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/filter.py",
line 31, in apply_matches
item = stream.expand()
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/pull.py",
line 95, in expand
for ev, item in self._iter:
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/pull.py",
line 164, in _track
for p in stream:
File
"/usr/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/pull.py",
line 206, in _coalesce
for ev, item in stream:
File "/home/me/ws/xstart/xstart/templates/pattern_match.py", line
112, in _pull
KeyError: 5
Powered by CherryPy 2.2.1
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---