On Tuesday 13 May 2008 08:09, Andreas Jung wrote:
--On 13. Mai 2008 08:14:05 +0100 Garry Saddington
<garry@schoolteachers.co.uk> wrote:
Does anyone have any experience running Zope on Centos 5. I have some Python scripts which just will not work. They work on Windows, Ubuntu, and SuSe but just don't do anything on Centos. I have tried various Zope 2.9.0 and 2.9.6-final, various psycopg connectors and Postgres 8.1 and 8.3. Here is an example script that works everywhere except Centos(excuse email formatting):
Such functionality should be (and is) basically independent of the OS. If there is an issue, debug the script step-by-step using pdb. I have now traced it to the wrong datestyle in zope.conf - a new server and only half the brain awake!. It was set to US and we use international so the method did not do anything because the entered dates were presented wrongly to the database. Thanks anyway Garry