RE: [Zope-dev] ZPatterns: getItem returns None

2001-03-20 Thread Roch'e Compaan
> Seems like the first element of the list of result objects returned by > sqlGetAllotmentArea doesn't define anything called 'AllotmentArea_ID'. > Could it be a case problem? What datbase/db_adaptor are you using? It is a case problem, which really surprised me because Interbase is not case sens

[Zope-dev] Re: Status of aq_chain (was: RE: getPhysicalPath?)

2001-03-20 Thread Jim Fulton
Brian Lloyd wrote: > > > > > > >So nobody (including the various Products I have installed) uses this > > incredibly useful attribute. I have numerous places in my source where I > > loop through aq_parent attributes. > > A good question is whether aq_chain really should be a > public inter

[Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread R. David Murray
>To: [EMAIL PROTECTED] >Date: Mon, 19 Mar 2001 19:47:31 -0500 (EST) >From: [EMAIL PROTECTED] (Chris McDonough) >Subject: [Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.33.2.9 > >Update of /cvs-repository/Zope2/lib/python/SearchIndex >In directory korak:/home/chrism/sandboxes/2_3Branch/lib/python/S

[Zope-dev] Adding a property to a batch of objects ?

2001-03-20 Thread Holger Lehmann
Hi, I wanted to do sonething like this: mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Re

Re: [Zope-dev] FTP interface being worked on?

2001-03-20 Thread R. David Murray
On Mon, 19 Mar 2001, John D. Heintz wrote: > I'm not sure that in the most general case this would solve the problem > either. :-( How do we know when the value (or rather the change in > value) of a property for some Zope object should trigger some method? This is a definate advantage of ha

Re: [Zope-dev] Adding a property to a batch of objects ?

2001-03-20 Thread R. David Murray
On Tue, 20 Mar 2001, Holger Lehmann wrote: > I wanted to do sonething like this: > > > > But I am missing the part :-( > I can happily add the property to myself or the folder above (if a DTML > Method is used) but I just cant seem to be able to add the property to an > object I want. I

Re: [Zope-dev] Adding a property to a batch of objects ?

2001-03-20 Thread Christian Scholz
Hi! > I wanted to do sonething like this: > > > (or objectItems). then just say or you might change the ... to (hope this is right, have not tested it.) First form directly builds a list of the objects instead of the Ids, second form first looks up the id with _['sequence-item'] and the

[Zope-dev] ZCatalog bug in 2.3.1b2

2001-03-20 Thread Andy Dawkins
I posted this before but didn't get a reply. Has any one seen this bug, Or do they know a fix? ATM this is stopping me using 2.3.1b2 which is a bad thing(tm) --- Zope Errorr Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: len() of unsiz

Re: [Zope-dev] Adding a property to a batch of objects ?

2001-03-20 Thread Holger Lehmann
Thanks, worked just like a beauty. I thought I tried that one, but I must have made a mistake :-) - Holger --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel : +49 40 890 646-0 Info: 0700 catWorkX ( 0700 22 89 67 59 ) F

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread Casey Duncan
"R. David Murray" wrote: > > >To: [EMAIL PROTECTED] > >Date: Mon, 19 Mar 2001 19:47:31 -0500 (EST) > >From: [EMAIL PROTECTED] (Chris McDonough) > >Subject: [Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.33.2.9 > > > >Update of /cvs-repository/Zope2/lib/python/SearchIndex > >In directory korak:/ho

[Zope-dev] NewLoggingAPI

2001-03-20 Thread Shane Hathaway
I have written a proposal for the improvement of logging. It builds on ideas proposed by Chris and Andreas at Digital Creations. It is designed to augment Zope's enterprise-level capabilities. Please comment! http://dev.zope.org/Wikis/DevSite/Proposals/NewLoggingAPI Shane __

[Zope-dev] Python 2

2001-03-20 Thread Sin Hang Kin
Is python 2 ready for the upcoming beta? Will the next release of zope win32 come with python 2 or use the installed python if available? Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net ___ Zope-Dev maillist -

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread Dieter Maurer
R. David Murray writes: > >To: [EMAIL PROTECTED] > >Date: Mon, 19 Mar 2001 19:47:31 -0500 (EST) > >From: [EMAIL PROTECTED] (Chris McDonough) > >Subject: [Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.33.2.9 > > > >Update of /cvs-repository/Zope2/lib/python/SearchIndex > >In directory korak

[Zope-dev] 2.3.x Catalog Brains

2001-03-20 Thread Casey Duncan
In doing some development using Catalogs in 2.3.x, I have run across some interoperability bugs between the various Catalog classes. 1. Catalog brains are slightly broken when applied agains plain Catalogs. Looking at __getitem__ in Catalog.py (line 225 and 231 in 2.3.1b2 in particular), the resu

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread Chris McDonough
It's so broken with OR for large datasets that the search results are virtually meaningless. We see this first-hand on Zope.org (which is now ANDed after an upgrade) and in most of our consulting projects. I strongly agree that there should be an easy way to switch textindex default queries betw

Re: [Zope-dev] ZCatalog bug in 2.3.1b2

2001-03-20 Thread Chris McDonough
I cannot reproduce this, Andy, although I'm sure something is up. If it continues to fail under b3, can you possibly send me a Data.fs that exhibits the problem? Sorry, - C - Original Message - From: "Andy Dawkins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 20

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread Casey Duncan
Chris McDonough wrote: > > It's so broken with OR for large datasets that the search results are > virtually meaningless. We see this first-hand on Zope.org (which is now > ANDed after an upgrade) and in most of our consulting projects. > > I strongly agree that there should be an easy way to s

[Zope-dev] Overriding traversal

2001-03-20 Thread Andy McKay
We have a SQL method that works quite nicely by messing around with __bobo_traverse__ meaning we can pass in long URL's as arguments such as /SQLMethod/a/b/c, /a/b/c is an argument into ZSQL. This is extremely useful to use. We do this by overiding __bobo_traverse__. The problem occurs when we me

Re: [Zope-dev] Overriding traversal

2001-03-20 Thread Andy
Actually just notice VirtualHostMonster does the same thing our quick hack does: if name in ('manage_main', 'manage_workspace'): return self.manage_main Hmm. I guess using before_ or after_traversve hooks would be better than overriding traverse. - Original Message -

[Zope-dev] ZPatterns style question

2001-03-20 Thread Lex Berezhny
Hello, I dont know if i'm missing something, or if this is just a style question. But where do the implimentation specific get/set methods go (the functions called within a SkinScript for example)? Do i just stick them anywhere in the aquistion path, or is there some logical place I should plac

Subject: Re: [Zope-dev] Comment on CVS change

2001-03-20 Thread Tres Seaver
Casey Duncan <[EMAIL PROTECTED]> wrote: > "R. David Murray" wrote: > > > > >To: [EMAIL PROTECTED] > > >Date: Mon, 19 Mar 2001 19:47:31 -0500 (EST) > > >From: [EMAIL PROTECTED] (Chris McDonough) > > >Subject: [Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.33.2.9 > > > > > >Update of /cvs-reposito

Re: Subject: Re: [Zope-dev] Comment on CVS change

2001-03-20 Thread Chris McDonough
> I've gotta weigh in here, too; the breakage induced by this change > will be large. Give that what *real* users expect is *neither* a > Boolean "AND" *nor* a Boolean "OR", but instead a DWIM/Googlesque > "affinity" search, I don't think the win is clear enough to warrant > the breakage: > >