Re: [Zope-dev] Transcience ? Problems

2004-08-31 Thread Chris McDonough
Join the club and post your findings / get help from: http://zope.org/Collectors/Zope/1396 http://zope.org/Collectors/Zope/1401 On Mon, 2004-08-30 at 04:44, Dario Lopez-Ksten wrote: Greetings I have the following error showing up in my event.log (Zope 2.7.1, python 2.34, Plone 2.03)

Re: [Zope-dev] closed collector issues 1252 and 1308

2004-08-31 Thread Chris Withers
Paul Winkler wrote: But occasionally it's really handy to know. It's a wheel that people get to occasionally reinvent for no good reason, and while it's not rocket science to get it right, it IS way too easy to get wrong. Yep, this sounds like a documentation problem, no a we need mroe code

Re: [Zope-dev] Re: Developing plugins for PluggableAuthService

2004-08-31 Thread Chris Withers
Lennart Regebro wrote: If an error happens, a LOG should be printed... Is there any chance I could tempt you to change these to be Python 2.3 style logging calls? Zope will be moving to them for 2.8 and it'd be great if you can change the code while you're in there... cheers, Chris --

Re: [Zope-dev] Re: Developing plugins for PluggableAuthService

2004-08-31 Thread Chris Withers
Lennart Regebro wrote: This is too bad, becuase for the CAS plugin that I started to write, I need to redirect to an external web-page. No can do at this moment. You do know I have a working CASUserFolder, right? I've got a customer who wants this to work in a proxied environment, and I think

Re: [Zope-dev] Re: Developing plugins for PluggableAuthService

2004-08-31 Thread Chris Withers
Could you add this patch to the following collector issue: http://zope.org/Members/urbanape/PluggableAuthService/Collector/4 cheers, Chris Willi Langenberger wrote: According to Lennart Regebro: No. Closer inspection seems to show that I actually don't get PAS to do anything at all. It is simply

Re: [Zope-dev] Re: Developing plugins for PluggableAuthService

2004-08-31 Thread Willi Langenberger
According to Chris Withers: Could you add this patch to the following collector issue: http://zope.org/Members/urbanape/PluggableAuthService/Collector/4 Sure! (i didnt do it in the first place, because it was already in CVS -- but you are right, it should be in the collector) \wlang{} --

Re: [Zope-dev] Re: Developing plugins for PluggableAuthService

2004-08-31 Thread Willi Langenberger
According to Chris Withers: Is there any chance I could tempt you to change these to be Python 2.3 style logging calls? Zope will be moving to them for 2.8 and it'd be great if you can change the code while you're in there... Do you have an example at hand? I remember a posting to this list,

[Zope-dev] Questions and suggestions for PAS and BasicRequest.

2004-08-31 Thread Lennart Regebro
Background for zope-dev: Me, Tino and Zach has been discussing and working a bit on PAS, to fix the problems I had last week. Most have now been fixed. Some new ones arrived instead. :) The two first have to do with both Zope and PAS: 1. The challenge() currently requires you to either raise a

Re: [Zope-dev] Re: Developing plugins for PluggableAuthService

2004-08-31 Thread Lennart Regebro
Chris Withers wrote: You do know I have a working CASUserFolder, right? No, but we wouldn't have been able to use it, since we need CPS support. I've got a customer who wants this to work in a proxied environment, and I think they gave me the okay to develop it as plugins for PAS too... Wanna

Re: [Zope-dev] closed collector issues 1252 and 1308

2004-08-31 Thread Paul Winkler
On Tue, Aug 31, 2004 at 11:09:03AM +0100, Chris Withers wrote: absolute_url_path - is usable with VHM, but still containment only. virtual_url_path - is usable with VHM, but still containment only. Again, what do both of these do? virtual_url_path replaces absolute_url(relative=1)

[Zope-dev] Pointless code in ZPublisher.HTTPRequest ?

