Re: [Zope] calling a product with xmlrpc

2006-04-12 Thread Dieter Maurer
Paul Winkler wrote at 2006-4-11 20:06 -0400: ... I do think it's odd he got NotFound One gets NotFound with debug-mode off, one gets a message describing that a docstring is missing with debug-mode on. It was an error to switch to debug-mode off by default... -- Dieter

[Zope] calling a product with xmlrpc

2006-04-11 Thread Reinoud van Leeuwen
Hi, I have a working Pyhton script to search for users in a plone site with a commandline xmlrpc client. It cannot be changed into an external method because of the fact that it only works when running under a role with sufficient rights. So I turned it into a product. Basically I have (I

Re: [Zope] calling a product with xmlrpc

2006-04-11 Thread Paul Winkler
On Tue, Apr 11, 2006 at 05:54:35PM +0200, Reinoud van Leeuwen wrote: Hi, I have a working Pyhton script to search for users in a plone site with a commandline xmlrpc client. It cannot be changed into an external method because of the fact that it only works when running under a role with

Re: [Zope] calling a product with xmlrpc

2006-04-11 Thread Floyd May
Paul Winkler wrote: On Tue, Apr 11, 2006 at 05:54:35PM +0200, Reinoud van Leeuwen wrote: [...] This however generates a NotFound Exception :-( I'm not sure why you get NotFound, but one thing I spotted is that anything you want to publish in zope 2 must have a docstring. I've ran into

Re: [Zope] calling a product with xmlrpc

2006-04-11 Thread Reinoud van Leeuwen
On Tue, Apr 11, 2006 at 01:43:22PM -0500, Floyd May wrote: Paul Winkler wrote: On Tue, Apr 11, 2006 at 05:54:35PM +0200, Reinoud van Leeuwen wrote: [...] This however generates a NotFound Exception :-( I'm not sure why you get NotFound, but one thing I spotted is that anything you want to

Re: [Zope] calling a product with xmlrpc

2006-04-11 Thread J Cameron Cooper
Reinoud van Leeuwen wrote: On Tue, Apr 11, 2006 at 01:43:22PM -0500, Floyd May wrote: Paul Winkler wrote: On Tue, Apr 11, 2006 at 05:54:35PM +0200, Reinoud van Leeuwen wrote: [...] This however generates a NotFound Exception :-( I'm not sure why you get NotFound, but one thing I spotted

Re: [Zope] calling a product with xmlrpc

2006-04-11 Thread Paul Winkler
On Tue, Apr 11, 2006 at 04:55:18PM -0500, J Cameron Cooper wrote: I'm sure it's in the Zope book. Doubt it, as the Zope book doesn't cover filesystem Product development. But it is in the ZDG :) http://www.zope.org/Documentation/Books/ZDG/current/ObjectPublishing.stx I do think it's odd he got