All pastes #46057 Raw Edit

jtate

public text v1 · immutable
#46057 ·published 2006-03-17 20:09 UTC
rendered paste body
17/Mar/2006:15:05:52 HTTP INFO Page handler: <bound method Entitlements.getEntitlements of <raa.modules.entitlements.entitlements.Entitlements object at 0xb6e3f18c>>
Traceback (most recent call last):
  File "/home/jtate/devel/turbogears/thirdparty/cherrypy/cherrypy/_cphttptools.py", line 99, in _run
    self.main()
  File "/home/jtate/devel/turbogears/thirdparty/cherrypy/cherrypy/_cphttptools.py", line 248, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in getEntitlements
  File "/home/jtate/devel/turbogears/turbogears/controllers.py", line 206, in expose
    output = database.run_with_transaction(expose._expose,func, allow_json, allow_json_from_config,*args, **kw)
  File "/home/jtate/devel/turbogears/turbogears/database.py", line 219, in run_with_transaction
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/home/jtate/devel/turbogears/turbogears/controllers.py", line 223, in <lambda>
    lambda _func, allow_json, allow_json_from_config,*args, **kw: _execute_func(
  File "/home/jtate/devel/turbogears/turbogears/controllers.py", line 250, in _execute_func
    return _process_output(output, template, format, content_type, mapping, fragment)
  File "/home/jtate/devel/turbogears/turbogears/controllers.py", line 55, in _process_output
    mapping=mapping, content_type=content_type,fragment=fragment)
  File "/home/jtate/devel/turbogears/turbogears/view/base.py", line 77, in render
    return engine.render(**kw)
  File "/home/jtate/devel/turbogears/plugins/json/turbojson/jsonsupport.py", line 27, in render
    return jsonify.encode(info)
  File "/home/jtate/devel/turbogears/plugins/json/turbojson/jsonify.py", line 76, in encode
    return _instance.encode(obj)
  File "/usr/lib/python2.4/site-packages/simplejson/encoder.py", line 259, in encode
    chunks = list(self.iterencode(o))
  File "/usr/lib/python2.4/site-packages/simplejson/encoder.py", line 212, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.4/site-packages/simplejson/encoder.py", line 185, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.4/site-packages/simplejson/encoder.py", line 220, in _iterencode
    for chunk in self._iterencode_default(o, markers):
  File "/usr/lib/python2.4/site-packages/simplejson/encoder.py", line 226, in _iterencode_default
    newobj = self.default(o)
  File "/home/jtate/devel/turbogears/plugins/json/turbojson/jsonify.py", line 71, in default
    return jsonify(obj)
  File "<string>", line 5, in jsonify
  File "_speedups.pyx", line 376, in _speedups.BaseDispatcher.__getitem__
  File "build/bdist.linux-i686/egg/dispatch/interfaces.py", line 15, in __call__
NoApplicableMethods: ((JSLink(name='js/MochiKit.js'),), {})