2004-08-31 Thread Paul Winkler
Can anyone enlighten me on what this is for? From ZPublisher.HTTPRequest.HTTPRequest.keys: n=0 while 1: n=n+1 key = URL%s % n if not self.has_key(key): break n=0 while 1: n=n+1 key = BASE%s % n

[Zope-dev] Re: Pointless code in ZPublisher.HTTPRequest ?

2004-08-31 Thread yuppie
Hi! Paul Winkler wrote: From ZPublisher.HTTPRequest.HTTPRequest.keys: n=0 while 1: n=n+1 key = URL%s % n if not self.has_key(key): break n=0 while 1: n=n+1 key = BASE%s % n if not

[Zope-dev] Re: Pointless code in ZPublisher.HTTPRequest ?

2004-08-31 Thread Paul Winkler
On Tue, Aug 31, 2004 at 09:51:26PM +0200, yuppie wrote: I'd say the sole purpose is what you describe, but the result of the side effect is used in the next line of 'keys': keys.update(self.other) This small script shows that the code in 'keys' triggers the computing of URLx and

Re: [Zope-dev] Pointless code in ZPublisher.HTTPRequest ?

2004-08-31 Thread Tino Wildenhain
Am Di, den 31.08.2004 schrieb Paul Winkler um 19:08: Can anyone enlighten me on what this is for? From ZPublisher.HTTPRequest.HTTPRequest.keys: ... ** btw, this too smells a bit funny to me... why bother to keep a separate data structure in sync, when we could just do: for i in

Re: [Zope-dev] UI improvement for catalog

2004-08-31 Thread Dieter Maurer
Christian Theune wrote at 2004-8-29 15:39 +0200: I'm landing a small UI improvement for the ZCatalog ZMI interface. It let's you set a path filter to show catalog entries from, if a PathIndex called path exists. (This is created by default in CMF and Plone sites). Feedback is welcome. Very good!

Re: [Zope-dev] is an object in a folder

2004-08-31 Thread Dieter Maurer
Florent Guillaume wrote at 2004-8-24 15:25 +0200: I'd like to add a method like def hasObject(self, id): Test if an object is in the current object. for o in self._objects: if o['id'] == id: return 1 return 0 to ObjectManager. This

Re: [Zope-dev] how to start workflow instance on another zope server with SOAP?

2004-08-31 Thread Dieter Maurer
Aruna Kathiriya wrote at 2004-8-24 17:57 -0700: I am trying to start an instance of a workflow on a Zope server from another Zope server. I did successfully with XML-RPC call but I need to do it with SOAP. Why? When you can control both client and server, XML-RPC should be as good as SOAP

Re: [Zope-dev] Transcience ? Problems

2004-08-31 Thread Dieter Maurer
Dario Lopez-Kästen wrote at 2004-8-30 10:44 +0200: ... File /usr/local/zope/software/zope-2.7.1/lib/python/Products/Transience/Transience.py, line 439, in __setitem__ current_bucket = self._data[current_ts] KeyError: 1093704740 Apparently, current_ts has a wrong value (one that does

Re: [Zope-dev] Pointless code in ZPublisher.HTTPRequest ?

2004-08-31 Thread Paul Winkler
On Tue, Aug 31, 2004 at 10:31:47PM +0200, Tino Wildenhain wrote: Am Di, den 31.08.2004 schrieb Paul Winkler um 19:08: Can anyone enlighten me on what this is for? From ZPublisher.HTTPRequest.HTTPRequest.keys: ... ** btw, this too smells a bit funny to me... why bother to keep a

Re: [Zope-dev] Pointless code in ZPublisher.HTTPRequest ?

2004-08-31 Thread Paul Winkler
On Tue, Aug 31, 2004 at 06:47:27PM -0400, Paul Winkler wrote: On Tue, Aug 31, 2004 at 10:31:47PM +0200, Tino Wildenhain wrote: Am Di, den 31.08.2004 schrieb Paul Winkler um 19:08: Can anyone enlighten me on what this is for? From ZPublisher.HTTPRequest.HTTPRequest.keys: ... **