Can anybody see why I get the following error ? I try to subclass
DemoPortalBase and PortalObjectBase into a class CMyPortalBase which I again
subclass with a Zope ZClass.
It all works fine until I add another class in the inheritance list of
CMyPortalBase.When I try to call its __init__ method
I am trying to make a "template" for creating different types of portals.
Especially I am looking to develop my own DemoPortal (Portal) ZClass where I
can subclass other Memberand PortalProperties from Python and more easily
create a ZClass (like the Portal ZClass) that subclasses my Python
I want to return raw XML data from a Python method in Zope, but Zope adds
the following prefix to my return string:
htmlhead/head
Any suggestions how to get around that, so that only my own data (i.e. the
XML file as a string) is returned ?
Steinar Eriksen
How come this fails...
--
import win32com.client
oOleObj = win32com.client.Dispatch("DSOleFile.PropertyReader")
--
when run from Zope (within and External Method) when it works from Python
standalone on the
That worked. Thanks
-Original Message-
From: Phil Harris [SMTP:[EMAIL PROTECTED]]
Sent: Freitag, 11. August 2000 14:06
To: Steinar Rune Eriksen; [EMAIL PROTECTED]
Subject: Re: [Zope] Python + COM (from external method)
Steinar,
Did you call pythoncom.CoInitialize
Hi all,
I am trying to load a Python class as an extension which again accesses data
stored under ZODB. The Python classes are stored in a directory under
"Products" and I manage to create a sub ZClass in Zope for it. I have a
method on one of these classes which I call from a DTML document...