[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 unhan

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 ha

Re: [Zope-dev] Incorrect Padding?

2000-07-26 Thread Martijn Pieters
On Mon, Jul 24, 2000 at 09:36:53PM +0100, Steve Alexander wrote: > Martijn Pieters wrote: > > Would it be a good idea to add the header? > > I don't quite follow. Add the non-compliant Basic Auth header to the error message, to aid in debugging the client. > > And let's make that a less generic

[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 m

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

2000-07-26 Thread Chris McDonough
It sounds like you are trying to call a module instead of a function... for example, you're doing something like: import ZODB.FileStorage f = ZODB.FileStorage('file') instead of: import ZODB.FileStorage.FileStorage f = ZODB.FileStorage.FileStorage('file') Toby Dickenson wrote: > > On Tue, 25

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 : >

[Zope-dev] ZPatterns

2000-07-26 Thread jdiebold
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. thanks in advance. ___ Zope-Dev maillist - [EM

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 "ZPatter

[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.690

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] ZMySQLDA - errors during compilation...

2000-07-26 Thread Jon Franz
Hello, I'm trying to install ZMySQLDA onto a Linux machine with Zope 2.2.0, python 1.5.2, and a newly installed (from source) copy of MySQL 3.22.23 (latest stable). I had to modify the include paths in Setup.in so it could find the include files, but now I get the following errors whe

[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.. Item exists, but not a folder Folder not found Folder Created Folder could not be created Fol

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