[Zope] ZPattern -- compiling

2001-01-06 Thread Olaf Zanger
hi everybody, where is ExtensionClass.h supposed to be, it is called in cPersistence.h does it come with zope, zpattern or python? where do i get the Makefile.pre.in from? can i copy it from MySQLDB-1.2.0? thanks for help olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Marc

[Zope] zbabel -- sort order screwed up

2001-01-06 Thread Olaf Zanger
hi everybody, i work with zbabel 0-0-3, ZMySQLDA 1-2-0, MySQLdb 0-1-2 and zope 2-2-4 i do sql queries with order by clause with no problem at all, but if i use zbabel translate tab (uses python-sql methods) it sends back an unordered list which screws up my translator view. i change the sql

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-06 Thread Tim Cook
Oleg Broytmann wrote: There are many Documents on my site, not only index_html. Should I make them all Methods? Why after this I need Documents at all? The ONLY time I use a Document is, as a container for properties. For example a patient is seen by a doctor. The date/time, vital signs

[Zope] ODBC errors

2001-01-06 Thread Doug Brewer
Hello I'm relatively new to Zope, and have been working on getting mySql connected via ZODBC on Win2k. The connection is working, however, I have one column which repeatedly throws an error when I try to access data. The column contains text with many "\n" to retain formatting for email messages

[Zope] SQLs from Python strings

2001-01-06 Thread Lee
On first impressions this may look like a homework assignment question but I can assure you it isn't! I'm having difficulty trying to explain this (hence the strange subject line ;-) but I hope someone can offer me some advice... I have four attributes (A, B, C, D) and each is an integer say,

[Zope] dtml

2001-01-06 Thread nando n
i want to know as much as possible about dtml. what is its purpose??? i really wanna know that answer. cause i have to do dtml like preprocessor for ASP in visual basic. could you give me as many urls of dtml sites and real dtml site examples?

[Zope] Serious BUG in Export. == pb of lost inheritance if export / reimport.

2001-01-06 Thread Thierry Nabeth
Hello, I would like to mention a very serious bug (for me), that prevent to use inheritance between two classes defined in two different package, if you have to export and reimport those packages. In a previous mail I mentionned a problem of Inheritance lost between packages. I spent a lot of

[Zope] Creating a Database connection.

2001-01-06 Thread Spicklemire, Jerry
Darren wrote: I am very new to the Zope idea. I like what Zope is trying to do. But I am trying to set up an external SQL database connection While it would be ideal for one set of instructions to serve every possible requirement, in reality it will be best for you to provide as much

Re: [Zope] SQLs from Python strings

2001-01-06 Thread Steve Spicklemire
Hi Lee, Two points: 1) DTML works fine in ZSQL methods and 2) Due to (1) you can use dtml-var xxx and pull in anything from Zope that you like (but be careful... since someone might be able to pull in something you weren't thinking of when you set up the method: e.g., if you have a method

RE: [Zope] dtml

2001-01-06 Thread Lee Hunter
You should read the Zope Book at http://www.zope.org/Members/michel/ZB Especially the chapter on DTML http://www.zope.org/Members/michel/ZB/DTML.html If you want to see DTML source code in action there is a link at the bottom of many of the pages on the http://www.zope.org site that exposes

[Zope] Stable session-product for productive-site?

2001-01-06 Thread sven
Hello, what is a good and stable session-product for a productive-site(i.e. it shouldn't break down under traffic!). I know of HappySession,Cookieless,FSSession and SQl-session(are there others and which should I use?). Thanks! ___ Zope maillist -

[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

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

[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

[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

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

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 wants

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="no car"