[Zope-dev] dtml-in: sort is not locale-aware

2000-06-20 Thread Oleg Broytmann
Hello! Currently dtml-in does not use locale when sorting the sequence. Before creating a patch I want to discuss a way dtml-in should handle this. The problem is that list.sort() does not sort according to koi8-r cyrillic locale; to make sort locale-aware I need to list.sort(locale.strcoll).

Re: [Zope-dev] dtml-in: sort is not locale-aware

2000-06-20 Thread Oleg Broytmann
On Tue, 20 Jun 2000, mike wrote: But how I could ask dtml-in to use locale.strcoll? Should I add another option to dtml-in? Something like dtml-in somesequence sort=name use_locale ? I use dtml-in "ru_sort( somesequence)" A bit slower but works like hammer. I want to use all

[Zope-dev] Catalog acquisition problems?

2000-06-20 Thread Martijn Faassen
Hi there, We've been experiencing some odd interactions between the ZCatalog and acquisition. Inside the dtml-in catalog .. tags things seem to go screwy. It's picking up the properties in the root folder instead of in the subfolder (the context), where the dtml-in catalog .. is used. Why

RE: [Zope-dev] Unpickleable Error

2000-06-20 Thread Brian Lloyd
The product isn't using cStringIO. I didn't even know it existed until now ;) I stepped through the code, and in lib/python/ZODB/Connection.py in the commit() function, when it gets to the line dump(state) on line 347 where state is (apparently) all the correct information for my

[Zope-dev] ZPatterns alpha 3 released (was re: ZPatterns 0.4.0a2 bug fixes)

2000-06-20 Thread Phillip J. Eby
At 11:54 AM 6/20/00 +0300, Itamar Shtull-Trauring wrote: "Phillip J. Eby" wrote: * The missing _objectChanged() message - it was very hard to track down, because everything appeared to be working right, except for the fact that it wasn't working. Turns out that _v_status_ (the variable, not

Re: [Zope-dev] Test request: ZSession - ZPatterns based session manager

2000-06-20 Thread Phillip J. Eby
At 08:58 PM 6/19/00 +0800, mike wrote: http://www.zope.org/Members/RainDog/ZSession/ZSession-0.0.2.tar.gz/view Comments? Now that I've had a chance to really look at this (while tracking down one of the bugs you found), I do have a few comments. First, nice job... It's a good adaptation use

Re: [Zope-dev] ZPatterns alpha 3 released (was re: ZPatterns0.4.0a2 bug fixes)

2000-06-20 Thread Phillip J. Eby
At 10:25 PM 6/20/00 +0800, mike wrote: "Phillip J. Eby" wrote: Huh? Oh, %#()@%... I fixed that in my working copy, but didn't check it into CVS before building a release .tgz yesterday... Argh. Line 137 of DataSkins.py *should* read: if self._v_status_ is not ChangedStatus:

[Zope-dev] Re: Objet : Re: ZScheduler-0.0.5 problem

2000-06-20 Thread Loren Stafford
This is going to be hard to debug remotely. Can you help me out? First try getting ZScheduler 0.0.6 which fixes a problem of non-responsive Zope, though there the problem was on shut-down not on start-up. Be sure you have STUPID_LOG_FILE working. Then uncomment some of my debugging statements

Re: [Zope-dev] Test request: ZSession - ZPatterns basedsession manager

2000-06-20 Thread mike
"Phillip J. Eby" wrote: At 08:58 PM 6/19/00 +0800, mike wrote: http://www.zope.org/Members/RainDog/ZSession/ZSession-0.0.2.tar.gz/view Comments? Now that I've had a chance to really look at this (while tracking down one of the bugs you found), I do have a few comments. First,

[Zope-dev] Announce: ZSession-0.0.3a

2000-06-20 Thread mike
In short: 1. URL = http://www.zope.org/Members/RainDog/ZSession 2. It works. 3. I need more comments/suggestions Mike ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

Re: [Zope-dev] Test request: ZSession - ZPatterns basedsession manager

2000-06-20 Thread Phillip J. Eby
At 10:51 PM 6/20/00 +0800, mike wrote: "Phillip J. Eby" wrote: example. Think of someone creating a Session subclass called "Shopping Cart", with methods for viewing, checking out, adding/deleting items, etc. Or, if they have many subsystems which want to share the same Session objects, they

Re: [Zope-dev] ZPatterns alpha 3 released (was re: ZPatterns0.4.0a2 bug fixes)

2000-06-20 Thread Phillip J. Eby
At 05:49 PM 6/20/00 +0300, Itamar Shtull-Trauring wrote: Huh? Oh, %#()@%... I fixed that in my working copy, but didn't check it into CVS before building a release .tgz yesterday... Argh. Line 137 of DataSkins.py *should* read: Great, it works! Tell me, were you able to use

[Zope-dev] SOAP?

2000-06-20 Thread David Wilcoxen
I'm trying to find some information about using the SOAP protocol to communicate with the Zope server. Not having much luck at this point; any hints or suggestions would be appreciated. Thanks. David Wilcoxen Austin, Texas ___ Zope-Dev maillist -

RE: [Zope-dev] SOAP?

2000-06-20 Thread Brian Lloyd
I'm trying to find some information about using the SOAP protocol to communicate with the Zope server. Not having much luck at this point; any hints or suggestions would be appreciated. Thanks. David Wilcoxen Austin, Texas Hi David, Zope doesn't yet support SOAP, though this is

[Zope-dev] censemble communication toolkit and distributed lock manager

2000-06-20 Thread Mark Hayden
I recently announced the availability of censemble communication toolkit and a distributed lock manager built using it. After reading about ZEO and the plans to turn the Zope Storage Service into a replicated service, I thought you might find this work useful. regards, Mark Hayden CEnsemble

[Zope-dev] DA for postgresql?

2000-06-20 Thread Jephte CLAIN
Hello, Can anyone tell me about the various Postgresql DA currently available? I don't know which to take between ZPoPyDA and ZPyGreSQLDA. I installed both of them, and I can't tell the difference between the two... This will be for a production server. Is PostgreSQL a good choice? Actually, I

[Zope-dev] LoginManager add trouble

2000-06-20 Thread Scott Parish
Using: Zope2 (cvs) ZPatterns 0.3.0 LoginManger 0.8.6 When I try to add a LoginManager, I get the following error and traceback. Any ideas? sRp - Error Type: KeyError Error Value: _owner Traceback (innermost last): File /a4/srp/Zope2/lib/python/ZPublisher/Publish.py, line 222, in