[Zope] Multiple Inheritance and the Portal Base classes.

2000-10-30 Thread Steinar Rune Eriksen
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

[Zope] Multiple Propertysheets from the same Python class ?

2000-10-27 Thread Steinar Rune Eriksen
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

[Zope] Return data from External Methods

2000-09-13 Thread Steinar Rune Eriksen
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

[Zope] Python + COM (from external method)

2000-08-11 Thread Steinar Rune 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

RE: [Zope] Python + COM (from external method)

2000-08-11 Thread Steinar Rune Eriksen
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

[Zope] ZODB problems...

2000-08-08 Thread Steinar Rune Eriksen
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...