On Fri, Mar 26, 2010 at 9:54 PM, mitochromium <[email protected]> wrote: > I'm running through the cookbook, and have been stumped by the startup > script/activate_workingenv.py section. > > I'm assuming (it's not really clear) that I'm supposed to replace > the .wsgi file contents with the startup script, which I did. I then > added activate_workingenv.py to my site-packages. It seems to be > behaving strangely, though. Upon restarting apache and visiting the > page, I get a 500 error. apache error_log states : >> IOError: [Errno 2] No such file or directory: >> '/home/test/./lib/python2.5/setuptools.pth' > > It seems to be concatenating with the "." no matter what, or if I omit > the period, strips root from string. > > e.g. If I edit activate_workingenv.py to something like: > >>package_root = os.path.join(root, '/lib/python' + python_version) > > error_log will state: > >> IOError: [Errno 2] No such file or directory: '/lib/python2.5/setuptools.pth' > > omitting WORKING_ENV/root from the string.
Workingenv is old and no longer supported. Virtualenv has superceded it. The recipe you're looking at may be obsolete. -- 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.
