thanks i posted the code to the wiki and removed my previous message because there was a mistake, (very little mistake) in the code and i dont want people to cut, paste and hate me for years :-) sorry for the mess
On Jun 9, 12:18 am, Philip Jenvey <[EMAIL PROTECTED]> wrote: > On Jun 8, 2007, at 5:31 AM, alain wrote: > > > > > > > hi list... > > i am quite new to pylons, it is great fun learning & using it... > > > on a new install i have this this deprecation warning at startup: > > ===================================== > > paster serve --reload development.ini > > Starting subprocess with file monitor > > /home/alain/pylons_env/lib/python2.4/Pylons-0.9.5-py2.4.egg/pylons/ > > wsgiapp.py:249: DeprecationWarning: SessionMiddleware is moving to > > beaker.middleware in 0.8 > > app = SessionMiddleware(app, config.global_conf, **config.app_conf) > > /home/alain/pylons_env/lib/python2.4/Pylons-0.9.5-py2.4.egg/pylons/ > > wsgiapp.py:254: DeprecationWarning: CacheMiddleware is moving to > > beaker.middleware in 0.8 > > app = CacheMiddleware(app, config.global_conf, **config.app_conf) > > Starting server in PID 7329. > > serving on 0.0.0.0:5000 view athttp://127.0.0.1:5000 > > ======================================== > > what changes in the code is necessary to come back on the good side of > > deprecation world? > > This is actually Pylons code causing the DeprecationWarnings, so > you're stuck with the messages until you upgrade to Pylons 0.9.6 > (which isn't out yet). However python's warnings system provides a > way to filter out specific warnings, with it you can turn these off > if they bother you. > > > > > and as long as i am here, an init.d script to start a pylons app with > > workingenv > > i did it because i could not find any, it works well for me > > You might want to put this on the Pylons wiki: http:// > docs.pythonweb.org/dashboard.action > > -- > 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 -~----------~----~----~----~------~----~------~--~---
