I have a problem with pylons and mod_fcgi/apache - http://www.python.itl.pl/pylons/ - something (pylons ?) is importing older paste from pythons /site-pacakges/ instead /www/virtual/python.itl.pl/python/Paste-1.1.1-py2.4.egg. It works for other packages but for some reason it doesn't work with paste (I've tried few cheats and symlinks with no success)
fcgi file looks like: ######################## #!/usr/bin/python import sys, os sys.path.insert(0, '/www/virtual/python.itl.pl/python') sys.path.insert(0, '/www/virtual/python.itl.pl/python/flup') sys.path.insert(0, '/www/virtual/python.itl.pl/python/FormEncode-0.6-py2.4.egg') sys.path.insert(0, '/www/virtual/python.itl.pl/python/paste') sys.path.insert(0, '/www/virtual/python.itl.pl/python/Paste-1.1.1-py2.4.egg') sys.path.insert(0, '/www/virtual/python.itl.pl/python/PasteDeploy-1.1-py2.4.egg') sys.path.insert(0, '/www/virtual/python.itl.pl/python/PasteScript-1.1-py2.4.egg') sys.path.insert(0, '/www/virtual/python.itl.pl/python/Cheetah-1.0-py2.4-linux-i686.egg') sys.path.insert(0, '/www/virtual/python.itl.pl/python/Routes-1.6.2-py2.4.egg') sys.path.insert(0, '/www/virtual/python.itl.pl/python/WebHelpers-0.2.2-py2.4.egg') sys.path.insert(0, '/www/virtual/python.itl.pl/python/Pylons-0.9.4.1-py2.4.egg') sys.path.insert(0, '/www/virtual/python.itl.pl/helloworld') from paste.deploy import loadapp wsgi_app = loadapp('config:/www/virtual/python.itl.pl/helloworld/development.ini') # Deploy it using FastCGI if __name__ == '__main__': from flup.server.fcgi import WSGIServer WSGIServer(wsgi_app).run() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---