All pastes #134569 Raw Edit

Mine

public python v1 · immutable
#134569 ·published 2006-08-16 12:59 UTC
rendered paste body
500 Internal errorThe server encountered an unexpected condition which prevented it from fulfilling the request.Page handler: <bound method Root.verify of <nettnjffno.controllers.root.Root object at 0x2216c50>>Traceback (most recent call last):  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 105, in _run    self.main()  File "/Library/Frameworks/Python.framework/Versions/2.4/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 verify  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/controllers.py", line 331, in expose    output = database.run_with_transaction(  File "<string>", line 5, in run_with_transaction  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/database.py", line 245, in so_rwt    retval = func(*args, **kw)  File "<string>", line 5, in _expose  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/controllers.py", line 348, in <lambda>    mapping, fragment, *args, **kw)))  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/controllers.py", line 372, in _execute_func    output = errorhandling.try_call(func, *args, **kw)  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/errorhandling.py", line 71, in try_call    return func(self, *args, **kw)  File "/Users/roderik/Documents/workspace/nett.njff.no/nettnjffno/controllers/root.py", line 117, in verify    return self.observation(xpoint,ypoint,firstname,lastname,email,county,observation,**kwds)  File "<string>", line 3, in observation  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/controllers.py", line 327, in expose    output = func._expose(func, accept, func._allow_json,  File "<string>", line 5, in _expose  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/controllers.py", line 348, in <lambda>    mapping, fragment, *args, **kw)))  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/controllers.py", line 384, in _execute_func    return _process_output(output, template, format, content_type, mapping, fragment)  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/controllers.py", line 74, in _process_output    fragment=fragment)  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.9a9dev_r1731-py2.4.egg/turbogears/view/base.py", line 131, in render    return engine.render(**kw)  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg/turbokid/kidsupport.py", line 156, in render    return t.serialize(encoding=self.defaultencoding, output=format, fragment=fragment)  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/__init__.py", line 236, in serialize    return serializer.serialize(self, encoding, fragment)  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/serialization.py", line 51, in serialize    text = list(self.generate(stream, encoding, fragment))  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/serialization.py", line 329, in generate    for ev, item in self.apply_filters(stream):  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", line 210, in _coalesce    for ev, item in stream:  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/filter.py", line 21, in transform_filter    for ev, item in apply_matches(stream, template, templates, apply_func):  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/filter.py", line 31, in apply_matches    item = stream.expand()  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", line 99, in expand    for ev, item in self._iter:  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", line 168, in _track    for p in stream:  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", line 210, in _coalesce    for ev, item in stream:  File "/Users/roderik/Documents/workspace/nett.njff.no/nettnjffno/templates/observations.py", line 214, in _pullUnicodeDecodeError: 'ascii' codec can't decode byte 0xf8 in position 1: ordinal not in range(128)Powered by