[Zope-dev] Help! - I want to understand Acquisition...

2001-04-19 Thread Bernie Rossi
Hi, First of all I'm converting an existing (and working) Zope product from version 2.1.4 to 2.3.1 and I'm having the following problem when trying to run the (new) converted version. In a dtml document which is run many times for different types of objects ie. something like dtml-in " ... "

[Zope-dev] Catalog in 2.3.1

2001-04-19 Thread Adrian Hungate
Title: Catalog in 2.3.1 Are there some problems with the new catalog? I have spotted two possible problems: 1) In CatalogAware, there is a function reindex_all, which appears to have a few problems, like calling index_object instead of reindex_object. Also, why sub = self.objectValues()

Re: [Zope-dev] Catalog in 2.3.1

2001-04-19 Thread seb bacon
* Adrian Hungate [EMAIL PROTECTED] [010419 10:09]: Are there some problems with the new catalog? I have spotted two possible problems: 1) In CatalogAware, there is a function reindex_all, which appears to have a few problems, like calling index_object instead of reindex_object. Also, why

Re: [Zope-dev] ZCatalog waaaagh!

2001-04-19 Thread Chris Withers
Chris McDonough wrote: I know why this is, but I'm not going to fix it tonight... sigh. I need to go cry on Jim's shoulder for a bit before I check a proper fix in. I'm guessing the fix for this is in 2.3.2b1? cheers, Chris ___ Zope-Dev

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-19 Thread Chris Withers
Chris McDonough wrote: dtml-in "Catalog(textindex='foo' AND fieldindex='bar' OR keywordindex=['flop'])" Chris, how hard would it be to expose ZCatalog's set lazy union and intersection operators? IIRC, ZCatalog does a lot of this internally so it shouldn't be that hard to do? (right?!

[Zope-dev] ZCatalog.indexes()

2001-04-19 Thread Chris Withers
Hi, I read in the interfaces wiki (I think :-S) that the indexes() method of ZCatalog is being deprecated. Is this still accurate? If so, how _should_ I be asking a ZCatalog for a list of it's indexes? I'd also like to know their types if possible :-) cheers, Chris

RE: [Zope-dev] Catalog in 2.3.1

2001-04-19 Thread Adrian Hungate
Title: RE: [Zope-dev] Catalog in 2.3.1 Does anyone know if/when this will make it into a release? I am about to deploy a Helpdesk/Knowledge Base product which is very heavily Catalog based. -- Adrian Hungate Manager, European I.S. Acucorp UK Limited -Original Message- From: seb

Re: [Zope-dev] WebDAV locking module?

2001-04-19 Thread Martijn Pieters
On Thu, Apr 19, 2001 at 09:43:02AM +1000, [EMAIL PROTECTED] wrote: Colour me confused... I just downloaded the 2.3.2 beta tarball and tried to run our application against it. It appears that the locking module (webdav.Lockable) is missing from webdav. We develop against the CVS, and the

[Zope-dev] html version of zope site

2001-04-19 Thread Mike Blake
Hi! First of all: We have a client that (because of lame internal policy) will not be able to install zope on the final server. However, they _do_ want zope as a publishing solution for a web that will be practically nothing but dtml docs, images, and folders. They're only intested in

Re: [Zope-dev] html version of zope site

2001-04-19 Thread Toby Dickenson
On Thu, 19 Apr 2001 13:19:45 +0200, Mike Blake [EMAIL PROTECTED] wrote: Please give me your thoughts on this workaround solution. Zope likes to include absolute urls in its generated html. During development you will want these to refer to your development server, but before taking a copy of

[Zope-dev] Building a Zope Site from a Source Distribution

2001-04-19 Thread Eric Roby
Could anyone point me to documentation or instructions on how to build Zope to a particular version of Python. My goal is to understand the process so that I can do this on the Win32, Linux RPM and Solaris distributions (make directives, etc...). My first attempt will be focused on the Win32

Re: [Zope-dev] External transaction integration bug?

2001-04-19 Thread John D. Heintz
I can't directly address the concerns you've raised, but for my project I have rewritten TM.py to work better within the begin/vote/finish/abort protocol framework. I've also added more documentation. John Randall F. Kern wrote: I may just be missing something obvious here, but it seems

[Zope-dev] SmartObjects - Developers needed

