Re: [Zope-dev] calling DTML method from python script in Zope

2003-11-24 Thread Tres Seaver
On Sun, 2003-11-23 at 22:59, [EMAIL PROTECTED] wrote: of course I looked over at ZopeLabs; http://www.zopelabs.com/cookbook/992031125 and while this shed some light on the situtation, it hardly solved the problem. the script calls a DTML method in the same folder from which it resides

Re: [Zope-dev] calling DTML method from python script in Zope

2003-11-24 Thread Peter Sabaini
Hm, I would hope that the Zope book answers this kind of questions, see: http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx search for Calling DTML from Scripts This should solve your problem -- please leave a comment if it doesn't. Thanks, peter. [EMAIL PROTECTED]

Re: [Zope-dev] New-style ExtensionClass, ZODB 3.3, and Zope 2.8 status

2003-11-24 Thread Jim Fulton
Dieter Maurer wrote: Jim Fulton wrote at 2003-11-22 12:14 -0500: ... Also note that I had to get rid of the validateValue call. It's important that we always pass the name and container to code that needs to get roles. We need name and container only for objects that do not have their own

[Zope-dev] Re: New-style ExtensionClasses (Zope 2.8) -- MRO issue

2003-11-24 Thread Christian Heimes
Sidnei da Silva wrote: I'm going to fix those (after my english class) and then try something harder ;) Here is more stuff: import mrohell base = mrohell.step1() mrohell.step2(base, mroonly=True) Couldn't get mro for Products.Archetypes.BaseBTreeFolder.BaseBTreeFolder Couldn't get mro for

Re: [Zope-dev] Zope 2.7 b3 problem with reindexing catalog

2003-11-24 Thread Dieter Maurer
robert wrote at 2003-11-24 05:32 +0100: ... Traceback (innermost last): * Module ZPublisher.Publish, line 100, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 40, in call_object * Module

Re: [Zope-dev] Re: New-style ExtensionClasses (Zope 2.8) -- MRO issue

2003-11-24 Thread Jeremy Hylton
On Mon, 2003-11-24 at 13:22, Sidnei da Silva wrote: I think it was decided for the non-mro approach, though no one stated it clearly. If it was, they sure didn't. A summary of the opinions that lead to the decision would be nice. Even if it's decided, it wouldn't hurt to fix the inheritance

Re: [Zope-dev] Re: New-style ExtensionClasses (Zope 2.8) -- MRO issue

2003-11-24 Thread Casey Duncan
On Mon, 24 Nov 2003 14:06:07 -0500 Jeremy Hylton [EMAIL PROTECTED] wrote: [snip] Then programmers will be able to understand the code :-). Very interesting conclusion... I might argue that it would be a premature optimization however ;^) -Casey

[Zope-dev] session concurrency

2003-11-24 Thread Santi Camps
Hi all, I've a product, http://zetadb.sourceforge.net, that uses SESSION extensively. I've just discover, unhappiness, that there are some problems when SESSION object is changed at the same time in two diferent python scripts (using frames). The two frames are changing diferent keys of the