Re: [Zope-dev] nasty persistence problem

2001-10-15 Thread Michel Pelletier
Tim McLaughlin wrote: Thanks Chris, I'll hold on to that for a rainier day. I just worked this one out in a very roundabout way ;) A product had gotten copied in that moved a Product class from one module to another even though everything else was the same. It seems that ZODB doesn't

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Michel Pelletier
On Wed, 10 Oct 2001 16:05:06 +0200 Itamar Shtull-Trauring [EMAIL PROTECTED] wrote: 2) Plugging in a different transports instead of TCP (e.g. SSL) is much easier in Twisted than medusa, as far as I can tell. In m2crypto's medusa ssl code very protocol needs its own subclass in order supports

Re: [Zope-dev] thread locking and ZODB

2001-09-13 Thread Michel Pelletier
On Thu, 13 Sep 2001 09:40:43 +1000 Terry Kerr [EMAIL PROTECTED] wrote: Chris, I notice in the ZODB2 article that it states that the conflict resolution method should return the state of the object after resolving the differences.. However, in the example the method only returns the

Re: [Zope-dev] Where to send patches?

2001-09-10 Thread Michel Pelletier
On Mon, 10 Sep 2001 12:16:51 -0400 Jim Washington [EMAIL PROTECTED] wrote: Hi, All Since the Collector is down, where do we send patches if we are not cvs-authorized? I just discovered a not-too-clever hack to make the Find tab recurse through methods of Z Classes, which the margin of

Re: [Zope-dev] question on ZCatalog

2001-07-03 Thread Michel Pelletier
Zope-dev isn't the apropriate mailing list for this kind of question. You should ask your question on the [EMAIL PROTECTED] mailing list. This list is for developers. Have you read the Catalog documentation? http://www.zope.org/Members/michel/ZB/SearchingZCatalog.dtml -Michel On Tue, 3 Jul

Re: [Zope-dev] persistence

2001-06-28 Thread Michel Pelletier
On Thu, 28 Jun 2001, Mark McEahern wrote: I'm a Zope and Python newbie and I'm trying to utilize Persistence, but I've seen two different ways: import ZODB from Persistence import Persistent vs. from Globals import Persistent Are these different? If so, which is

Re: [Zope-dev] Hey Chris, question for you

2001-06-26 Thread Michel Pelletier
On Tue, 26 Jun 2001, Casey Duncan wrote: Ok, I was able to get it to work by instantiating a IISet around _unindex.keys() and passing that to difference (Thanks!), however, I notice an interesting side effect. Let's say you have a TextIndex on title and you do the following query: title !=

[Zope-dev] Re: restructuredtext

2001-06-21 Thread Michel Pelletier
I've cc:ed zope-dev in case anyone else is interested. On Thu, 21 Jun 2001, David Goodger wrote: The last time I downloaded and studied the CVS branch was in November 2000. At the time, the code wasn't very inviting. I just downloaded the CVS branch again, using the instructions in

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-20 Thread Michel Pelletier
On Wed, 20 Jun 2001, Gregor Hoffleit wrote: Hmm, I think this discussion doesn't belong to zope-dev. It's very informitive to me so far. I have no problem with discussing it here. -Michel ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Where did DocumentTemplate/VSEval.py go in 2.4.0a1?

2001-06-15 Thread Michel Pelletier
Should we make an alias for bw-compatability? -Michel On Fri, 15 Jun 2001, Evan Simpson wrote: Morten W. Petersen wrote: one of my products landed flat on its face when an ImportError was raised trying to import VSEval from DocumentTemplate; is there a new class / function of some

[Zope-dev] New Release of Zope Developer's Guide

2001-06-15 Thread Michel Pelletier
I'm happy to announce a new release of the Zope Developer's Guide, available in HTML format here: http://www.zope.org/Documentation/ZDG/ The new guide contains many improvements and elaborations over the previous HTML release, and has benefited from the review and contributions from many

Re: [Zope-dev] Structured Text Plus

2001-06-12 Thread Michel Pelletier
On Tue, 12 Jun 2001, Ian Clatworthy wrote: Andreas Jung wrote: - Original Message - From: Ian Clatworthy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 10, 2001 9:52 PM Subject: [Zope-dev] Structured Text Plus I've put together the design for an extended

Re: [Zope-dev] Wildcards in TextIndex query. Do they work?

2001-05-29 Thread Michel Pelletier
On Tue, 29 May 2001, Erik Enge wrote: On Thu, 24 May 2001, Michel Pelletier wrote: the unsplitted, unl and unq are my debug flags, but you can see what happens: without parens the '*' has it's desired effect, with, it doesn't. Got a clue? Is this my bug, or ZCatalog's? Must

