On Mon, Nov 10, 2008 at 7:39 AM, campos <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm just following http://code.google.com/p/appengine-monkey/wiki/Pylons > to create a pylons featured GAE application. One thing I changed is > that I specified the pylons version to 0.9.6.2 because pylons==0.9.7 > requires webob==0.9.4, but latest GAE only provides webob==0.9.0, > there's a conflict on the version.
I noticed that last night. My solution was to delete WebOb in the SDK, but of course you can't do that on the server. So I think it's actually importing the older WebOb. That's compatible enough that it's working in my application, but it needs to be addressed. The proper strategy is to put its directory at the front of sys.path before webob is imported, but I think the log message said webob was already imported at the midpoint of paste-deploy.py. I left it at that to figure out later. > So I used pylons 0.9.6.2, and modified setup.py to set the > pylons>=0.9.6.2 to pylons==0.9.6.2 so as not to get the latest pylons > version. Then everything works fine on my local machine. But when I > upload the app onto GAE, there's an error. I have not tried 0.9.6.2 on App Engine, so while it probably works as well as 0.9.7rc2, I don't know for sure. You do need to install your application via "python setup.py develop" or adding its directory to sys.path, as Walter suggested. The instructions in the HOWTO actually have you do it both ways, which is redundant but makes sure it gets found one way or the other. There are problems with zip imports I'm still unravelling, so for now make sure all your eggs are installed as directories. -- 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 -~----------~----~----~----~------~----~------~--~---
