quankim277 / appengine-monkey

Automatically exported from code.google.com/p/appengine-monkey
0 stars 0 forks source link

wsgiorg.routing_args not passed into pylons app #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps reproducing the problem:
1. Creating 'MyApp' according to the wiki description
2. Creating a new controller (and removing index.html from public catalog)
3. Calling the new controller by url

The error occurs with traceback:

  File
"/home/GAE/appengine-monkey/MyApp/app/lib/python/weberror/errormiddleware.py",
line 156, in __call__
    return self.application(environ, start_response)
  File "/home/GAE/appengine-monkey/MyApp/app/lib/python/pylons/wsgiapp.py",
line 124, in __call__
    controller = self.resolve(environ, start_response)
  File "/home/GAE/appengine-monkey/MyApp/app/lib/python/pylons/wsgiapp.py",
line 254, in resolve
    match = environ['wsgiorg.routing_args'][1]
KeyError: 'wsgiorg.routing_args'

I'm using the trunk version of appengine-monkey with pylons 0.9.7.

It seems like the routing_args are not passet to pylons app.

Original issue reported on code.google.com by radoslaw...@gmail.com on 6 Jul 2009 at 8:01

GoogleCodeExporter commented 8 years ago
Sorry, this ticket is invalid. I didn't noticed that project geneted by 
command: 

$ paster create --template=pylons MyApp sqlalchemy=false

doesn't include RoutesMiddleware (it has to be added manually in
MyApp/app/myapp/config/middleware.py). After adding it - it works fine. The 
ticket
may be closed.

Original comment by radoslaw...@gmail.com on 6 Jul 2009 at 9:13