Re: [Zope] "The Zope Book"

2005-04-24 Thread Dieter Maurer
Lennart Regebro wrote at 2005-4-8 10:59 +0200: > ... >On Apr 8, 2005 8:48 AM, Chris Withers <[EMAIL PROTECTED]> wrote: > ... >> Which "The Zope Book" are you referring to? >> >> The 2.6 one on Zope.org? >> The 2.7 one on Plope.com? >> The 3.whatever one somewhere-I-don't-know? > >I would expect it

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
One last note from myside. I have experiences with unicode since over 7 years while working with multilingual documents in the e-publishing business. It is good practice to perform *any* unicode related work *only* on unicode datatypes (Python unicode strings!!!) and *not* some byte-encoded unic

Re: [Zope] Sequence sorting module from a Python script

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 17:36 Uhr -0400 Leticia Larrosa <[EMAIL PROTECTED]> wrote: sort_on =(('self', test, 'desc')) As documented the 'sort_on_ parameter must be a *sequence* of sorting definitions and a *single* sorting definition. This should work: sort_on =(('self', test, 'desc'),) -a

Re: [Zope] Sequence sorting module from a Python script

2005-04-24 Thread David H
Leticia Larrosa wrote: Hi all:   I want to order a sequence using the Sequence sorting module from a Python script. I have the following code: " seq = [['Bruzon', 'CUB'], ['Anand', 'IND'], ['Kasparov', 'RUS']] def test(oneElem, twoElem):     if oneElem[0] == twoElem[0]:     ret

[Zope] Re: Zope Starting Error