Re: [Zope-dev] bug in ZEO-1.0b3

2001-05-29 Thread Michel Pelletier
On Tue, 29 May 2001, Dyon Balding wrote: If the ZEO server goes down, the the client no longer tries to keep reconnecting. This appears to be something to do with the __closed attribute in zrpc.py. Is there a page to check the status of bugs in ZEO? When is the next version due out?

Re: [Zope-dev] Wildcards in TextIndex query. Do they work?

2001-05-24 Thread Michel Pelletier
On Thu, 24 May 2001, Erik Enge wrote: This query works: wil?car* This doesn't: (wil?car* or something else) and (word1 and word2) If the first works, then you are using a globbing vocabulary. The second one should work, but maybe there is a bug. Or perhaps your search

Re: [Zope-dev] Wildcards in TextIndex query. Do they work?

2001-05-24 Thread Michel Pelletier
On Thu, 24 May 2001, Erik Enge wrote: On Thu, 24 May 2001, Michel Pelletier wrote: If the first works, then you are using a globbing vocabulary. The second one should work, but maybe there is a bug. Or perhaps your search criteria is so strict that you are getting no results. Hm

Re: [Zope-dev] SearchIndex Splitter lowercase indexes?

2001-05-24 Thread Michel Pelletier
On Thu, 24 May 2001, Christian Robottom Reis wrote: Hi, I've been testing SearchIndex's Splitter here, and I'm finding the behaviour only a tiny bit strange: it converts the words it splits to lowercase. Is this intentional? Yes. Example: import SearchIndex.Splitter import

RE: [Zope-dev] Xron error!!!

2001-05-24 Thread Michel Pelletier
On Thu, 24 May 2001, Loren Stafford wrote: 5. You can truncate the bloated tail end of a Data.fs file using standard system tools. I don't remember how right at the moment, but a search in the mail archives on trucate and data.fs might be fruitful. Use the unix command 'split'. I immagine

Re: [Zope-dev] SearchIndex Splitter lowercase indexes?

2001-05-24 Thread Michel Pelletier
On Thu, 24 May 2001, Christian Robottom Reis wrote: On Thu, 24 May 2001, Michel Pelletier wrote: This is a very common indexing strategy to save space and make searches more relevant. Otherwise 'Dog' and 'dog' would return two completely different result sets. Fine. However

Re: [Zope-dev] Simple Question

2001-05-23 Thread Michel Pelletier
On Wed, 23 May 2001, jawad haider wrote: I wanted to make a search form in which search criteria and search result will appear on the same page e.g.search criteria on the top and when the submit button is pressed the list of search results should be displayed in the bottom of the page.

Re: [Zope-dev] manage_workspace = index_html

2001-05-14 Thread Michel Pelletier
On Mon, 14 May 2001, The Doctor What wrote: What's going on? Is this a Mozilla problem? Yes. If so, why is lynx doing the same? Because lynx is broken too. How should I go about trouble shooting it? The problem is the client does not provide the right Basic authentication credentials

Re: [Zope-dev] ZEO Clients, broken servers, and Z2.pid

2001-05-10 Thread Michel Pelletier
On Thu, 10 May 2001, Anthony Baxter wrote: As far as I can see, ZEO clients don't write a pid to Z2.pid until after they've successfully connected to a storage. Is there a reason for this? Probably not. It's nothing to do with ZEO, z2.py does an 'import Zope' before it writes the z2.pid

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Michel Pelletier
On Thu, 3 May 2001, Chris McDonough wrote: It's no problem, especially as Michel had insomnia last night and did it. ;-) My best stuff comes out when I can't sleep. Those of you who are interested in looking at it, check out the ever-growing Zope Developer's Guide (shame on you if you

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Michel Pelletier
On Thu, 3 May 2001, Michel Pelletier wrote: On Thu, 3 May 2001, Chris McDonough wrote: It's no problem, especially as Michel had insomnia last night and did it. ;-) My best stuff comes out when I can't sleep. Those of you who are interested in looking at it, check out the ever

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Michel Pelletier
On Wed, 2 May 2001, Chris McDonough wrote: The docs (available via the --help switch) go into some of this detail, but I agree that a narrative explaining how to approach it from a functional perspective would be a good thing. This should go in the debuggin and testing chapter of the dev

Re: [Zope-dev] reading the entire DB

2001-04-26 Thread Michel Pelletier
On Thu, 26 Apr 2001, nw_moriarty Last Name wrote: Jim Were you able to run the script I sent previously? I have attached it again. It demonstrates that the entire DB is read each time an item is read. It does this because your script creates and destroys the database connection every

