Stickum

Praise Stickum.
Python code pasted @ 21:52 on Tue, 17 Jul 07
Syntaxed up Plain Text
1
500 Internal error
2
3
The server encountered an unexpected condition which prevented it from fulfilling the request.
4
5
Page handler: <bound method Root.feedtest2 of <feedtest.controllers.Root object at 0x8bf520c>>
6
Traceback (most recent call last):
7
  File "/home/chris/lib/tg-py25/lib/python2.5/CherryPy-2.2.1-py2.5.egg/cherrypy/_cphttptools.py", line 105, in _run
8
    self.main()
9
  File "/home/chris/lib/tg-py25/lib/python2.5/CherryPy-2.2.1-py2.5.egg/cherrypy/_cphttptools.py", line 254, in main
10
    body = page_handler(*virtual_path, **self.params)
11
  File "<string>", line 3, in feedtest2
12
  File "/home/chris/tmp/build/turbogears/branches/1.0/turbogears/controllers.py", line 344, in expose
13
    *args, **kw)
14
  File "<string>", line 5, in run_with_transaction
15
  File "/home/chris/tmp/build/turbogears/branches/1.0/turbogears/database.py", line 307, in so_rwt
16
    retval = func(*args, **kw)
17
  File "<string>", line 5, in _expose
18
  File "/home/chris/tmp/build/turbogears/branches/1.0/turbogears/controllers.py", line 359, in <lambda>
19
    mapping, fragment, args, kw)))
20
  File "/home/chris/tmp/build/turbogears/branches/1.0/turbogears/controllers.py", line 399, in _execute_func
21
    return _process_output(output, template, format, content_type, mapping, fragment)
22
  File "/home/chris/tmp/build/turbogears/branches/1.0/turbogears/controllers.py", line 86, in _process_output
23
    fragment=fragment)
24
  File "/home/chris/tmp/build/turbogears/branches/1.0/turbogears/view/base.py", line 131, in render
25
    return engine.render(**kw)
26
  File "/home/chris/lib/tg-py25/lib/python2.5/Genshi-0.4.2-py2.5.egg/genshi/template/plugin.py", line 99, in render
27
    return self.transform(info, template).render(**kwargs)
28
  File "/home/chris/lib/tg-py25/lib/python2.5/Genshi-0.4.2-py2.5.egg/genshi/core.py", line 153, in render
29
    generator = self.serialize(method=method, **kwargs)
30
  File "/home/chris/lib/tg-py25/lib/python2.5/Genshi-0.4.2-py2.5.egg/genshi/core.py", line 189, in serialize
31
    return get_serializer(method, **kwargs)(_ensure(self))
32
  File "/home/chris/lib/tg-py25/lib/python2.5/Genshi-0.4.2-py2.5.egg/genshi/output.py", line 69, in get_serializer
33
    'text':  TextSerializer}[method.lower()]
34
KeyError: 'html default'