2001-04-19 Thread Stephan Richter
Hello everyone, SmartObjects (at http://demo.iuveno-net.de/iuveno/Products/SmartObjects) is not longer only an idea but we are going into some serious design discussions and plan to have our first release at the beginning of June (see release schedule). Since we want to make the framework as

[Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread The Doctor What
Does any one have an example of ZSQL being used witha normalized database? Or is ZSQL just useless? Near as I can tell, between: * Broken type marshalling * Loosing the variable between the form and dtml-if * Inability to handle table.field names for variables * And enough flexibility to work

[Zope-dev] Introducing a New Concept on Advanced Garbage Treatment Process

2001-04-19 Thread zwj
Introducing a new concept on advanced garbage treatment process, and licensing patents For details, please reference the web site: http://zwj5382.3322.net http://zwj5382.163.net The inventor would like to assign exclusive patent license to anyone who is interested in patented advanced garbage

[Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread R. David Murray
I've got a little Product that does some init hacks. One of the things I want to do is expose a couple of python fuctions such that they can be imported into pythonscripts. After much spelunking in the mailing list and the PythonMethods wiki on zope.org, I *think* that what I need to do is

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread The Doctor What
* The Doctor What ([EMAIL PROTECTED]) [010419 11:57]: Does any one have an example of ZSQL being used witha normalized database? Or is ZSQL just useless? Near as I can tell, between: * Broken type marshalling * Loosing the variable between the form and dtml-if * Inability to handle

Re: [Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread Chris McDonough
This may help: http://www.zope.org/Documentation/ZDG/Security.dtml (see Using ModuleSecurityInfo Objects) I think it will be something along the lines of: from AccessControl import ModuleSecurityInfo ModuleSecurityInfo('Products').declarePublic('SignedEditions')

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread Paul Browning
--On 19 April 2001 13:00 -0500 The Doctor What [EMAIL PROTECTED] wrote: * The Doctor What ([EMAIL PROTECTED]) [010419 11:57]: Does any one have an example of ZSQL being used witha normalized database? Or is ZSQL just useless? [intemperate stuff snipped] I wouldn't dream of posting to

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread Andy McKay
Whats the problem with ZSQL? It calls a sql db with the sql statement, what more could you want. If you want more, use python. Cheers. -- Andy McKay. - Original Message - From: "Paul Browning" [EMAIL PROTECTED] To: "The Doctor What" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

[Zope-dev] Zope options order sensitive

2001-04-19 Thread Chris Gray
I'm just beginning my study of the zope source. Going through z2.py I noticed that order matters in specifying command line options. For instance: ./start -a 127.0.0.1 -P 8000 sets HTTP_PORT to: [('127.0.0.1', '8080')] but:./start -P 8000 -a 127.0.0.1 sets HTTP_PORT to:

[Zope-dev] Opening the Zope repository...

2001-04-19 Thread Brian Lloyd
Hi folks. Feedback would be much appreciated on this, especially any potential issues we may have missed: http://dev.zope.org/Wikis/DevSite/Proposals/OpenTheZopeRepository Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations

Re: [Zope-dev] Opening the Zope repository...

2001-04-19 Thread Andy McKay
That's a great idea. Obligatory code reviews are great but might be too much work at this point. -- Andy McKay. - Original Message - From: "Brian Lloyd" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 19, 2001 12:50 PM Subject: [Zope-dev] Opening the Zope repository...

Re: [Zope-dev] Zope options order sensitive

2001-04-19 Thread Chris McDonough
Not really... do you want to only listen on 127.0.0.1? - Original Message - From: "Chris Gray" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 19, 2001 3:43 PM Subject: [Zope-dev] Zope options order sensitive I'm just beginning my study of the zope source. Going

Re: [Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread R. David Murray
On Thu, 19 Apr 2001, Chris McDonough wrote: http://www.zope.org/Documentation/ZDG/Security.dtml (see Using ModuleSecurityInfo Objects) I think it will be something along the lines of: from AccessControl import ModuleSecurityInfo

Re: [Zope-dev] Zope options order sensitive

2001-04-19 Thread Chris Gray
The example was fictional; the ips and ports have been changed to protect the guilty. I'm more interested in just understanding how the code works. It just struck me that given the way the server_info function works in z2.py that you could get a situation where you meant to have zope listening

Re: [Zope-dev] Zope options order sensitive

2001-04-19 Thread Chris McDonough
I understand. Congratulations! You've found your first bug! ;-) Can you file this with the Collector at http://classic.zope.org:8080/Collector ? - Original Message - From: "Chris Gray" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday,

Re: [Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread Chris McDonough
I think it will be something along the lines of: from AccessControl import ModuleSecurityInfo ModuleSecurityInfo('Products').declarePublic('SignedEditions') ModuleSecurityInfo('Products.SignedEditions').declarePublic('stripCardNumber ', 'verifyCardNumber') Thanks, that worked! I'm

[Zope-dev] Zope development firm in Canada

2001-04-19 Thread John Stevenson, idrc.ca
Hello Zope-Dev - We are looking for a firm that can take on a large Zope developement project. We need to hire a Canadian firm to do most or all of the work. Please contact me at the email addres below. Thanks - John Stevenson -- Web Strategist International Development Research Centre, Ottawa

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread The Doctor What
* Andy McKay ([EMAIL PROTECTED]) [010419 14:26]: Whats the problem with ZSQL? It calls a sql db with the sql statement, what more could you want. If you want more, use python. How?!?! Documentation? Examples? Ciao! -- A fail-safe circuit will destroy others. -- Klipstein The

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread Paul Erickson
The Doctor What wrote: * The Doctor What ([EMAIL PROTECTED]) [010419 11:57]: Does any one have an example of ZSQL being used witha normalized database? Or is ZSQL just useless? Near as I can tell, between: * Broken type marshalling * Loosing the variable between the form and

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread The Doctor What
* Paul Erickson ([EMAIL PROTECTED]) [010419 17:02]: The Doctor What wrote: * Loosing the variable between the form and dtml-if I don't understand this. I'm assuming that you are losing values that are not in your argument list. All you have to do is add the arguments. That isn't what I

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread The Doctor What
Thanks. So I'm still having trouble. I can't get any of the list examples to work. I build a select multiple list, and then try to dtml-in on it. It doesn't seem to work. REQUEST shows in it th other and form namespaces, as a list, but I can't actually dtml-var it or anything.

Re: [Zope-dev] WebDAV locking module?

2001-04-19 Thread richard
Martijn Pieters wrote: On Thu, Apr 19, 2001 at 09:43:02AM +1000, [EMAIL PROTECTED] wrote: Colour me confused... I just downloaded the 2.3.2 beta tarball and tried to run our application against it. It appears that the locking module (webdav.Lockable) is missing from webdav. We

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread Casey Duncan
The Doctor What wrote: * Paul Erickson ([EMAIL PROTECTED]) [010419 17:02]: The Doctor What wrote: * Loosing the variable between the form and dtml-if I don't understand this. I'm assuming that you are losing values that are not in your argument list. All you have to do is add the

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread The Doctor What
* Casey Duncan ([EMAIL PROTECTED]) [010419 17:45]: Reason: foo=0 is actually foo='0'. foo:int=0 should work like you want. Same behaviour. I opened a bug in the collector a while ago about this: http://classic.zope.org:8080/Collector/2053/view A related bug:

Re: [Zope-dev] Zope options order sensitive

2001-04-19 Thread Chris Gray
Hmmm... perhaps an undocumented feature rather than a bug? Rereading the doc string I find the description of the -X option mentions a case of argument order making a difference; -X cancels preceding port options but not following ones. On Thu, 19 Apr 2001, Chris McDonough wrote: I

Re: [Zope-dev] How do I call an HTMLFile in context provided by apath

2001-04-19 Thread Itai Tavor
Tres Seaver wrote: Itai Tavor [EMAIL PROTECTED] wrote: Dieter Maurer wrote: Itai Tavor writes: P.S Now that aq_parent is working... why can't I do absolute_url() on DTMLFiles :-( "absolute_url" is provided by the class "OFS.Traverable". Apparently, "DTMLFile" is not derived

[Zope-dev] CVS trunk vs 2.3 branch (Was: WebDAV locking module?)

2001-04-19 Thread Martijn Pieters
On Fri, Apr 20, 2001 at 08:49:12AM +1000, [EMAIL PROTECTED] wrote: I checkout the source using the command on the zope web site: % cvs -d :pserver:[EMAIL PROTECTED]:/cvs-repository login % cvs -z7 -d :pserver:[EMAIL PROTECTED]:/cvs-repository checkout Zope2 What's this branch you speak

Re: [Zope-dev] ZCatalog.indexes()

2001-04-19 Thread Chris McDonough
It's going to stay in there for the time being. If it needs to go away, it won't be yanked without a deprecation period that will be more clearly announced than the this should go away in the wiki. Chris Withers wrote: Hi, I read in the interfaces wiki (I think :-S) that the indexes()