On Wednesday, September 29, 2010 17:33:27 Juan Antonio Ibáñez wrote: > I wanted to clarify deployment. Now, the problem I have, if I deploy > my egg file (myapp-0.1dev-py2.4.egg) I get into apache error log: > > OSError: [Errno 20] Not a directory: '/usr/local/pythonenv/BASELINE/ > lib/python2.4/site-packages/myapp-0.1dev-py2.4.egg/myapp/controllers' > > If I rename myapp-0.1dev-py2.4.egg to myapp.egg the it works... why?
I don't know and doubt it somewhat. Eggs aren't just picked up, they are referred to in easy_install.pth, and simply renaming them won't work unless that is corrupted. You also should add the zip_safe=False flag to the setup.py of your application. I'm a bit aghast why that is not part of the default one generated by quickstart. Diez -- You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en.

