[Zope] Zope Starting Error

2005-04-24 Thread Jonathan Goldberg
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, use /opt/Zope-2.7/lib/python/Zope/Startup/zopectl.py -h Thank you, Jonathan Goldberg

[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

[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] 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

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

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 sense Zope

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

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 PROTECTED] wrote: I

[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

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

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 sorts

[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

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 I can use

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

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

[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 or

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 can set it

[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 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] 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]:

[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] twoElem[0]: return

[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,

[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, use

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]: return 0

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'),) -aj

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

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 to be featured,

[Zope-Checkins] SVN: Zope/trunk/inst/versions.py 2.8.0 b1

2005-04-24 Thread Andreas Jung
Log message for revision 30141: 2.8.0 b1 Changed: U Zope/trunk/inst/versions.py -=- Modified: Zope/trunk/inst/versions.py === --- Zope/trunk/inst/versions.py 2005-04-24 07:03:12 UTC (rev 30140) +++

[Zope-Coders] Zope Bugs, Features, and Patches Collector: Open Issues

2005-04-24 Thread tseaver
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/Zope). Assigned and Open Brian - ZPT not being processed with text/vnd.wap.wml mime type, [Accepted] http://www.zope.org/Collectors/Zope/968 Caseman - ZCTextUndex

[Zope-dev] 2.8.0b1 issues with plone 2.0.5

2005-04-24 Thread Tim Hicks
Apologies if this is already known about... I just installed 2.8.0b1 (using python 2.3.5), fired it up, then tried to add a 'plone site' (2.0.5). The plone site actually did get added, but here's what I got as well: 2005-04-24 12:57:32 ERROR Zope.ZCatalog Recataloging object at

Re: [Zope-dev] 2.8.0b1 issues with plone 2.0.5

2005-04-24 Thread Andreas Jung
Plone requires currently Zope 2.7 and does not support Zope 2.8 yet. -aj --On Sonntag, 24. April 2005 13:44 Uhr +0100 Tim Hicks [EMAIL PROTECTED] wrote: Apologies if this is already known about... I just installed 2.8.0b1 (using python 2.3.5), fired it up, then tried to add a 'plone site'

Re: [Zope-dev] 2.8.0b1 issues with plone 2.0.5

2005-04-24 Thread Tim Hicks
Tim Hicks said: File /home/tim/zope/2.8.0b1/lib/python/ZPublisher/Publish.py, line 40, in call_object result=apply(object,args) # Type scr to step into published object. File /home/tim/zope/2.7.4b2/Products/CMFCore/PortalContent.py, line 116, in __call__ return view() Eek,

Re: [Zope-dev] 2.8.0b1 issues with plone 2.0.5

2005-04-24 Thread Andreas Jung
--On Sonntag, 24. April 2005 13:49 Uhr +0100 Tim Hicks [EMAIL PROTECTED] wrote: Tim Hicks said: File /home/tim/zope/2.8.0b1/lib/python/ZPublisher/Publish.py, line 40, in call_object result=apply(object,args) # Type scr to step into published object. File

[Zope-dev] Re: BTreeFolder2 for Zope 2.8?

2005-04-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: Any objections to move BTreeFolder2 into the Zope core for Zope 2.8? BTF is widely used in the Zope, CMF Plone world and it would not hurt to ship it with Zope. Shane, OK with you? Tres. - --

[Zope-dev] Re: BTreeFolder2 for Zope 2.8?

2005-04-24 Thread Shane Hathaway
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: Any objections to move BTreeFolder2 into the Zope core for Zope 2.8? BTF is widely used in the Zope, CMF Plone world and it would not hurt to ship it with Zope. Shane, OK with you? By all means, go