Hi
i am trying to run my application using the turbogears package that comes
with ubuntu 10.10
i am able to setup my project and start it successfully. but when I try to
access any page/URL it gives the following error
it seems to be a problem with the new version of pylons :- pylons 0.10
if i install pylons 0.9.7 , it works fine.
is it a problem with the pylons 0.10 version?
Is it some other component of TG2 that is trying to use the buffet object?
what can i do to make my application work with the default TG2 package from
ubuntu repository
Thanks
1.
Error - <type 'exceptions.TypeError'>: No object (name: buffet) has
been registered for this thread
2.
URL: http://brian-desktop:8081/get_nav_nodes
3.
File '/usr/lib/pymodules/python2.6/weberror/errormiddleware.py', line
162 in __call__
4.
app_iter = self.application(environ, sr_checker)
5.
File '/usr/lib/pymodules/python2.6/tg/configuration.py', line 656 in
wrapper
6.
return app(environ, start_response)
7.
File '/usr/lib/pymodules/python2.6/tg/configuration.py', line 556 in
remover
8.
return app(environ, start_response)
9.
File '/usr/lib/pymodules/python2.6/repoze/tm/__init__.py', line 19 in
__call__
10.
result = self.application(environ, save_status_and_headers)
11.
File '/usr/lib/pymodules/python2.6/repoze/who/middleware.py', line 107
in __call__
12.
app_iter = app(environ, wrapper.wrap_start_response)
13.
File '/usr/lib/pymodules/python2.6/tw/core/middleware.py', line 36 in
__call__
14.
return self.wsgi_app(environ, start_response)
15.
File '/usr/lib/pymodules/python2.6/tw/core/middleware.py', line 59 in
wsgi_app
16.
resp = req.get_response(self.application)
17.
File '/usr/lib/pymodules/python2.6/webob/request.py', line 919 in
get_response
18.
application, catch_exc_info=False)
19.
File '/usr/lib/pymodules/python2.6/webob/request.py', line 887 in
call_application
20.
app_iter = application(self.environ, start_response)
21.
File '/usr/lib/pymodules/python2.6/tw/core/resource_injector.py', line
67 in _injector
22.
resp = req.get_response(app)
23.
File '/usr/lib/pymodules/python2.6/webob/request.py', line 919 in
get_response
24.
application, catch_exc_info=False)
25.
File '/usr/lib/pymodules/python2.6/webob/request.py', line 887 in
call_application
26.
app_iter = application(self.environ, start_response)
27.
File '/usr/lib/pymodules/python2.6/beaker/middleware.py', line 73 in
__call__
28.
return self.app(environ, start_response)
29.
File '/usr/lib/pymodules/python2.6/beaker/middleware.py', line 152 in
__call__
30.
return self.wrap_app(environ, session_start_response)
31.
File '/usr/lib/pymodules/python2.6/routes/middleware.py', line 131 in
__call__
32.
response = self.app(environ, start_response)
33.
File '/usr/lib/pymodules/python2.6/pylons/wsgiapp.py', line 124 in
__call__
34.
response = self.dispatch(controller, environ, start_response)
35.
File '/usr/lib/pymodules/python2.6/pylons/wsgiapp.py', line 327 in
dispatch
36.
return controller(environ, start_response)
37.
38.
File '/opt/ab/src/ab/web/ab/ab/lib/base.py', line 32 in __call__
39.
return TGController.__call__(self, environ, start_response)
40.
File '/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line
225 in __call__
41.
response = self._dispatch_call()
42.
File '/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line
176 in _dispatch_call
43.
response = self._inspect_call(func)
44.
File '/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line
108 in _inspect_call
45.
result = self._perform_call(func, args)
46.
File '/usr/lib/pymodules/python2.6/tg/controllers.py', line 857 in
_perform_call
47.
self, controller, params, remainder=remainder)
48.
File '/usr/lib/pymodules/python2.6/tg/controllers.py', line 182 in
_perform_call
49.
response = self._render_response(controller, output)
50.
File '/usr/lib/pymodules/python2.6/tg/controllers.py', line 317 in
_render_response
51.
buffet = pylons.buffet._current_obj()
52.
File '/usr/lib/pymodules/python2.6/pylons/legacy.py', line 166 in
_current_obj
53.
return StackedObjectProxy._current_obj(self, *args, **kwargs)
54.
File '/usr/lib/pymodules/python2.6/paste/registry.py', line 197 in
_current_obj
55.
'thread' % self.____name__)
56.
TypeError: No object (name: buffet) has been registered for this
thread
--
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?hl=en.