[Zope-dev] More useful CatalogAware class?

2000-06-12 Thread Michel Pelletier
Amos and I and the guys at Activestate were discussing cataloging at a recent training sessions and we came up with the following possible successor to CatalogAware. The idea is that a CatalogAware object looks for two methods that return sequecnes of Catalogs that many be interested in this obj

Re: [Zope-dev] ZCatalog text index search bugs?

2000-06-13 Thread Michel Pelletier
arch; it returns without hit. > The behaviour is correct for "and" but of cause > wrong for "or". This is fixed in 2.2b1, whe index not finding the word should not raise an exception anymore and the search should not abort. Can you confirm t

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 -- -M

Re: [Zope-dev] Logging for ZScheduler?

2000-06-16 Thread Michel Pelletier
persistent. I kinda like: subsys = string.join(self.getPhysicalPath(), '/') + ":" + `self` This is probably 2.2 specific. -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCentral

[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] Acquisition Confusion :S

2000-08-07 Thread Michel Pelletier
Chris Withers wrote: > > Who would be best to ask why it was set up the way it is? > > I'm sure there are very good reasons for it but the search order in all > but the simple cases is very confusing and not as useful as it could be. > > How much more work would it be to implement the following

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. xm

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 v

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

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 Keyw

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

2000-10-10 Thread Michel Pelletier
Dieter Maurer wrote: > > I have just thouroughly looked through the API reference > which is built in Zope 2.2.2. > > I found many strange permission statements, e.g.: > > * all methods of "PropertySheets" can only be used from Python > > * while "PropertySheet.propertyItems" can be used w

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 c

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

[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 st

Re: [Zope-dev] Michel's Reply

2000-10-20 Thread Michel Pelletier
Toby Dickenson wrote: > > On Fri, 20 Oct 2000 12:54:19 +0100, Chris Withers <[EMAIL PROTECTED]> > wrote: > > >>Consider the following passage in the documentation: > > Noo - Context-based instance-space applications are a major source > of pain, bugs and security holes. They might be the on

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. > > > > > O

Re: [Zope-dev] Python and Perl scripts

2000-10-20 Thread Michel Pelletier
[EMAIL PROTECTED] wrote: > > 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 suggestion). Thingi

Re: [Zope-dev] Using the Zope debugger (authenticating)

2000-10-22 Thread Michel Pelletier
"Morten W. Petersen" wrote: > > How do I authenticate myself when using the Zope debugger? > (I've seen this before I think, but I couldn't find it) Pass the 'u' argument: [michel@heinlein python]$ python Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux

Re: [Zope-dev] Michel's Reply

2000-10-25 Thread Michel Pelletier
Toby Dickenson wrote: > Sorry for the delay (book ... crushing ... head ... ) > Perhaps the hippo analogy isnt helping, so heres a more concrete example. In > zope today it is possible for a user who has been granted the 'View > Management Screens' permission in *one* folder to create a one-lin

[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 from

Re: [Zope-dev] Hippos on the Bell Curve ;-)

2000-10-26 Thread Michel Pelletier
Chris Withers wrote: > > Michel Pelletier wrote: > > > Python Methods are a perfect example of an object that is useful to us > > at the top for advanced things, like methods of a animal base class we > > use in our complex Zoo application, but they are also just as

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: > > > 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] 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 up

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] API Reference Documentation Proposal

2000-11-17 Thread Michel Pelletier
I have written a fishbowl proposal outlining a project for writing API documentation for Zope: http://dev.zope.org/Wikis/DevSite/Proposals/APIReference Please review and leave your comments, I am very interested in hearing what you have to say about this. -Michel __

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 countr

[Zope-dev] RFC: Python/Zope Interfaces

2000-11-24 Thread Michel Pelletier
Python Interface Proposal I have been working on a proposal for enhancing the existing interface documentation in Zope. The Wiki for this project can be found here: http://www.zope.org/Wikis/Interfaces/FrontPage An artifact of this project is formal Python/Zope support for "Interfa

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

2000-11-24 Thread Michel Pelletier
Lalo Martins wrote: > > On Fri, Nov 24, 2000 at 08:11:48AM -0800, Michel Pelletier wrote: > > Python Interface Proposal > > > > I have been working on a proposal for enhancing the existing interface > > documentation in Zope. The Wiki for this project can

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

