Ok, now I've done it -;^>= The weapons: python (2.1.1) xmlrpclib (0.9.9) zope (2.5.0) ParsedXML (1.2.1) First issue: I also have the dreaded message: "objectIds has no docstring. Patch your ObjectManager.py so that objectIds has a docstring and restart Zope" It would be kewl if someone had some more information than this vague, Redmondish message. Second issue:
From python using xmlrpclib, I can call DTML Documents/Methods that do not reference directories. But if I include something like:
<a href="&dtml.url-directory;">directory</a> Then Zope fails to fetch index_html from directory. ? Is this in my installation, a bug with Zope's xmlrpc implementation, or what? I would think that my dtml.url stuff is pretty generic and common... Third issue: I have a folder "xml", and in that folder is a Parsed XML Document "faq". I can successfully see the contents with the URLs like: http://localhost:8080/xml/faq/0/1 But from python and xmlrpclib to access Zope (already tested with simple stuff like "index_html"), I get: Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.1/xmlrpclib.py", line 660, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.1/xmlrpclib.py", line 809, in __request verbose=self.__verbose File "/usr/lib/python2.1/xmlrpclib.py", line 692, in request return self.parse_response(h.getfile()) File "/usr/lib/python2.1/xmlrpclib.py", line 731, in parse_response return u.close() File "/usr/lib/python2.1/xmlrpclib.py", line 439, in close raise apply(Fault, (), self._stack[0]) xmlrpclib.Fault: <Fault -1: 'Unexpected Zope exception: cannot marshal <extension class Acquisition.ImplicitAcquirerWrapper at 402f1f00> objects'> So who's "Fault" is it, and how can I get on with my life using xml-rpc? The only HOWTO I can find is from January 2000! -- Mitch Pirtle Corporate Security Officer Kühne & Nagel Management AG Tel: +41 1 786 96 45 Fax: +41 1 786 95 95
Does anybody knows what the following error means and how to fix it? The Zope server will go up but acts very slow C:\Program Files\Zope>"C:\Program Files\Zope\bin\python.exe" "C:\Program Files\Zope\z2.py" -D C:\Program Files\Zope/bin/lib\regsub.py:15: DeprecationWarning: the regsub module is deprecated; please use re.sub() DeprecationWarning) ----- 2002-04-03T12:34:35 INFO(0) ZODB Opening database for mounting: ...................... TIA, R. (relative newby)
From: "Roel Van den Bergh" <roel@planetinterior.com>
Does anybody knows what the following error means and how to fix it?
It's not an error, it is a warning, and it actually means exactly what it says. :-) Something uses the regsub module, but the new re module is the one recommended to use instead.
The Zope server will go up but acts very slow
That has nothing to do with this message, but is some other problem. I'm not very good at solving such problems, sorry. :-(
participants (3)
-
Lennart Regebro -
Mitch Pirtle -
Roel Van den Bergh