Re: [Zope-dev] Help !

2001-04-04 Thread Jens Vagelpohl
the zcatalog is built to search items in the ZODB, it cannot search unrelated data storages, like databases, out of the box. jens on 4/4/01 22:22, Honey George at [EMAIL PROTECTED] wrote: > Hello, > I am not able to search a postgres database using Z > Catalog. I am not clear of the procedur

Re: [Zope-dev] dtml-in performance

2001-04-04 Thread Jens Vagelpohl
call the daatabase query in an external method and convert the result to a simple object (like a dictionary), then pass that back and iterate over it jens on 4/4/01 20:54, Brett Carter at [EMAIL PROTECTED] wrote: > What can I do to maximize the peformance of a dtml-in statement? > When iterati

[Zope-dev] .zexp format deprecated?

2001-04-04 Thread Michael R. Bernstein
Hi all, Someone just mentioned on the #zope IRC channel that they saw a comment to the effect that the 'zexp format was 'deprecated'. Can anyone confirm this? what release will no longer support the format? Michael Bernstein. ___ Zope-Dev maillist -

Re: [Zope-dev] dtml-in performance

2001-04-04 Thread Andy
Yes, but iterating over a list of 2000 rows is a long process. Things like using mapping slow it down even further as you get each column. Less rows will make all the difference. - Original Message - From: "Brett Carter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 0

[Zope-dev] Help !

2001-04-04 Thread Honey George
Hello, I am not able to search a postgres database using Z Catalog. I am not clear of the procedure basically. If you could help me in this regard please reply. I am a programmer from India.If I get an example it will be great. Regards, Honey ___

[Zope-dev] dtml-in performance

2001-04-04 Thread Brett Carter
What can I do to maximize the peformance of a dtml-in statement? When iterating over a 2000 row database query, it takes about 20 seconds - time mostly spent doing security checks, and calling __getitem__ in DT_InSV.py. Is the performance of dtml-in just slow? -Brett __

Re: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDA

2001-04-04 Thread Phil Harris
RE: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDAMike, You need to put the file _mysql.pyd into your PYTHONPATH. Try putting it into the same folder as the ZMySQLDA or into bin/lib. Either should work OK. Phil - Original Message - From: Mike Blake To: Mike Blake ; 'Zope-Dev (E-mail)' Cc

Re: [Zope-dev] REQUEST and values stored there

2001-04-04 Thread Chris McDonough
Wha? What are 'key_name1' and 'key_name2' in reality? - Original Message - From: "Morten W. Petersen" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 2:30 PM Subject: Re: [Zope-dev] REQUEST and values stored there >

Re: [Zope-dev] REQUEST and values stored there

2001-04-04 Thread Morten W. Petersen
On Wed, 4 Apr 2001, Chris McDonough wrote: > What breaks? There was no intention to break code or change the API. Code that looked like this: REQUEST['key_name1'] REQUEST['key_name2'] Now has to be changed to this: REQUEST.form['key_name1'] REQUEST.form['key_n

Re: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDA

2001-04-04 Thread Michael R. Bernstein
> Mike Blake wrote: PLEASE don't post HTML email to the list. Thank you. Michael Bernstein ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://

RE: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDA

2001-04-04 Thread Mike Blake
Title: RE: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDA >>> Traceback (innermost last): >>> File C:\zopes\chikoon\lib\python\OFS\Application.py, line 536 in import_products >>>    (Object: string) >>> File C:\zopes\chikoon\lib\python\Products\ZMySQLA\__init__.py, line 91, in ? >>> File C:\zop

RE: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDA

2001-04-04 Thread Mike Blake
Title: RE: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDA mike wrote: >> I just tried a build of the MySQL-python-0.3.5 module and >> I get a file not found error because I don't have a cl.exe, >> which is apparently something I need to finish the build. >> Does anyone know what I'm missing? >>

Re: [Zope-dev] REQUEST and values stored there

2001-04-04 Thread Chris McDonough
What breaks? There was no intention to break code or change the API. - Original Message - From: "Morten W. Petersen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 12:22 PM Subject: [Zope-dev] REQUEST and values stored there > Hia guys, > > the recent cha

[Zope-dev] REQUEST and values stored there

2001-04-04 Thread Morten W. Petersen
Hia guys, the recent changes to the HTTPRequest class breaks some of my code. I may have missed some notifications, but why wasn't this made clear as it could obviously break code? -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zop

Re: [Zope-dev] BTree upgrading

2001-04-04 Thread Chris McDonough
Oops... from BTrees import OOBTree b = OOBTree.OOBTree() - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 10:45 AM Subject: Re: [Zope-dev] BTree upgrading > Chris McDonough wr

Re: [Zope-dev] BTree upgrading

2001-04-04 Thread Chris Withers
Chris McDonough wrote: > > > from BTrees import BTree gak! I get an import error here. What happened to the bog standard BTree? I need to map strings to objects, what should I use now? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http:

Re: [Zope-dev] BTree upgrading

2001-04-04 Thread Chris McDonough
This looks about right. Threshhold is the number of key-value pairs moved before a subcommit and cache flush, I believe. So 200 should be OK... probably higher, even. - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 9

Re: [Zope-dev] BTree upgrading

2001-04-04 Thread Chris Withers
Chris McDonough wrote: > > This looks about right. Threshhold is the number of key-value pairs moved > before a subcommit and cache flush, I believe. So 200 should be OK... > probably higher, even. Cool... I feel a new point release of Squishdot brewing :-S cheers, Chris ___

[Zope-dev] BTree upgrading

2001-04-04 Thread Chris Withers
Hi, I see the new catalog stuff makes use of new BTrees. I presume the big advantages the new catalog has are from these new BTrees. I know of a few products which also use these BTrees (Squishdot and some internal ones here spring to mind) so I guess they should be upgraded too? Well, I had a l

Re: [Zope-dev] cl.exe with MySQL-python-0.3.5

2001-04-04 Thread Phil Harris
cl.exe with MySQL-python-0.3.5Mike, Can I ask a favour of you first? Please don't send HTML formatted mail to the list, thanks. Now onto your problem. You need Microsoft Visual C (6.x?) to compile what you want. If you haven't got it, give me a few hours and I'll comple it for you. Phil ---

[Zope-dev] cl.exe with MySQL-python-0.3.5

2001-04-04 Thread Mike Blake
Title: cl.exe with MySQL-python-0.3.5 Hi! I just tried a build of the MySQL-python-0.3.5 module and I get a file not found error because I don't have a cl.exe, which is apparently something I need to finish the build. Does anyone know what I'm missing? I have Python 2.0 and MySQL 3.23.33

Re: [Zope-dev] Are Versions Reliable?

2001-04-04 Thread Chris Withers
> Chris, can you explain this phenomena a little more (I'll put it in the > docs). Hi Chris, I think it was a documented bug in CST that was causing the problem. Upgrading to CST 0.8 (that was gonna be released soon? ;-) seems to have solved the problem, it also solved the problems with session