RE: [Zope-dev] getPhysicalPath?

2001-03-16 Thread Michel Pelletier
On Fri, 16 Mar 2001, Brian Lloyd wrote: To me, aswell. Is this documented somewhere? ;-) It's not in the Acquisition.stx in the ExtensionClass docs - probably they were never updated when it was added. I think that aq_chain is most useful as a debugging aid rather than something one

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

2001-03-12 Thread Michel Pelletier
On Mon, 12 Mar 2001, Fred Wilson Horch wrote: You may also find our documentation process interesting: http://www.zope.org/DocProjects/intro Yes, very interesting! But I'm sorry to see that the Developer's Guide is only in the planning stages. Here is some info that should go into

[Zope-dev] Re: [Zope] Search Features and Zope Directions Road Map

2001-02-27 Thread Michel Pelletier
Please do NOT cross post. -Michel On Mon, 26 Feb 2001, Ausum wrote: Zope is a great application server, the same as its soon to be released Content Management Framework, because of its bet on Python, everybody say it. Nevertheless, after reading the Directions Roadmap from DC, I was

Re: [Zope-dev] Zope Development Roadmap Components

2001-02-27 Thread Michel Pelletier
On Tue, 27 Feb 2001, Jimmie Houchin wrote: While reading the Zope Development Roadmap about components I had a question. It says: """Components will be edited via the filesystem as .py files. Components will probably be checked into and out of Zope via a CVS like facility. Components can

[Zope-dev] Zope book now in public CVS

2001-02-23 Thread Michel Pelletier
Greetings! The Zope book is now available in raw (structured text) format in a sourceforge CVS repository. We are also using SF's bug tracking and other tools to allow you better report problems to us than just email. If you'd like to check the book out of CVS, follow the instructions on this

Re: [Zope-dev] Introducing ZopePrints.

2001-02-13 Thread Michel Pelletier
On 12 Feb 2001, Erik Enge wrote: The rationale behind this is that the community at large would benefit from this by having _real_life_ case studies so when their time has come to implement an application in Zope, they don't fall into the same traps and pitfalls we did. Instead of

Re: [Zope-dev] Interfaces Wiki Security Stuff

2001-02-07 Thread Michel Pelletier
On Tue, 6 Feb 2001 23:01:32 - "Chris Withers" [EMAIL PROTECTED] wrote: security. That wiki and lessons learned from it were used by us to create the Interface package that now comes with Zope. Is there anywhere I can find docs on that package? Yes, in the fishbowl:

Re: [Zope-dev] Creating IMAP and SMTP services for Zope

2001-02-03 Thread Michel Pelletier
On Sat, 3 Feb 2001, Morten W. Petersen wrote: Hi guys, I'm wondering about creating IMAP and SMTP services for Zope. Someone mentioned to me that extending (using?) the ZServer could be a Good Thing (tm). Could anyone point me in the right direction? I took a stab at IMAP once...

Re: [Zope-dev] Interfaces Wiki Security Stuff

2001-01-30 Thread Michel Pelletier
On Tue, 30 Jan 2001, Chris Withers wrote: Hi, How active/relevant is the interfaces wiki at: http://www.zope.org/Members/michel/Projects/Interfaces Not active, mostly relevant. I'm trying to figure out how RoleManagers, local roles, etc work and where the work of Zope Security is

Re: [Zope-dev] Gadfly and Zope 2.2.4

2000-12-11 Thread Michel Pelletier
On Sun, 10 Dec 2000, Josh Zeidner wrote: Hello, I tried to add a Gadfly Database connection to my Zope installation without changing any of the parameters and got an error message saying: "The parameter, connection, was omitted from the request." . What, if anything, am I doing

[Zope-dev] ANNOUNCE: Zope 2.3.0 alpha 1 Documentation Release

2000-12-11 Thread Michel Pelletier
On the heels of Brian's announcement, we are gurgling with joy to announce a sychronized release of the Zope Book for the Zope 2.3 alpha release. http://www.zope.org/Members/michel/ZB/ This release marks the first time the book and Zope are "in sync" enough for you to be able to fully try out

Re: [Zope-dev] Significance of the ZODB split?

2000-12-07 Thread Michel Pelletier
On Fri, 8 Dec 2000, Robin Becker wrote: Anyone know why AM Kuchling needs to split off a Sourceforge project based on ZODB? I don't think it's a "split", but AMK is using ZODB internally at his job, and externally with his own projects, so I can see him wanting to have some control over the

Re: [Zope-dev] ZUnit - feedback convocation

2000-12-04 Thread Michel Pelletier
On Thu, 30 Nov 2000, Lalo Martins wrote: Hi all I'trying to write a document on ZUnit and Unit Testing in general, following Michel's and Amos' documentation process. I wrote an outline, and now I'm stuck :-) anyone with a few free moments is welcome to take a look and send me some words.

Re: [Zope-dev] ZUnit - feedback convocation

2000-12-04 Thread Michel Pelletier
On Mon, 4 Dec 2000, Lalo Martins wrote: In the first section, remove "where does it come from" if the section involves the history of unit testing. I'd say the history lesson is out of scope. ;) I would add a section in the beginning "Why do you want to use it". The first

Re: [Zope-dev] ZUnit - feedback convocation

2000-11-30 Thread Michel Pelletier
Lalo Martins wrote: Hi all I'trying to write a document on ZUnit and Unit Testing in general, following Michel's and Amos' documentation process. I wrote an outline, and now I'm stuck :-) anyone with a few free moments is welcome to take a look and send me some words. Also, anyone very

[Zope-dev] Meta-data clarification and Interface interfaces

2000-11-29 Thread Michel Pelletier
In my proposal: http://www.zope.org/Wikis/Interfaces/ExtensibleMetaData I mention interface object meta-data like pre/post conditions. This spurned a lot of interesting conversation, and I wanted to clarify some bits that I picked up from the thread. The proposal is not in any way trying to

Re: [Zope-dev] Zope.org done broke

2000-11-29 Thread Michel Pelletier
Oops. Sorry for the spam. Nothing to see here folks, move along. -Michel ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Michel Pelletier
Brett Carter wrote: Ok, I'll bite. Why doesn't the standard folder scale? Seems like a design flaw to me - why doesn't the default folder use catalogs or BTrees? -Brett Because massive scale is not a requirment of folders, they are meant to organize content for humans, not to be

[Zope-dev] Interface Meta Data proposal

2000-11-28 Thread Michel Pelletier
I've added a sub-proposal to the Interface proposal for describing additional meta-data with Interface objects: http://www.zope.org/Wikis/Interfaces/ExtesableMetaData Please comment about this interesting possibility. -Michel ___ Zope-Dev maillist

Re: [Zope-dev] Re: [Geeks] Interface Meta Data proposal

2000-11-28 Thread Michel Pelletier
Chris McDonough wrote: Is security really a part of an object's interface? Maybe. Are examples? Also maybe. It's documentation, so specific systems that use interfaces may want to be able to extend the kinds of information they can associate with interface elements. I thought this was

Re: [Zope-dev] RFC: Python/Zope Interfaces

2000-11-27 Thread Michel Pelletier
Dieter Maurer wrote: Michel Pelletier writes: Also, defining the interface seperately keep the two things apart, impementation and interface, and doesn't allow you to sneak in a new method unless you also sneak it into the interface, thus making a stronger "contract" wit

[Zope-dev] Lots more in the interfaces Wiki

2000-11-27 Thread Michel Pelletier
Hello, I have added a lot more content to the interfaces wiki at: http://www.zope.org/Wikis/Interfaces/FrontPage (note, this is not the old interfaces wiki, which is link to from here). This wiki is the realization of last weeks interfaces proposal:

Re: [Zope-dev] Interface localization: zzLocale 0-0-4a release

2000-11-22 Thread Michel Pelletier
Can we see a screenshot of what the Zope managment interface looks like in Japanese? (just a personal curiousity) -Michel Yves-Eric Martin wrote: Hello, Since the SkinnableAndLocalizable project is on hold, and since people here in Japan and other non-english speaking countries

Re: [Zope-dev] ZClasses not copyable - why?

2000-11-06 Thread Michel Pelletier
Philipp Auersperg wrote: It is not posible to copy ZClasses, when I try to copy a ZClass in the Management Interface I get the error:'The Item 'blorf' does not support that operation' I digged into that and found that in the ZClass.py there exists a method def cb_isCopyable:

[Zope-dev] Documentation Documentation

2000-11-02 Thread Michel Pelletier
Greetings, Amos and I have done some work in the fishbowl this week. We have started a new project to define the process for writing Zope documentation. This fishbowl project can be found at: http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess/FrontPage The idea here is to open

Re: [Zope-dev] Streaming?

2000-10-30 Thread Michel Pelletier
Lalo Martins wrote: Never mind, I found it. Just for the record, if anyone else needs this: snip I don't know if this is documented somewhere, but it does what I wanted. It is documented in the online help system, under API documentation, under the 'Response' object. -Michel

[Zope-dev] The Great Python (and Perl) Method Renaming Poll

2000-10-23 Thread Michel Pelletier
We will be conducting a community poll to decide what to call Python (Perl, insert your language here) Methods. Many candidates have been discussed, but I'm afraid I don't have enough time to cull all the candidates from the discussions. So, before the poll, we are calling for nominiations

[Zope-dev] Re: Michel's Reply

2000-10-20 Thread Michel Pelletier
Chris Withers wrote: From: Michel Pelletier [EMAIL PROTECTED] Hmm. I thought this was a internal series of emails, I just now noticed that zope-perl got cc:ed on them somewhere in the middle. Oh well, it is some good discussion; I allways like to stir the shit! -Michel

Re: [Zope-dev] Python and Perl scripts

2000-10-20 Thread Michel Pelletier
[EMAIL PROTECTED] wrote: 'Script' objects make a lot of sense, they don't overload the concept of methods, they describe an action that people commonly want to do (script the web) and they clear up a lot of potential confusion for newbie and old-hat alike. Oh, yuck! Now we

Re: [Zope-dev] Python and Perl scripts

2000-10-20 Thread Michel Pelletier
[EMAIL PROTECTED] wrote: snip good discussion Now we just need a generic term, which will not cause other confusions later on down the road for the concept. I really don't like script, especially next to a language name (in the web domain). You don't like function (which was not my

Re: [Zope-dev] Strange permissions in the (built-in) API reference

2000-10-12 Thread Michel Pelletier
KevinL wrote: Michel Pelletier wrote Dieter Maurer wrote: 3. Jim is working on formal interface support for python and he's thinking hard about it, we definatly didn't want to think hard about it and then turn out we came up with a bad answer, the existing API docs are just

Re: [Zope-dev] Strange permissions in the (built-in) API reference

2000-10-11 Thread Michel Pelletier
Dieter Maurer wrote: Recently, I read the "Interface Wiki". It covers most of the methods contained in the API and its permission descriptions made a very solid impression. Maybe, you can start from these descriptions. The Interfaces Wiki is actually where all the API documention did come

Re: [Zope-dev] intersection of ZCatalog queries on the same index

2000-10-05 Thread Michel Pelletier
Neil K wrote: If there a way to get ZCatalog to give me intersections of results on a single index? All the examples and tutorials I've seen are union (OR) queries. Basically I just want ZCatalog to give me items where keywords contained both 'foo' and 'bar'. You should use a Keyword

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-10 Thread Michel Pelletier
Jim Fulton wrote: Michel Pelletier wrote: I made a test script to make about 300 xmlrpc calls to various manage_ methods. I had to kill it after about a half-hour cuz it was takin so long. This sounds pretty fishy. Are you saying that you made less than 300 calls in half an hour

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-09 Thread Michel Pelletier
Chris Withers wrote: andrew wrote: Have been delving into ZPublisher.Client to make remote procedure calls under Zope 2.2.1. Did someone slip 2.2.1 without mentioning it?! I thought XML-RPC was now favoured over ZClient? It's not really favored, both are quite useful. xml-rpc is

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-09 Thread Michel Pelletier
Jim Fulton wrote: Michel Pelletier wrote: I thought XML-RPC was now favoured over ZClient? It's not really favored, both are quite useful. xml-rpc is more for when you want two different system to interoperate. ZClient is very zope specific and probably gives you a bit more

[Zope-dev] Re: Zope Mailing Lists and ZCatalog

2000-08-04 Thread Michel Pelletier
Andy Dawkins wrote: Michel In case you are not aware, we at NIP currently host a complete archive of the Zope mailing lists that are publicly available. Yep. We are using ZCatalog to index all the messages from the Mailing list archives. To give you an idea of numbers, the Zope

Re: [Zope-dev] Distutils scripts for ZODB

2000-06-16 Thread Michel Pelletier
I'm lost on what these scripts do, do they let you distribute ZODB in a standalone fasion? Do you have an example of that distribution based on, say 2.2b? "A.M. Kuchling" wrote: Here are 3 short setup.py scripts for various bits of Zope. Two of them -- -Michel Pelle

Re: [Zope-dev] Re: ZCatalog and Unique IDs

2000-05-25 Thread Michel Pelletier
ace: http://www.zope.org/Members/michel/Projects/Interfaces/Traversal -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCentral ___ Zope-Dev maillist - [EMAIL PROTE

[Zope-dev] Re: ZCatalog and Unique IDs

2000-05-24 Thread Michel Pelletier
the traversal interface is needed for other reasons but it should remove ZCatalog from the list of things that need it... not that I've just been bitten by this or anything ;-) I understand, but I think most of the biting was due to bugs than a flaw in the model. -- -Michel Pelletier http