Re: [Zope] strcoll_nocase gone after moving site?
Daniel Dekany wrote at 2005-7-2 09:34 +0200: Friday, July 1, 2005, 8:11:22 PM, Dieter Maurer wrote: Daniel Dekany wrote at 2005-6-30 22:28 +0200: I have to move a Plone site to another server (from some FreeBSD to a new Trustix), while also switching from Zope 2.7.x5 to 2.7.6, and from Python 2.3.x5 to Python 2.3.5. Define locale in your Zope configuration file. Then locale should be imported when Zope is initialized. It was/is set in the etc/zope.conf: locale hu_HU.UTF-8 And exactly this same locale works in C programs, so it is installed on the OS. Maybe, the import order has changed and sequence is now imported before reading the config file (although that would be very astonishing). Anyway, the if modules.has_key('locale') seems stupid. Remove it and file a bug report. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] strcoll_nocase gone after moving site?
Friday, July 1, 2005, 8:11:22 PM, Dieter Maurer wrote: Daniel Dekany wrote at 2005-6-30 22:28 +0200: I have to move a Plone site to another server (from some FreeBSD to a new Trustix), while also switching from Zope 2.7.x5 to 2.7.6, and from Python 2.3.x5 to Python 2.3.5. Define locale in your Zope configuration file. Then locale should be imported when Zope is initialized. It was/is set in the etc/zope.conf: locale hu_HU.UTF-8 And exactly this same locale works in C programs, so it is installed on the OS. -- Best regards, Daniel Dekany ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] strcoll_nocase gone after moving site?
Daniel Dekany wrote at 2005-6-30 22:28 +0200: I have to move a Plone site to another server (from some FreeBSD to a new Trustix), while also switching from Zope 2.7.x5 to 2.7.6, and from Python 2.3.x5 to Python 2.3.5. Define locale in your Zope configuration file. Then locale should be imported when Zope is initialized. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )