[Zope-dev] MySQL with LAST_INSERT_ID()

2001-01-06 Thread Arno Gross
Hi, I have a simple ZSQL method with this statement: SELECT LAST_INSERT_ID() This method works with Zope 2.2.4 under Linux and MySQL 3.22.32 but I got an error with Zope 2.2.2 under NT 4.0 and MySQL 3.22.29 Error, exceptions.KeyError: unhandled Any hints? Thanks Arno, [EMAIL PROTECTED] _

[Zope-dev] software agents

2001-01-06 Thread drawingincode
hi, is it appropriate "here" to ask that the zope-dev community might consider including developing "interoperability-facilitate" :) agents context, related to likes of; http://www.ai.sri.com/~oaa/ "A framework for integrating a community of heterogeneous software agents in a distributed envir

Re: [Zope-dev] zope on win95

2001-01-06 Thread Danny William Adair
http://www.zope.org/Products/Zope/2.2.4/Zope-2.2.4-win32-x86.exe 2.2.4 is the current stable release. Concerning the "execution" of DTML "files", "The Zope Book" might be a good starting point for reading some documentation: http://www.zope.org/Members/michel/ZB hth, Danny P.S.: Please remembe

[Zope-dev] ZPatterns: patch for OLD['name'] for Zope 2.3

2001-01-06 Thread Steve Alexander
Something has changed in the way Zope 2.3 handles the __getitem__ protocol. This breaks SkinScript's use of OLD. The fix is to patch Agents.py so that the class _memento explicitly provides a __getitem__ method. ZPatterns may need similar fixes elsewhere. See my message to zope-dev earlier th

[Zope-dev] ZPatterns: SAVING doesn't tolerate missing attributes

2001-01-06 Thread Steve Alexander
In SkinScript such as WHEN eventspec CALL expression SAVING mementolist if any of the mementos in mementolist are not found, the script raises a KeyError. I'd like a way of saving a memento if it exists, or NOT_FOUND otherwise. For example, an Executive might have a CompanyCar. WITH Compa

Re: [Zope-dev] ZPatterns: SAVING doesn't tolerate missing attributes

2001-01-06 Thread Steve Spicklemire
Hi Steve, Could you let some other value represent no car? (e.g., _.None?). untested... WITH CompanyCars.getCar(self.car_id) or NOT_FOUND COMPUTE car=RESULT, car_registration=registration OTHERWISE LET car=_.None car_registration="no car" WHEN OBJECT CHANGED CALL HAS_CHANGE

Re: [Zope-dev] Re: Spitter.c Hack

2001-01-06 Thread Tres Seaver
> From: "Jason Spisak" <[EMAIL PROTECTED]> wrote: > > Zopists, > > I finally got Splitter.c to let me index numbers and 'C++' in a TextIndex. > I have about 50,000 objects in that index, and search performance is nearly > instantaneous still. I am running on a big machine though. If anyone >

Re: [Zope-dev] ZPatterns: SAVING doesn't tolerate missing attributes

2001-01-06 Thread Steve Alexander
Steve Spicklemire wrote: > Hi Steve, > >Could you let some other value represent no car? (e.g., _.None?). > > untested... > > WITH CompanyCars.getCar(self.car_id) or NOT_FOUND COMPUTE >car=RESULT, >car_registration=registration > OTHERWISE LET >car=_.None >car_registration