[Zope-dev] zpatterns-0.4.0a5: problem with unregistering transactionals

2000-07-26 Thread Jephte CLAIN
hello, I have a case where Transactional._unregister is called without Transactional._register being called, raising an exception in Transaction._unregister and then in ZODB.Transaction.Transaction.__del__, causing Zope to dump core when it is run as a daemon (because python notifies of the

Re: [Zope-dev] ZODB....

2000-07-26 Thread Toby Dickenson
On Tue, 25 Jul 2000 18:07:06 +0200, [EMAIL PROTECTED] wrote: I want to develop an external program that can store and retrieve an Object (such as a Person) in the ZoDB That sounds a bit cruel. I tried the example that I found in the How to's but it doesn't works In fact, I have

[Zope-dev] display of SQL request answer

2000-07-26 Thread Vincent DELHOMMOIS
Hi, I am using the Z ODBC DA connexion to access an "Access" database via ODBC. I created a connexion - No problem An SQL method - No problem How can I customise the display of the answer of the SQL request ? Thanks a lot. Vincent ___ Zope-Dev

Re: [Zope-dev] ZODB....

2000-07-26 Thread Carlos Neves
On Tue, 25 Jul 2000, [EMAIL PROTECTED] wrote: Hi, I want to develop an external program that can store and retrieve an Object (such as a Person) in the ZoDB I tried the example that I found in the How to's but it doesn't works In fact, I have the following message :

Re: [Zope-dev] ZPatterns

2000-07-26 Thread Steve Alexander
[EMAIL PROTECTED] wrote: Hi, I wonder where I can find lots of information about the Zpatterns. It seems wonderfull but a little hard to understand. I want to know exactly how it works and what it does. Use the http://www.zope.org search box to look for "ZPatterns".

[Zope-dev] RE: [Zope] Re: Probably ZopeFind Bug

2000-07-26 Thread Brian Lloyd
By now, I know why we get this strange "objectValues__roles__" result inside ZopeFind. In "FindSupport:145", "ZopeFind" strips away the acquisition context of an object. Thanks Dieter, I've checked in a fix for this. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909

Re: [Zope-dev] ZPatterns

2000-07-26 Thread Oleg Broytmann
On Wed, 26 Jul 2000, Steve Alexander wrote: http://www.zope.org/Members/pje/ZPatterns Very limited resource in terms of documentation. :( Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED]

[Zope-dev] Need for aq_base in DTML(was: Re: [Zope] Dumb DTML question - existance check of an object) (was: Re: [Zope] Dumb DTML question - existance check of an object)

2000-07-26 Thread Dieter Maurer
Satheesh Babu writes: I have a URL, say, /sub1/sub2. How do I check in DTML whether 1. folder sub1 exists or not 2. If not, create it. 3. folder sub2 exists under sub1 4. If not, create it. It is easy, if you are a bit sloppy. * Access to "/": "PARENTS[-1]" * Existence

[Zope-dev] Re: Need for aq_base in DTML (was: Re: [Zope] Dumb DTML question - existance check of an object)

2000-07-26 Thread Satheesh Babu
I made a DTML method which works, but doesn't do it recursively. I'll try external methods. Thanks.. dtml-if fname dtml-try "_.getitem(_['fname'],1)" dtml-with "_.getitem(_['fname'],1)" dtml-var title dtml-unless "meta_type=='Folder'" Item exists, but not a folder

Re: [Zope-dev] Need for aq_base in DTML(was: Re: [Zope] Dumb DTML question - existance check of an object)(was: Re: [Zope] Dumb DTML question - existance check of an object)

2000-07-26 Thread Steve Alexander
Dieter Maurer wrote: * Access to "/": "PARENTS[-1]" * Existence check: "_.hasattr(object,what)" NOTE, that this is the sloppy part. - "_.hasattr" will return true, if "object" has attribute "what" (that is what we want) *OR* when it has acquired such an