On Jan 16, 2007, at 9:59 AM, [EMAIL PROTECTED] wrote:


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)


On second look you have:

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')

One paste path,

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')

Then the egg paste paths.

What is in '/www/virtual/python.itl.pl/python/paste'? Sounds like it is being loaded first -- I suspect it's a symlink to the '/usr/lib/ python2.4/site-packages/paste' you're seeing.

Otherwise I'm stumped =]

--
Philip Jenvey



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to