2005-04-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Goldberg wrote: > Can someone please help me resolve the following error: > > Error: The object named by "DBTab.ClassFactories.autoClassFactory" could not > be imported > (line 903 in file:///home/jgoldberg/my_zope/etc/zope.conf) > For help,

[Zope] zope-2.8, i18n and global locales catalog

2005-04-24 Thread Sascha Ottolski
Hi, does anybody know if and how I could build a global locales catalog in zope-2.8? I'm already through the i18n chapter in the zope-3 book, and think to know how to set one up on a per product level. I made a locales dir in my INSTANCE_HOME, but that doesn't seem to do the trick. However, I'm

[Zope] Sequence sorting module from a Python script

2005-04-24 Thread Leticia Larrosa
Hi all:   I want to order a sequence using the Sequence sorting module from a Python script. I have the following code: "seq = [['Bruzon', 'CUB'], ['Anand', 'IND'], ['Kasparov', 'RUS']]def test(oneElem, twoElem):     if oneElem[0] == twoElem[0]:     return 0    elif oneElem[0] > twoEl

[Zope] Sequence sorting module from a Python script

2005-04-24 Thread Leticia Larrosa
Hi all: I want to order a sequence using the Sequence sorting module from a Python script. I have the following code: " seq = [['Bruzon', 'CUB'], ['Anand', 'IND'], ['Kasparov', 'RUS']] def test(oneElem, twoElem): if oneElem[0] == twoElem[0]: return 0 if oneElem[0] > twoElem[0]:

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 21:31 Uhr +0200 Daniel Dekany <[EMAIL PROTECTED]> wrote: Yeah, I tried to use that earlier, but as I said for many times here, it can't sort utf-8 encoded strings, despite that I have set the "global locale" to something.utf8, certainly because Python locale.strcoll

[Zope] Re: developer docs

2005-04-24 Thread Simon Michael
Since it wasn't mentioned: you may want to check out http://zopewiki.org/ZopeDevelopment and http://zopewiki.org/DiskBasedProduct . Pretty much all the known relevant links should be there, and if you know others, please add them. ___ Zope maillist -

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
Sunday, April 24, 2005, 7:22:42 PM, Andreas Jung wrote: > > > --On Sonntag, 24. April 2005 18:34 Uhr +0200 Daniel Dekany > <[EMAIL PROTECTED]> wrote: > >> >> Maybe *you* don't get the point. Python has a "virtual machine level" >> setting that specifies the locale and encoding (the charset). You

[Zope] Re: Does anyone care whether we deprecate ZClasses?

2005-04-24 Thread Simon Michael
Sascha Welter wrote: If the "new stuff" is so great and easy to use, it should also be easy to put some documentation of it in Hear, hear. +1 insightful. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts o

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 18:34 Uhr +0200 Daniel Dekany <[EMAIL PROTECTED]> wrote: Maybe *you* don't get the point. Python has a "virtual machine level" setting that specifies the locale and encoding (the charset). You can set it for example like: locale.setlocale('hu_HU', 'ISO-8859-2'). And

Re: [Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 18:26 Uhr +0200 Max M <[EMAIL PROTECTED]> wrote: Yes. I was thinking in the line of a monkeypatch of the sort method, that could be used in eg. Plone. It should be very possible for it to look up the charset under properties, and decode strings from that before sortin

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
Sunday, April 24, 2005, 6:05:42 PM, Andreas Jung wrote: > > > --On Sonntag, 24. April 2005 17:45 Uhr +0200 Daniel Dekany > <[EMAIL PROTECTED]> wrote: > >> Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote: >> First of all, in this thread I don't care whose mistake it is. My >> concern is if

[Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Max M
Andreas Jung wrote: Daniel Dekany wrote: Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote: Zope itself gives a method for sorting strings: DocumentTemplate.sequence.sort. Many of the products relies on that for sorting. And that sorts UTF-8 incorrectly Then it will probably be easiest to ju

Re: [Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 18:01 Uhr +0200 Max M <[EMAIL PROTECTED]> wrote: Daniel Dekany wrote: Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote: Zope itself gives a method for sorting strings: DocumentTemplate.sequence.sort. Many of the products relies on that for sorting. And that sort

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 17:45 Uhr +0200 Daniel Dekany <[EMAIL PROTECTED]> wrote: Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote: First of all, in this thread I don't care whose mistake it is. My concern is if I can use Zope with UTF-8 (in fact, Plone) in reality or not. Assume that

[Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Max M
Daniel Dekany wrote: Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote: Zope itself gives a method for sorting strings: DocumentTemplate.sequence.sort. Many of the products relies on that for sorting. And that sorts UTF-8 incorrectly Then it will probably be easiest to just patch it up to so

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote: > > > --On Sonntag, 24. April 2005 16:03 Uhr +0200 Daniel Dekany > <[EMAIL PROTECTED]> wrote: > >> Sunday, April 24, 2005, 2:36:24 PM, Andreas Jung wrote: >> >>> --On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany >>> <[EMAIL PROTECTE

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 16:03 Uhr +0200 Daniel Dekany <[EMAIL PROTECTED]> wrote: Sunday, April 24, 2005, 2:36:24 PM, Andreas Jung wrote: --On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany <[EMAIL PROTECTED]> wrote: I have a Zope instance that uses utf-8 for everything. Since Python/

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
Sunday, April 24, 2005, 2:36:24 PM, Andreas Jung wrote: > --On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany > <[EMAIL PROTECTED]> wrote: > >> I have a Zope instance that uses utf-8 for everything. Since >> Python/Zope/etc practically doesn't support utf-8, > > Please explain in which sens

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany <[EMAIL PROTECTED]> wrote: I have a Zope instance that uses utf-8 for everything. Since Python/Zope/etc practically doesn't support utf-8, Please explain in which sense Zope would not support utf-8. For your information: Plone has UTF8

[Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
I have a Zope instance that uses utf-8 for everything. Since Python/Zope/etc practically doesn't support utf-8, I would like to switch over to ISO-8859-2 (for everything). The problem is that this instance is a fat site that is on-line for several months, so I have to convert the strings stored ins

[Zope] CMF 1.5.1 Released

2005-04-24 Thread Jens Vagelpohl
Zope Corporation is pleased to announce the release of version 1.5.1 of the Zope Content Management Framework (CMF). This release marks the latest stable release in the CMF 1.5 series and should be suitable for production use. What is the CMF? The Zope Content Management Framework provides

[Zope] [ANN] Zope 2.8.0 beta 1 released

2005-04-24 Thread Andreas Jung
Dear Zope Community, on behalf of Zope Corporation and all Zope 2 developers and contributors I am pleased to announce the release of Zope 2.8.0 b1. Zope 2.8.0 b1 can be downloaded from http://www.zope.org/Products/Zope/2.8.0b1 The release notes can be found at http://www.zope.org/Products/Zop