Hi, I am getting the same error, made the middleware changes, but I did notice that pylons.__version__ returns '(not installed)' and I think thats why the new middlewares are not working right (if I comment out the if comparing the version it works, or at least gets past that error)
Now I get AttributeError: 'module' object has no attribute 'stylesheet_link_tag' (but I am about to fix that by changing render to render_mako) That pylons.__version__ thing is strange though. On Aug 25, 10:45 am, "Mike Orr" <[EMAIL PROTECTED]> wrote: > On Sun, Aug 24, 2008 at 11:52 PM, technofreak > > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I upgraded my pylons from 0.9.6.x to 0.9.7 using easy_install, after > > which my existing pylons application fails to work as before. I get > > some deprecation warnings on the shell/terminal from which I do > > `paster serve --reload development.ini`, as well as get a stack trace > > for KeyError: 'wsgiorg.routing_args' in the browser. > > See "What's New in Pylons > 0.9.7".http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779 > > Note that you have to add three middlewares to middleware.py. > > To avoid deprecation errors, at your earliest convenience you'll want > to switch to render_mako, change your WebHelpers imports, and migrate > from the rails helpers to webhelpers.html.tags etc. > > If you get routes not matching, add 'map.minimize = True' to > routing.py, or better yet change your routes to not depend on > minimization. > > -- > Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
