[Zope-dev] Zopeservice and sitecustomize

2004-03-31 Thread Christian Theune
At the beginning of the Month there was a 4 post discussion about this topic. I recently had the same problem as Sake. > os.environ['PYTHONPATH'] = SOFTWARE_HOME < inserted line This line was questioned to be added to zopeservice.py. I tried it and it made my pain go away. I'm us

RE: [Zope-dev] Zopeservice and sitecustomize

2004-03-08 Thread Tim Peters
[Chris McDonough] > ... > From this (and without a Windows machine in front of me), I can't > really make any sense out of why your Activestate Python's > sitecustomize.py is being found instead of Zope's Python > sitecustomize.py if you're running Zope using the Zope Python install. > I suspect it

RE: [Zope-dev] Zopeservice and sitecustomize

2004-03-08 Thread Tim Peters
[Sake] > I have Zope and Activestate Python installed together in the same > win-xp machine. Everything works fine until I've learned that I can > put "sys.setdefaultencoding('cp874')" into sitecustomize.py to > accomodate my native language coding. Since I do that, my Zope 2.7.0 > service can no

Re: [Zope-dev] Zopeservice and sitecustomize

2004-03-08 Thread Chris McDonough
On Mon, 2004-03-08 at 20:54, Sake wrote: > Everything works fine until I've learned that I can put > "sys.setdefaultencoding('cp874')" into sitecustomize.py I assume you created a new sitecustomize.py to hold this in your activestate Python's library directory, then? > I can start it manually

[Zope-dev] Zopeservice and sitecustomize

2004-03-08 Thread Sake
Hi, I have Zope and Activestate Python installed together in the same win-xp machine. Everything works fine until I've learned that I can put "sys.setdefaultencoding('cp874')" into sitecustomize.py to accomodate my native language coding. Since I do that, my Zope 2.7.0 service can no longer