On Feb 5, 2007, at 4:36 PM, Mike Orr wrote:

>
> I installed a fresh copy of Pylons 0.9.4.1 with Paste 1.2.1 today and
> began creating an app, and the console doth say:
>
> $ paster serve test.ini
> Starting server in PID 8381.
> serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
> /home/mso/lib/eggs/lib/python2.4/Pylons-0.9.4.1-py2.4.egg/pylons/ 
> wsgiapp.py:101:
> DeprecationWarning: paste.wsgiwrappers.settings is deprecated: Please
> use paste.wsgiwrappers.WSGIRequest.defaults instead
>   registry.register(paste.wsgiwrappers.settings, self.settings)
>
> Earlier I got a second DeprecationWarning too, but it cleared up when
> I fixed a syntax error in my controller:
>
> Debug at: http://127.0.0.1:5000/_debug/view/1170721453
> /home/mso/lib/eggs/lib/python2.4/Paste-1.2.1-py2.4.egg/paste/ 
> registry.py:306:
> DeprecationWarning: paste.wsgiwrappers.settings is deprecated: Please
> use paste.wsgiwrappers.WSGIRequest.defaults instead
>   stacked._push_object(obj)
>
> It looks like Pylons is out of sync with Paste.

Yup. Paste 1.2.1 was just released the other day.

Pylons 0.9.4.1 requires Paste >= 1.1 or something along those lines.  
With that requirement, easy_install will always pull the latest Paste.

I think these are the only 2 warnings you'll see, and you'll only see  
them the first time the functions are called, like any  
DeprecationWarning. They're just warnings, nothing should actually  
break.

You could explicitly downgrade to Paste 1.1.1, or even switch all  
DeprecationWarnings (or just these specific warnings) off.  
Alternatively you could also use Pylons trunk (which is already  
adjusted for Paste 1.2.1), but I wouldn't recommend it unless you're  
up for the cutting edge.

--
Philip Jenvey



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