On Sun, Oct 4, 2009 at 8:42 PM, Sudhir Bala <[email protected]> wrote: > Hi , Kumar and I are working on this together. thanks for your email. we > had 0.9.6 env and in the process of creating a template for the current > project to be deployed to other machines, we ran python setup.py develop > but as root !!! this actually updated some of the libraries to 0.9.7. > > we followed the below link in upgrading our 0.9.6 to 0.9.7 but we are unable > to create any new projects > > http://wiki.pylonshq.com/display/pylonsdocs/Upgrading
As I said repeatedly, please create a new virtualenv and install Pylons 0.9.7 into it. If you have any system-wide copies of Pylons (as root), delete them first. These could be the cause of your problem! Inconsistencies between package versions, or partially-installed libraries, can cause the sort of strange errors you're experiencing. If your application then doesn't run, you'll have to upgrade it to 0.9.7. You can ignore any deprecation warnings for now. (But your application will be incompatible with Pylons 1.0 and WebHelpers 1.0 when they are released.) You don't need to create any applications at this point; first get your existing application running. You don't create a template for an application to deploy it. The only reason to create a template from an application is if you intend to create several other applications similar to it. But that has nothing to do with deployment. To deploy an application you can (1) copy the application directory to the server, (2) check it into a version control system and check it out on the server, or (3) create a Python egg and copy that to the server. In any case, on the server you create a virtualenv for it, and "python setup.py develop" the application into the virtualenv. -- 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 -~----------~----~----~----~------~----~------~--~---
