Re: [Zope] Periodic task in a Zope 2 environment

2009-02-18 Thread Chris Withers
Marco Bizzarri wrote: > Thanks, Chris, but I do not want to use cron... Why not? Why re-invent the wheel in a more fragile and less tested way? > also because I can end > in environments where there is no cron ;) Such as? On *nix, you have cron. On MacOS, you have cron. On Windows, you have Sc

[Zope] Weird "undefined symbol: PyUnicodeUCS{2|4}_AsEncodedString" errors

2009-02-18 Thread Chris Withers
Hi All, I wonder if anyone has seen errors like these before... Scenario is as follows, two Zope instances and a zeo server all running from the debian zope2.9 packages. All the control scripts for these instances fail with the following error when used: Traceback (most recent call last): F

Re: [Zope] Weird "undefined symbol: PyUnicodeUCS{2|4}_AsEncodedString" errors

2009-02-18 Thread Janko Hauser
You probably have two different versions of Python installed. And probably this is a 64-bit system at least in parts. Check the python path cron uses and compare to the path the instance is run with. HTH, __Janko Am 18.02.2009 um 11:37 schrieb Chris Withers: Hi All, I wonder if anyone

Re: [Zope] Weird "undefined symbol: PyUnicodeUCS{2|4}_AsEncodedString" errors

2009-02-18 Thread Chris Withers
Chris Withers wrote: > ImportError: /usr/lib/zope2.9/lib/python/persistent/cPersistence.so: > undefined symbol: PyUnicodeUCS4_AsEncodedString > ImportError: /opt/Zope-2.9/lib/python/persistent/cPersistence.so: > undefined symbol: PyUnicodeUCS2_AsEncodedString Having had a bit of a google, I fou

Re: [Zope] Weird "undefined symbol: PyUnicodeUCS{2|4}_AsEncodedString" errors

2009-02-18 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18.02.2009 12:00 Uhr, Chris Withers wrote: > Chris Withers wrote: >> ImportError: /usr/lib/zope2.9/lib/python/persistent/cPersistence.so: >> undefined symbol: PyUnicodeUCS4_AsEncodedString > >> ImportError: /opt/Zope-2.9/lib/python/persistent/cPer

[Zope] Filesystem Directory View Child Folders

2009-02-18 Thread Garito
Hi! I have a filesystem directory view that has 2 child folders But when I switch to debug mode off the 2 folders disappears Is this the normal FDV behaviour or I have any kind of problem? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito Zope Smart Manager http://blogs.sistes.net/Garito/670

Re: [Zope] Weird "undefined symbol: PyUnicodeUCS{2|4}_AsEncodedString" errors

2009-02-18 Thread Marco Bizzarri
On Wed, Feb 18, 2009 at 12:00 PM, Chris Withers wrote: > Chris Withers wrote: >> ImportError: /usr/lib/zope2.9/lib/python/persistent/cPersistence.so: >> undefined symbol: PyUnicodeUCS4_AsEncodedString > >> ImportError: /opt/Zope-2.9/lib/python/persistent/cPersistence.so: >> undefined symbol: PyUni

Re: [Zope] Weird "undefined symbol: PyUnicodeUCS{2|4}_AsEncodedString" errors

2009-02-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Bizzarri wrote: > On Wed, Feb 18, 2009 at 12:00 PM, Chris Withers > wrote: >> Chris Withers wrote: >>> ImportError: /usr/lib/zope2.9/lib/python/persistent/cPersistence.so: >>> undefined symbol: PyUnicodeUCS4_AsEncodedString >>> ImportError: /op