Re: [Zope3-Users] zope 3.3 on windows can't create pages

2006-11-28 Thread Adam Groszer
Hello Anton, That's a small incompatibility between python 2.4.4 and Zope 3.3. You can use python 2.4.3 to work around that. The fix for Zope is there but only in the svn yet. Monday, November 27, 2006, 10:51:48 PM, you wrote: Hi, I have a win2k sp4 PC. I installed: - python 2.4.4 -

[Zope3-Users] how to know which port zope is runnning on?

2006-11-28 Thread Shailesh Kumar
Hi, Is it possible for the application code to figure out the port number on which zope is running? What is the suitable api for that? With regards, -shailesh ___ Zope3-users mailing list Zope3-users@zope.org

[Zope3-Users] Custom Content Container

2006-11-28 Thread David Johnson
I created a custom content container that reads entries from a MySQL database and allows editing of the container objects. Or at least that is my desire... The content container by itself seems to work well. However when I click on an object in the contents ZMI view, I receive the following

Re: [Zope3-Users] Custom Content Container

2006-11-28 Thread Tom Gross
Hi David, which fields does your IOwner-interface consist of? You get this error if you call an auto generated form from a List-field, without having value_type specified, but there are other scenarios, so this information would be helpful. Cheers -Tom David Johnson wrote: I created a

Re: [Zope3-Users] how to know which port zope is runnning on?

2006-11-28 Thread Tom Gross
Hi Shailesh, try request.get('SERVER_PORT'). Cheers -Tom Shailesh Kumar wrote: Hi, Is it possible for the application code to figure out the port number on which zope is running? What is the suitable api for that? With regards, -shailesh

RE: [Zope3-Users] Custom Content Container

2006-11-28 Thread David Johnson
Yes indeed. I'm only using 1 Text and 3 TextLine fields. This is my first attempt at this so I'm trying to keep it fairly simple. -Original Message- From: Tom Gross [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 2:05 PM To: David Johnson Cc: zope3-users@zope.org

RE: [Zope3-Users] Custom Content Container

2006-11-28 Thread David Johnson
I figured out the problem. In my interfaces I was using the contains and containers methods. When I stuck to the more tedious __parent__ = ... approach as outlined in Stephan's book, all was solved. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Zope3-Users] how to know which port zope is runnning on?

2006-11-28 Thread Chris Withers
Shailesh Kumar wrote: Thanx Tom, but I was looking for the general case, not in the context of a request. Like say during application startup I want to know the port number. Is it possible? This is surely in the event log, why don't you look there? Chris -- Simplistix - Content

[Zope3-Users] Re: zope 3.3 on windows can't create pages

2006-11-28 Thread Anton
Adam Groszer wrote: Hello Anton, That's a small incompatibility between python 2.4.4 and Zope 3.3. You can use python 2.4.3 to work around that. The fix for Zope is there but only in the svn yet. Hi Adam, Do you have any hint what file is affected (if its only one or two lines to tweak

Re: [Zope3-Users] Re: Function that is called when object is fullyinstantiated

2006-11-28 Thread Florian Lindner
Am Dienstag, 28. November 2006 02:47 schrieb Roger Ineichen: Hi Florian def sendMessage(self, message, toJID): if status == available: self.client.send(xmpp.protocol.Message(toJID, message)) sendMessage is never called. Anyway, changed it to self.status, tried it

Re: [Zope3-Users] how to know which port zope is runnning on?

2006-11-28 Thread Shailesh Kumar
Thanx for the hint. I still don't know how to programmatically access the event log. will try to figure it out. With regards, -shailesh On 11/28/06, Chris Withers [EMAIL PROTECTED] wrote: Shailesh Kumar wrote: Thanx Tom, but I was looking for the general case, not in the context of a