[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: http://www.zope.org/Wikis/Interfaces/Origin

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

2000-11-28 Thread Michel Pelletier
Chris Withers wrote: > > Ken Manheimer wrote: > > > > I'm not expert on eiffel or even interfaces, but my understanding having > > interface "specification very near to the implementation" is misleading, > > at best. The key thing is that there may be many implementations, all of > > which shoul

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 large-

[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

[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 d

[Zope-dev] Zope.org done broke

2000-11-29 Thread Michel Pelletier
Editing a Wiki page results in: Error type: TypeError Error value: loop over non-sequence ___ 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] 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 - http://lists.zope.org/ma

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, > anyon

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 w

Re: [Zope-dev] ZUnit - feedback convocation

2000-12-04 Thread Michel Pelletier
On Mon, 4 Dec 2000, Michel Pelletier wrote: > Here's a modified outline I tweaked with my above comments: Oh, I forgot to mention, when we all agree on the outline, the next step would be to write one paragraph for each section, giving a synopsis of that sections scope. This is als

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 f

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] 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 a

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 a

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-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: htt

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 benc

Re: [Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Michel Pelletier
http://www.kuchling.com/zodb/guide/ -Michel On 15 Feb 2001, Petr Knapek wrote: > Hi Zopists, > > I would like to know how to connect to running Zope ZODB from a python > script. I would like to have possibility to read only objects from > ZODB? Is there any possibility how to do it when Zop

[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

[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 su

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. > Componen

Re: [Zope-dev] ZClass propertysheets

2001-02-27 Thread Michel Pelletier
On Tue, 27 Feb 2001, Christian Scholz wrote: > Hi! > > I am just wondering if it's possible to get hold of the properties of a propertysheet > of a ZClass without instanciating it. > > So when instanciating I would just do > > map=object.propertysheets[1].propertyMap() > > and get all infor

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

2001-03-12 Thread Michel Pelletier
On Mon, 12 Mar 2001, Fred Wilson Horch wrote: > > Absolutely! We liked your Fishbowl process so much we are basing our > own development process on it. (For details of our process, check out > >http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/docs/tech-process.txt?rev=1.2&content-type=text/x-cvs

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 shou

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 o

Re: [Zope-dev] why is this more efficient

2001-04-23 Thread Michel Pelletier
On Mon, 23 Apr 2001, Tim McLaughlin wrote: > Found this in the constructor for the File Product and I don't understand > why it is more efficient. (I want to subclass a File, so this does have > some purpose ;-)) Anybody got any ideas? > > # First, we create the file without data: > se

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 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 g

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 have

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 in

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 f

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 credentia

Re: [Zope-dev] ZCatalog Brains

2001-05-23 Thread Michel Pelletier
On Wed, 23 May 2001, Chris Withers wrote: > Hi, > > Is it still fair game to use the data_record_normalized_score_ attibute of > ZCatalog Brain objects? Yes. > If so, is it accurate and meaningful? Only for queries involving text indexes, and even then it's not very meaningful. It takes the

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] 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 sea

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 yo

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 > >>> impor

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 immagin

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 > &

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? I

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

Re: [Zope-dev] Boost.Python

2001-06-04 Thread Michel Pelletier
On Mon, 4 Jun 2001, James Treleaven wrote: > Hi, > > I know that Zope has its own C++ binding mechanism for Python scripts, Eh? Zope uses the standard Python C API, like any other python system with C code. We don't have our own mechanism, nor do we use C++. > but > are there any complication

Re: [Zope-dev] Structured Text Plus

2001-06-11 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 des

Re: [Zope-dev] Pluggable Index How-To Questions

2001-06-12 Thread Michel Pelletier
On Tue, 12 Jun 2001, Andreas Jung wrote: > > In uniqueValues, what do the lengths that withLengths returns actually > mean? > > Good question - I think uniqueValues is only used for FieldIndex. Right > I think > you usually must not implement it - I must check this... if you're making a tex

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

[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 commun

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] http://lists.z

[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 > http

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: > > tit

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

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] 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 marg

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

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

2001-10-10 Thread Michel Pelletier
On Wed, 10 Oct 2001 13:12:24 +0200 Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote: > 1) Medusa is working *now*. This is of course the main reason why not to > switch. I dunno how deeply integrated Zope is with ZServer. ZServer and the Zope application interface through a pretty clean bound

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

2001-10-10 Thread Michel Pelletier
On Wed, 10 Oct 2001 12:25:09 +0100 "Phil Harris" <[EMAIL PROTECTED]> wrote: > But kosh, we all know your hatred of all things Microsoft. > > You're absolutely right, it could be fixed, and probably should be as well. > > Thing is that from what I see win32 is the most popular platform for Zope

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 supp

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

2001-10-11 Thread Michel Pelletier
On Thu, 11 Oct 2001 03:28:32 -0700 kapil thangavelu <[EMAIL PROTECTED]> wrote: > > thanks for the license clarification. > > i didn't mean to suggest that its not a good idea to work on it. > > i was hoping that someone from zc would give some sort of status update to > paul's statements from

Re: [Zope-dev] ZPL2.0

2001-10-11 Thread Michel Pelletier
On Thu, 11 Oct 2001 11:07:42 -0700 (PDT) Kapil Thangavelu <[EMAIL PROTECTED]> wrote: > > Only a little bit more arm twisting needs to be done > > in order for RMS to approve ZPL 2.0 as GPL > > compatable. We're very close, it's just sometimes, > > "tricky" to get a straight answer when speaking

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 doe

Re: [Zope-dev] Documentation?

2000-05-22 Thread Michel Pelletier
s like an 'array' of integers. It implements the Python sequence interface. It was created to be more efficient than using lists or tuples since they hold only integers. > -PersistentMapping There is some documentation on this in lib/python/Components/ExtensionClass. Now you can add these t

[Zope-dev] Don't forget to update WikiCentral

2000-05-22 Thread Michel Pelletier
...if you have a Wiki you want people to see. For example, I don't see the ZPatterns Wiki on there... -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCe

Re: [Zope-dev] ZODB3 - updated stored objects

2000-05-23 Thread Michel Pelletier
nybody clarify or give me hints on how to do this? Use BerkeleyStorage. It does not store previous revisions of objects. -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCentral ___

[Zope-dev] Re: ZCatalog and Unique IDs

2000-05-24 Thread Michel Pelletier
id traversal interface that understood virtual hosting in Zope. > I think 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 mos

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-24 Thread Michel Pelletier
nter = self.counter + 1 > return self.counter - 1 ??? I'm looking into this right now... -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCentral

[Zope-dev] eat our own unsupported dog food

2000-05-24 Thread Michel Pelletier
There is a recent need for us to install ZDiscussions on Zope.org. I have verified that 0.1.0 works with 2.1.6, but I can't seem to d/l 0.2.0. The author of said software is not available, any one know the status on ZDiscussions? Has any one tweaked it? -- -Michel Pelletier

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-24 Thread Michel Pelletier
ical resource, like a catalog. This interface should be defined also, so that newly-born objects can notify a resources of their existence. I've added this to the InterfacesWiki http://www.zope.org/Members/michel/Projects/Interfaces/Discovery Thoughts on how they relate? Are they the same th

Re: [Zope-dev] another validation problem

2000-05-25 Thread Michel Pelletier
on\OFS\DTMLMethod.py, line 184, in >validate > (Object: xxx) >File C:\Python\devel\Zope\lib\python\AccessControl\SecurityManager.py, >line 139, in validate >File C:\Python\devel\Zope\lib\python\AccessControl\ZopeSecurityPolicy.py, >line 160, in

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

2000-05-25 Thread Michel Pelletier
ptured in the proposed traversal interface: 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

Re: [Zope-dev] Observer / Notification Interface Proposal

2000-05-25 Thread Michel Pelletier
Tres Seaver wrote: > > Michel Pelletier <[EMAIL PROTECTED]> wrote: > > > > http://www.zope.org/Members/michel/Projects/Interfaces/Discovery > > > > Thoughts on how they relate? Are they the same thing? > > I think this pattern is orthagonal to the

  1   2   >