Hello Again, I have finished upgrading my app so that the errors no
longer appear and the app works, but I am still getting deprecation
warnings as follows:

C:\Python25\lib\site-packages\webhelpers-0.6.1-py2.5.egg\webhelpers
\rails\__init
__.py:12: DeprecationWarning: The webhelpers.rails package is
deprecated.
- Please begin migrating to the new helpers in webhelpers.html,
  webhelpers.text, webhelpers.number, etc.
- Import url_for() directly from routes, and redirect_to() from
  pylons.controllers.util (if using Pylons) or from routes.
- All Javascript support has been deprecated.  You can write
link_to_remote()
  yourself or use one of the third-party Javascript libraries.
  DeprecationWarning)

As far as I know I am no longer referencing webhelpers.rails, perhaps
one of the generated files needs updating?

Not sure what I am doing wrong to cause the 2nd and 3rd warning.

Cheers
Kurt

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to