Hi all,

As the tgext.admin extension is now available for python3, I re-activated it in my project.

Unfortunately, I now get the following exception :

Traceback (most recent call last):
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tg/wsgiapp.py", line 105, in __call__
    response = self.wrapped_dispatch(controller, environ, context)
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tg/wsgiapp.py", line 278, in dispatch
    return controller(environ, context)
File "/home/daccorsi/workspace/protov1/pboard/pboard/lib/base.py", line 30, in __call__
    return TGController.__call__(self, environ, context)
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tg/controllers/dispatcher.py", line 123, in __call__
    response = self._perform_call(context)
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tg/controllers/dispatcher.py", line 100, in _perform_call
    controller._before(*remainder, **params)
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tgext/admin/controller.py", line 101, in _before
    super(self.__class__, self)._before(*args, **kw)
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tgext/crud/controller.py", line 139, in _before
    resource.inject()
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tw2/core/resources.py", line 65, in inject
    cls.req().prepare()
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tw2/core/resources.py", line 269, in prepare
    super(CSSSource, self).prepare()
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tw2/core/resources.py", line 89, in prepare
    super(Resource, self).prepare()
File "/home/daccorsi/workspace/protov1/tg2env/lib/python3.2/site-packages/tw2/core/resources.py", line 72, in prepare
    rl_location = rl['middleware'].config.inject_resources_location
KeyError: 'middleware'

Any idea on what I'm doing wrong ?

Thanks,

Damien

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to