Re: [Zope-dev] ZPatterns style question

2001-03-21 Thread Steve Spicklemire
Hi Lex, This is a little bit of a tricky question. Here is what I think is the *intent* of ZPatterns. The details of storage are to be left up to the implementor/integrator. Given that they are the only ones who really know where all the goodies are hidden (sql? zodb? etc.. ) your app

[Zope-dev] call pythonscript from python

2001-03-21 Thread Tim McLaughlin
Anybody know how I can call a pythonscript from python? Currently I can call it, but I seem to have no context or security context, because it either will not let me access anything or fail with an attribute error in the context. What are the params that I NEED to pass in so that it can do its

Re: [Zope-dev] Implementing ZPattern: Containment

2001-03-21 Thread Steve Spicklemire
Hi Johan, I wrote: The best way I've found is to provide a method (or methods) in the Specialist of the contained item to get ids of those instances satisfying certain criteria... e.g., getToDoIdsForDoer( aDoer ) (the contained item keeps a reference to the id of its container.)

[Zope-dev] z2.py and environment variables

2001-03-21 Thread Dario Lopez-Kästen
Hello! I am trying to understand how z2.py and enviroments variables work, so that I can have complete control of how I start Zope. I-am-not-a-Python-programmer-yet, so I apologise in advance if the question is a stupid one. Given the possibility to use INSTANCE_HOME etc, can I override most

Re: [Zope-dev] z2.py and environment variables

2001-03-21 Thread Martijn Pieters
On Wed, Mar 21, 2001 at 03:14:33PM +0100, Dario Lopez-K?sten wrote: I am trying to understand how z2.py and enviroments variables work, so = that I can have complete control of how I start Zope. = I-am-not-a-Python-programmer-yet, so I apologise in advance if the = question is a stupid one.

RE: [Zope-dev] Python 2

2001-03-21 Thread Brian Lloyd
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? I expect Zope 2.4 to be Python 2 (probably 2.1). Right now the binary releases have a self-contained Python, and I expect that to continue when we move

Re: [Zope-dev] Comment on CVS change

2001-03-21 Thread Casey Duncan
Chris McDonough wrote: 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

Re: [Zope-dev] Comment on CVS change

2001-03-21 Thread Chris McDonough
I still say a toggle in the Catalog management interface is the best solution. Amen! ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] call pythonscript from python

2001-03-21 Thread Evan Simpson
From: "Tim McLaughlin" [EMAIL PROTECTED] Anybody know how I can call a pythonscript from python? Currently I can call it, but I seem to have no context or security context, because it either will not let me access anything or fail with an attribute error in the context. What are the params

Re: [Zope-dev] Python 2

2001-03-21 Thread Toby Dickenson
On Wed, 21 Mar 2001 10:20:53 -0500, "Brian Lloyd" [EMAIL PROTECTED] wrote: 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? I expect Zope 2.4 to be Python 2 (probably 2.1). Right now the binary

Re: [Zope-dev] call pythonscript from python

2001-03-21 Thread Casey Duncan
Tim McLaughlin wrote: Anybody know how I can call a pythonscript from python? Currently I can call it, but I seem to have no context or security context, because it either will not let me access anything or fail with an attribute error in the context. What are the params that I NEED to

[Zope-dev] Deleting objects by the users

2001-03-21 Thread Menno Brandsen
Hello all, I have a question conserning deleting objects(images) by the user The situation is this : I have a page that lists the contents of the folder below, containing images of a site. In that list a want to let the user/client delete the image that he wants. I've tried using this syntax :

RE: [Zope-dev] call pythonscript from python

2001-03-21 Thread Tim McLaughlin
I was trying to call a PythonScript from a __getstate__ method of the object. That seems impossible since the object appears to be already unwrapped. Know of any ways to get back the wrapper after it has been disposed of? I'm trying to add a manage_afterPropertyChanged hook, and I think I've

Re: [Zope-dev] Deleting objects by the users

2001-03-21 Thread Casey Duncan
Menno Brandsen wrote: Hello all, I have a question conserning deleting objects(images) by the user The situation is this : I have a page that lists the contents of the folder below, containing images of a site. In that list a want to let the user/client delete the image that he wants.

RE: [Zope-dev] Python 2

2001-03-21 Thread Brian Lloyd
Note that you can make a binary release use an existing python by just changing the start script to point to your chosen Python executable instead of the bundled one. That wont be quite enough on win32, not sure about other platforms. The binary release contains extensions that link

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

2001-03-21 Thread R. David Murray
On Tue, 20 Mar 2001, Casey Duncan 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

Re: [Zope-dev] Zope-SQL Server2000 question

2001-03-21 Thread Andy McKay
We use MS SQL 2000 quite a lot with Zope using ZODBCA and have encountered no problems. In fact for our current project we were very impressed by the speed. I havent used ZmxODBC so I can comment. For outside of Zope we use the Perl DBI in Python using pyperl to wrap around the Perl DBI to use

[Zope-dev] DCOracle2 Alpha 5

2001-03-21 Thread Matthew T. Kromer
I just packaged up DCOracle2 Alpha 5 on Zope.org. Given that there are no glitches or geez-I-shouldnta-changed-that-at-the-last-minute fixes present, I'm ready to have a wider set of people eyballing it. A few have, largely just from seeing it show up on the News column of Zope.org. If you use

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

2001-03-21 Thread Casey Duncan
"R. David Murray" wrote: On Tue, 20 Mar 2001, Casey Duncan 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

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

2001-03-21 Thread Dieter Maurer
Tres Seaver writes: Given that any site manager can override the policy trivially, using only two lines of DTML, should we really be switching the (admittedly arbitrary) existing polciy embedded in the core? Tres. P.S. dtml-let search_terms="_.string.split(

[Zope-dev] [ ANN ] LDAPLoginAdapter 1.1 released

2001-03-21 Thread Jens Vagelpohl
LDAPLoginAdapter 1.1, a user folder replacement that authenticates against an LDAP server, has been released. You can view some of the documentation and download the software at http://www.dataflake.org/software/ldaploginadapter/ A Tracker at that same address allows you to easily file bug

Re: [Zope-dev] Comment on CVS change

2001-03-21 Thread Michael R. Bernstein
Casey Duncan wrote: I rarely find myself using any explicit boolean operators when I use Google. And even when it returns 657,340,269 pages, the ones I wanted tend to be in the top 30. I think "OR" searching is fine if the result scoring can be done intelligently somehow. It's pretty

[Zope-dev] ANNOUNCE: Zope 2.3.1 beta 3 released

2001-03-21 Thread Brian Lloyd
Hello all, Zope 2.3.1 beta 3 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.1b3/ Zope 2.3.1b3 contains a number of bug fixes, including fixes for issues found during b2 regarding ZCatalog and updating ZCatalogs to make use of new