[Zope-dev] AttributeError

2001-02-16 Thread Andre Schubert
Hi all, Could anyone help me to solve the following Error that occurs sometimes. 2001-02-16T09:11:42 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\0008\004' Traceback (innermost last): File /usr/share/Zope-2.2.4/lib/python/ZODB/Connection.py, line 443, in setstate

[Zope-dev] SkinScripts instantiating new objects

2001-02-16 Thread Stefan Karlsson
Hi, I want my SkinScript to instantiate a new object of type ProjektHandler and put it into an attribute called projekt. For this I have created an external method, returning a new object of type ProjektHandler (simplified): def getNewProjektHandler(self, parentId, parentClass): h =

Re: [Zope-dev] LONGing for normal integers... the sequal

2001-02-16 Thread francine broekhove
Hi guys, after solving the problem with the long integers (thanx) there's another related incident happening with the tree tag. I've used the tree tag according to the 'book' like: dtml-tree id=search_id branches_expr="sql.zt_child_lookup(parent_id=search_id)" ... /dtml-tree The Mysqlda

[Zope-dev] crazy idea?

2001-02-16 Thread Huayin Wang
Imagine this: 1) for every zope objects we implement a generic handler called "deploy", which return true or false. 2) we then plug in a little check in zope's acquisition process to first call the handler of the objects in the acquisition hierarchy, if true, use that object.

Re: [Zope-dev] Problem upgrading to Zope2.3

2001-02-16 Thread Shane Hathaway
"Jay, Dylan" wrote: I did a clean install (on w2k), then copied across my products and Data.fs etc and when I restarted I got the following when I tried to access manage_main on the root folder. Funny thing is this doesn't happen on any other folder. Error type: SystemError Error value:

[Zope-dev] The structure of lib/python/*

2001-02-16 Thread Erik Enge
Hi, Zopistas. I've been reading a lot of Zope code the last couple of years, but still I really don't see any overall structure of lib/python. Is this documented somewhere? ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Zope 2.2.4 Dying

2001-02-16 Thread Shane Hathaway
Andre Schubert wrote: Hi, since the last time i had some problems with my zope server. The zope 2.2.4 running under linux dies unexpectly with the following messages. 2001-02-16T01:50:08 ERROR(200) zdaemon zdaemon: Fri Feb 16 02:50:08 2001: Aiieee! 5451 exited with error code: 13

Re: [Zope-dev] SkinScripts instantiating new objects

2001-02-16 Thread Stefan Karlsson
At 14:31 2001-02-16, Steve Alexander wrote: Stefan Karlsson wrote: Hi, I want my SkinScript to instantiate a new object of type ProjektHandler and put it into an attribute called projekt. In your example, there is no sense of the ProjektHandler instance being saved persistently in the

RE: [Zope-dev] Import Libraries into Python Script

2001-02-16 Thread Brian Lloyd
What's wrong with: import imaplib imaplib.__allow_access_to_unprotected_subobjects__ = 1 Nothing is wrong with it per se - but using the SecurityInfo interfaces (even indirectly through the helper stuff I checked in to PythonScripts for 2.3.1) is more future-proof, in case the

Re: [Zope-dev] AttributeError

2001-02-16 Thread Andre Schubert
Hi Alex, i have the following Products installed, and i don't use External Methods ExternalMethod (Installed product ExternalMethod (External Method-1-0-0)) Hotfix_2000-12-08 (Installed product Hotfix_2000-12-08) Hotfix_2000-12-15a (Installed product Hotfix_2000-12-15a)

Re: [Zope-dev] Zope 2.2.4 Dying

2001-02-16 Thread Andre Schubert
Hi, I'am using Zope 2.2.4 with the required patches. Python 1.5.2 Immunix 6.2 (redhat) - Production System - with apache-1.3.14-2.6.2 under a Named Virtual Host Zope is running with Zope.cgi as Shane Hathaway schrieb: Andre Schubert wrote: Hi, since the last time i had some problems

[Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread Joachim Werner
Hi! We are currently developing a groupware system with Zope. As usual, the options for the storage back-end are using a SQL DB (postgres, ...) or ZODB. I know that this question has been asked a thousand times. But I'll repeat it for our specific situation: SQL or ZODB+ZCatalog, which one

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread R. David Murray
On Sat, 17 Feb 2001, Joachim Werner wrote: SQL or ZODB+ZCatalog, which one is better? Any comments? Just the obvious one: ZPatterns. grin. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

Re: [Zope-dev] Import Libraries into Python Script

2001-02-16 Thread Chris Withers
Itai Tavor wrote: What's wrong with: import imaplib ^ That's the line that barfs... imaplib.__allow_access_to_unprotected_subobjects__ = 1 ...so this one never gets executed ;-) cheers, Chris ___ Zope-Dev

Re: [Zope-dev] Calling Catalog from python script

2001-02-16 Thread R. David Murray
On Fri, 16 Feb 2001, R. David Murray wrote: Howevever, I'm still getting 'None' as the result. If I print out, say, catent.id, I see the correct ID for the object I'm trying to retrieve. It doesn't make sense that this is failing. I must be doing something stupid but I still can't see

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread R. David Murray
Let me be a bit less cryptic. Design your system, and use ZPatterns, and you can defer questions about which storage suits the parts of the app until later, and can change your mind at need. For the kind of project you are embarking upon, the time needed to learn ZPatterns is well worth it.

Re: [Zope-dev] Calling Catalog from python script

2001-02-16 Thread R. David Murray
On Fri, 16 Feb 2001, Steve Alexander wrote: This is 2.3.0, I suppose I should try the new beta just for kicks... Yes, do try the new beta. If this is what I think it is, it is fixed in the latest 2.3, as I submitted the patch that fixed it :-) Are your objects traversed to through an

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread Casey Duncan
"R. David Murray" wrote: Let me be a bit less cryptic. Design your system, and use ZPatterns, and you can defer questions about which storage suits the parts of the app until later, and can change your mind at need. For the kind of project you are embarking upon, the time needed to learn

[Zope-dev] Need Zope 2.3 Binary for Python 2.0 under Win32

2001-02-16 Thread Tim Lakey
I need a Zope 2.3 Binary that is running under Python 2.0 (not 1.5.2) for Win32 environment. I have been trying to compile one myself, but there are lot's of road blocks. If any of you have one that you already built, could you email it to me? TIA, Tim Lakey CTO, CarbonWave [EMAIL PROTECTED]

[Zope-dev] AttributeError validate using the Visitor pattern

2001-02-16 Thread R. David Murray
OK, having helped me figure out how to work around the bug in accessing ZPatterns objects from a catalog, I've got a new challenge for you all. Now that I've got my list of objects, I want to generate a web page displaying them. The page has the structure of a series of table rows. Inside each