[Zope-dev] ZCatalog text index search bugs?

2000-06-12 Thread R. David Murray
I am very confused. I'm looking at the SearchIndex source under 2.1.4 (2.1.6 seems to be the same). In Lexicon.py the 'query' method defines the default_operator to be 'or'. I can't see that TextIndex overrides this when it calls it. But the response to PR 1141 (against 2.1.6) in the collector

Re: [Zope-dev] Zope`s global.asa

2000-06-13 Thread R. David Murray
On Tue, 13 Jun 2000, Thomas Weholt wrote: > Is there a global.asa counterpart in Zope, a place to put stuff that is or > should be accessable in the entire site, like database-connections etc.? I > was forced ( it was terrible, just terrible I tell ya!! ) to work in ASP on > MS IIS ( it just gets

Re: [Zope-dev] Document

2000-06-13 Thread R. David Murray
On Mon, 12 Jun 2000 [EMAIL PROTECTED] wrote: > who can tell me where i can get documents or descriptions about >Btree,Intset,IOBtree,OIBtree module I suspect that the only documentation that you are going to find is the source code . --RDM ___ Zope

[Zope-dev] EMarket breaks 2.2.0b1

2000-06-13 Thread R. David Murray
I was trying to test my ZCatalog bug against 2.2.0b1. My test case was, naturally, in the EMarket stuff I've been working on. So I installed EMarket. I then spent a while being puzzled by how the management interface of 2.2.0b1 was behaving (as those on the IRC can attest). I have figured out t

Re: [Zope-dev] Folderish Objects and their contained objects

2000-06-13 Thread R. David Murray
On Tue, 13 Jun 2000, Stephan Richter wrote: > Right now I am developing that Product for a specific purpose, but I see > great potential in generalizing it, so that all types of Zope objects can > be saved in a database table. This would be different from the current > SQLStorage product though

Re: [Zope-dev] Re: [ZCommerce] EMarket breaks 2.2.0b1

2000-06-13 Thread R. David Murray
On Tue, 13 Jun 2000, Bill Anderson wrote: > What do you mean 'breaks' it? > Does it render the right frame unusable by any chance? Pretty much. The right pane gets the import/export tab instead of the contents tab. You can still navigate by going directly to the manage_main URL (it is manage_wo

RE: [Zope-dev] Calling rendered objects from a product

2000-06-19 Thread R. David Murray
On Thu, 15 Jun 2000, Carlos Neves wrote: > real problem, come to think of it, is that if I call > self.aq_parent.thing.__call__() I get the thing, but with a key error for the > standard_html_header. So, I don't have access to the namespace? or the > aquisition engine doesn't work this way? I thi

[Zope-dev] ZCatalog text field complex searches still broken

2000-06-21 Thread R. David Murray
I just ran some simple tests in 2.2.0b1, and as far as I can see, text field searching is still broken. A two word search string, one word of which is valid (and returns results when used by itself) and one of which is not yeilds no hits. This is true regardless of whether or not the words are j

[Zope-dev] New security model and products breaking zope management

2000-06-26 Thread R. David Murray
OK, I've stared at this for a couple days and have not made any progress. Perhaps others will have some insights. Zope 2.2.0b2, clean install. Works fine. Add EMarket. Now the management is broken. Accessing the base URL of the site with /manage_main appended gives you the file list view of t

Re: [Zope-dev] New security model and products breaking zope management

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, Lalo Martins wrote: > I had the same problem ("Contents" tab not appearing) and it > didn't even occur to me that it might be a Product (because > that happened before the update on Products was released). > > After much munching trough the code, I made the simple change > (a

RE: [Zope-dev] broken selection property support in z2.2

2000-06-27 Thread R. David Murray
On Tue, 27 Jun 2000, Brian Lloyd wrote: > The 'selection' and 'multiple selection' properties are > really built with the idea that you use another property > *of the same object* (rather than an acquired value) to > bind the selection to. Your change works for your case, > but if you try to b

[Zope-dev] EMarket and 2.2.0b3

2000-06-28 Thread R. David Murray
OK, so I didn't get very far in tracking down what inside EMarket is triggering the wierd auth behavior, because I had to run a bunch of tests against b3, where the behavior has changed from that of b2. For this testing my method of determining if "things are weird" is to see if I get prompted fo

Re: [Zope-dev] EMarket and 2.2.0b3

2000-06-30 Thread R. David Murray
On Thu, 29 Jun 2000, Steve Spicklemire wrote: > I'm sure a lot of this is because EMarket was a 1.x product that has > seen relatively little change, in basic structure, since. I'm working It doesn't look that way, actually. > on some patched to allow (1) ZClasses to act as MarketItems and > Sho

Re: [Zope-dev] EMarket and 2.2.0b3

2000-06-30 Thread R. David Murray
On Fri, 30 Jun 2000, R. David Murray wrote: > manage_options.append(copy(item)) > > makes the management interface behave normally with the product installed. Darn, I should have done more testing. I only fixed the prompt for permissions problem. manage_workspace still go

Re: [Zope-dev] EMarket and 2.2.0b3

2000-06-30 Thread R. David Murray
On Fri, 30 Jun 2000, R. David Murray wrote: > Darn, I should have done more testing. I only fixed the prompt > for permissions problem. manage_workspace still goes to the > import/export screen...back to the testing. Arg, it's worse than I thought. My original test was broken. I

Re: [Zope-dev] EMarket and 2.2.0b3

2000-07-01 Thread R. David Murray
On Sat, 1 Jul 2000, Adam Karpierz wrote: > In installation of Zope Emarket and eTailer both installed > and works ok on current 2.2.0 CVS. Well, they may work OK, but there's still a problem. > Then you should update some files from current CVS. I did a full current CVS checkout, and if I acces

[Zope-dev] Bug fix: ZCatalog doesn't add vocabulary if vocab_id is omitted inmanage call.manage call.

2000-07-03 Thread R. David Murray
In both 2.2.0b3 and a CVS checkout from 7/1, there's a small bug in ZCatalog.manage_addZCatalog. If you call it and don't supply a vocab_id argument, vocab_id defaults to None. But the code turns that into the *string* "None", and when ZCatalog's init method sees that it thinks its a real vocabu

[Zope-dev] ZCatalog lexicon bug is back?

2000-07-03 Thread R. David Murray
This is distressing. I'm building a new shopping cart site, and doing it under 2.2.0 CVS (as of 7/1). I've added four items. If I search for certain keywords that I know only appear on one item, I get two items returned. The other item has no trace of the specified keyword. This sounds very mu

[Zope-dev] Request for amplification on new Product permissions API.

2000-07-06 Thread R. David Murray
OK, I read Brian's excellent HowTo on the 2.2 Product permissions API, but it unfortunately doesn't give me the answer to my current 2.2 problem (or if it does there's something else I don't know that is preventing me from figuring it out). I'm trying to update EMarket to work under 2.2. EMarket

RE: [Zope-dev] Request for amplification on new Product permissions API.

2000-07-10 Thread R. David Murray
On Fri, 7 Jul 2000, Brian Lloyd wrote: > Are you calling: > > Globals.default__class_init__(MyBasketClass) > > on your Basket class? This is (poorly documented but) > necessary for permissions declared in __ac_permissions__ > to be correctly initialized. Poorly? Only three classes seem to u

RE: [Zope-dev] zope and UNIX permissions

2000-07-10 Thread R. David Murray
On Mon, 10 Jul 2000, Chris McDonough wrote: > Which files? Know that if you untar as root, the files will be 'owned' > by whoever tarred it up on our side. Untar it as a normal user. Reset > the permissions of the ones you find too permissive. Then let us know > so we can change the distributi

RE: [Zope-dev] Stuff hanging off user not in cookies

2000-07-28 Thread R. David Murray
On Tue, 25 Jul 2000, Brian Lloyd wrote: > > I'm thinking of the dimensions/etc of the edit boxes and the > > like. I do > > a lot of work through virtual domains and it's a real pain having to > > resize that edit box every time I log in through a different domain or > > on a different computer..

[Zope-dev] Are full pathnames in error messages a security bug?

2000-07-31 Thread R. David Murray
I don't know if this has been raised before, but the following excerpt from the most recent SANS security alert concensus made me think: -- Forwarded message -- [...] --> {00.31.014} Apache TomCat leaks system information Apache's TomCat server has been found to provide various t

Re: [Zope-dev] Re: ZScheduler and SSL

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Loren Stafford wrote: > If there is a generally available solution to this SSL client problem, I > wouldn't mind building it into ZScheduler as an option. At the very least, I > could encapsulate the client interface in a separate module. Then you could > conveniently replace

Re: [Zope-dev] Ids starting with _

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Chris Withers wrote: > Toby Dickenson wrote: > > Almost all zope-manageable classes (and certainly Folders, that Dieter > > mentioned) use the old rule. This happens because they derive from > > SimpleItem.Item, which has __allow_access_to_unprotected_subobjects__=1 > > 1) Wh

Re: [Zope-dev] Strange local(?) bug in uploading files

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Peter Arvidsson wrote: > I have a major problem with uploading files. I am doing a form to upload > PDF-files This is what it looks like (with only the relevant code): > pdf_form: We helped Peter out on IRC. Turns out he had a method named pdf that was getting passed instead

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

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, Michel Pelletier wrote: > Andy Dawkins wrote: > > The problem we have is getting that many objects in to the Catalog. If we > > load the objects in to the ZODB, then catalog them, the machine either runs > > out of memory or, if we lower the sub transactions, It runs out of ha

Re: [Zope-dev] Caching problems

2000-08-16 Thread R. David Murray
On Wed, 16 Aug 2000, Bob Pepin wrote: > attribute of the class. When I append something to that list, it stays > there at first, but only until I restart Zope. It disappears (==is set You have to let Zope know that the object has been modified so it knows to commit it to disk. x = self.list x.ap

[Zope-dev] "stemmed and stopped": problems with stopwords and the 'and' operator

2000-08-16 Thread R. David Murray
OK, so the TextIndex of a ZCatalog says that it "stems and stops" the words before indexing them and, one would hope, before searching for them. I always thought that "stem" meant "derive the stem of the word" (so as to make the index smaller). I just peeked at the Splitter.c source code for the

Re: [Zope-dev] Data.fs

2000-08-17 Thread R. David Murray
On Thu, 17 Aug 2000, Andre Schubert wrote: > My Questions are: is there a way to delete the last transaction from One answer: use tranalyzer to find the offset of the start of the last transaction and truncate the file there. > Data.fs, and can i backup the Data.fs when Zope is running. Is the

Re: [Zope-dev] "stemmed and stopped": problems with stopwords andthe 'and' operator

2000-08-17 Thread R. David Murray
On Thu, 17 Aug 2000, Martijn Pieters wrote: > No clues as to where you'll find the stopword code, but the Persistence > thingy is caused by the magic that ZODB performs: it initializes the > correct Persistence module when it itself is imported. This way Jim > managed to have ZODB3 and BoboPOS2 ex

Re: [Zope-dev] Bugs in new Security Stuff :P (part1)

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Chris Withers wrote: > Why are they totally immune to the security stuff? It gets really > confusing when something works fine in a management screen and yet > breaks everywhere else, especially when it's not throwing a security > error (more in part II ;-) > > So, why is it

Re: [Zope-dev] New method for ZCatalog: recatalog_object

2000-08-27 Thread R. David Murray
> ZCatalog would be easier to use if it had a recatalog_object method: > > def recatalog_object(self, obj, uid): > """Adds object to the catalog if not already present. > Removes old entry first, if already in present.""" > self.uncatalog_object(uid) > self.cat

Re: [Zope-dev] Enhanced permissions for DTMLMethod and DTMLDocument?

2000-08-29 Thread R. David Murray
On Tue, 29 Aug 2000, Christopher J. Kucera wrote: > I've got a question about permissions of DTMLMethods and DTMLDocuments. It > seems to me that if you've given a role the "View management screens" > permission, any user with that role should be able to view the source code > for Methods and Doc

Re: [Zope-dev] Problems with EMarket

2000-08-31 Thread R. David Murray
On Thu, 31 Aug 2000, Andre Schubert wrote: > I'm discovering the EMarket Product and test it to with it in our Firm. > I'm working with Zope 2.2.0 and i have 2 problems. EMarket is not yet 2.2-safe, as Steve mentioned. If you come up with bug fixes, let us know . That said, I don't have any pro

[Zope-dev] security document comments

2000-09-08 Thread R. David Murray
Well, I just tried to post several paragraphs to the security interface wiki, and netscape reported a proxy problem. It then ate my posting instead of giving it back to me when I pressed back. So I'm going to try to recreate what I wrote here and hope someone will post it for me or something. (

[Zope-dev] Calling Catalog from python script

2001-02-14 Thread R. David Murray
I'll probably figure this out as soon as I post like last time, but I've been staring at it and can't see my mistake. The following code returns a list of None's: objs = [] for catent in container.Catalog(context.REQUEST): objs.append(container.Catalog.getobject(catent.data_record_id_)) return

Re: [Zope-dev] Calling Catalog from python script

2001-02-16 Thread R. David Murray
On Wed, 14 Feb 2001, Steve Alexander wrote: > > "R. David Murray" wrote: > >> catent.getobject() > >> > >> That would seem to be a lot more OOish. > > In 2.3 you can call catent.getObject(). You can pass an optional REQUEST > in as an arg

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread R. David Murray
On Sat, 17 Feb 2001, Joachim Werner wrote: > SQL or ZODB+ZCatalog, which one is better? > Any comments? Just the obvious one: ZPatterns. . --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cros

Re: [Zope-dev] Calling Catalog from python script

2001-02-16 Thread R. David Murray
On Fri, 16 Feb 2001, R. David Murray wrote: > Howevever, I'm still getting 'None' as the result. If I print out, say, > catent.id, I see the correct ID for the object I'm trying to retrieve. > > It doesn't make sense that this is failing. I must be doing

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread R. David Murray
Let me be a bit less cryptic. Design your system, and use ZPatterns, and you can defer questions about which storage suits the parts of the app until later, and can change your mind at need. For the kind of project you are embarking upon, the time needed to learn ZPatterns is well worth it. --R

Re: [Zope-dev] Calling Catalog from python script

2001-02-16 Thread R. David Murray
On Fri, 16 Feb 2001, Steve Alexander wrote: > > This is 2.3.0, I suppose I should try the new beta just for kicks... > > Yes, do try the new beta. If this is what I think it is, it is fixed in the latest > 2.3, as I submitted the patch that fixed it :-) > > Are your objects traversed to through

[Zope-dev] AttributeError validate using the Visitor pattern

2001-02-16 Thread R. David Murray
OK, having helped me figure out how to work around the bug in accessing ZPatterns objects from a catalog, I've got a new challenge for you all. Now that I've got my list of objects, I want to generate a web page displaying them. The page has the structure of a series of table rows. Inside each

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-17 Thread R. David Murray
On Sat, 17 Feb 2001, Doug Hellmann wrote: > I've yet to see any documentation which sufficiently explains what > ZPatterns is and how to use it for me to consider it in any of my > projects. I've read the wiki pages and I just don't get it. > > Where should I be starting for enlightenment? Well

Re: [Zope-dev] ZPatterns and Book Cataloging (was: Using Zope forGroupware/Messaging applications)

2001-02-18 Thread R. David Murray
On Sun, 18 Feb 2001, Michael R. Bernstein wrote: > How are you entering the data into the system? Specifically, > how are you *normalizing* the Author and book information? I don't know what you mean by normalizing, I'm afraid. The data is stored and upated in the external Paradox database, whic

[Zope-dev] ZPatterns: commitSubtransaction() gives AttributeError on commit_sub

2001-02-21 Thread R. David Murray
I have the following form action pythonscript: req = context.REQUEST context.propertysheets.info.manage_changeProperties(longdesc=req.form['longdesc']) context.commitSubtransaction() req.RESPONSE.redirect(req['URL1']+'/edit_longdescForm') context is a DataSkin instance. When I submit the form,

Re: [Zope-dev] AttributeError validate using the Visitor pattern

2001-02-23 Thread R. David Murray
On Mon, 19 Feb 2001, Itai Tavor wrote: > You posted your questions 3 days ago, so maybe you found a solution > by now... but this might still be useful to you. I just unwrapped the visitor pattern into an psuedo-case statement . > - I'm passing _ explicitly instead of relying on binding. I vagu

Re: [Zope-dev] ZCatalog stuff

2001-02-23 Thread R. David Murray
On Thu, 22 Feb 2001, Chris Withers wrote: > Apart from that, any ideas how I'd search for a record where the indexed > attribute is blank or the secondary sort stuff? Somebody contributed a patch for the secondary sort stuff a while back. Whether it still works with 2.3.0 is a good question. I a

Re: [Zope-dev] ZPatterns feature patch: kickTriggers

2001-02-23 Thread R. David Murray
On Fri, 23 Feb 2001, Steve Alexander wrote: > I'd welcome suggestions on a better name for the method than > "kickTriggers". :-) armTriggers --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cro

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread R. David Murray
On Fri, 23 Feb 2001, Michael R. Bernstein wrote: > As you can see by the second example, an ISBN can have > letters as well as numbers in it, so it cannot be > represented by an integer. Text indexes seem to ignore > 'words' that contain numbers, though. > > Any suggestions? A field or keyword i

[Zope-dev] strip_html?

2001-02-26 Thread R. David Murray
I searched the NIP archives but didn't get any hits on strip_html. Is the code for this beast (used by zope.org to strip html out of partial text included from another page) available anywhere? --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http:/

RE: [Zope-dev] ZPatterns: commitSubtransaction() gives AttributeErroron commit_sub

2001-02-26 Thread R. David Murray
On Mon, 26 Feb 2001, Brian Lloyd wrote: > I believe we've tracked this down and fixed it properly - the > fix will be in 2.3.1 b2, but I've a attached a copy of the > updated Transaction.py that you can drop into lib/python/ZODB, > then restart. It would be great if you get a chance to confirm

Re: [Zope-dev] How is memory shared between Zope threads?

2001-03-02 Thread R. David Murray
On Thu, 1 Mar 2001, Erik Stephens wrote: > Naively, I can think of 2 approaches: a shared memory approach or a > separate memory per thread with notifications. Zope behaves like each > thread as its own copy of in-memory pieces and sometimes these > per/thread memory blocks do not get updated. T

Re: [Zope-dev] How is memory shared between Zope threads?

2001-03-02 Thread R. David Murray
On Fri, 2 Mar 2001, Erik Stephens wrote: > Thanks for the response. If I understand you correctly, then as long a > thread does not try to modify an out-of-date object, it will not try to > re-read the most current version? Is that the expected behaviour? Hmm. Good question. I seem to remembe

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-02 Thread R. David Murray
On Fri, 2 Mar 2001, Shane Hathaway wrote: > "Phillip J. Eby" wrote: > > One reason I've been racing like mad to get the preview release out is so > > that, after seeing the usefulness of TW for the Zope 3 component > > architecture, y'all might be interested in considering implementations for > >

Re: [Zope-dev] ZCatalog hackery

2001-03-03 Thread R. David Murray
I've got an analogous but different problem with ZCatalog udpates. I'd like to ask for ideas about the best way to handle this. I've got a ZPatterns based ap that is pulling data from a postgresql database. But associated with the object created out of the database are signficant chunks of html

Re: [Zope-dev] strip_html?

2001-03-03 Thread R. David Murray
On Tue, 27 Feb 2001, Dieter Maurer wrote: > I do not know about "strip_html" but you may find something > similar in > > URL:http://www.dieter.handshake.de/pyprojects/zope/CatalogSupport.html Thanks, Dieter! That was perfect (though I turned it into a simple "filterHTML" function for my purp

Re: [Zope-dev] ZCatalog hackery

2001-03-03 Thread R. David Murray
On Sat, 3 Mar 2001, Chris McDonough wrote: > Has the physical path of the object changed? If not, the newer (2.3.0 + ) Nope. > catalog stuff should be smart enough to figure out whether anything inside > the object has changed during catalog_object. If nothing has changed, none > of the indexe

[Zope-dev] Site Access Rewrite Rule documentation?

2001-03-03 Thread R. David Murray
Is there any real documentation for Site Access rewrite rules anywhere? There isn't anything in the help system of 2.3.1b1, and the docs under SiteAccess on zope.org have a couple of examples but no technical explanation of how the parts of the example interact with Zope. My goal is pretty simple

Re: [Zope-dev] Site Access Rewrite Rule documentation?

2001-03-04 Thread R. David Murray
On Sat, 3 Mar 2001, Evan Simpson wrote: > You've got it almost right, you just have to know that it's called a stack > because it's used that way by the publishing machinery. This means that the > names on the stack are always in *reverse* order of how they appear in a > URL; "stack[-1]" is the n

RE: [Zope-dev] is there a hook for before the transaction is committed

2001-03-05 Thread R. David Murray
On Mon, 5 Mar 2001, Tim McLaughlin wrote: > manage_afterChange(oldItems, newItems) > oldItems: dict of id - values before modifications > newItems: dict of new values at end of transaction > > This would allow an elegant "reindex" or notification system for objects. > It would also allow for vali

[Zope-dev] namespace binding in pythonscript

2001-03-05 Thread R. David Murray
Has the problem with the binding of the namespace in pythonscript been fixed in cvs (if so will it be in b2)? It's a pain to having to call my pythonscript methods using xyz(_=_). --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.or

Re: [Zope-dev] namespace binding in pythonscript

2001-03-05 Thread R. David Murray
On Mon, 5 Mar 2001, R. David Murray wrote: > Has the problem with the binding of the namespace in pythonscript > been fixed in cvs (if so will it be in b2)? It's a pain to having > to call my pythonscript methods using xyz(_=_). Hmm. Actually, it's worse than that, si

Re: [Zope-dev] Ensuring 'freshness' of dynamic pages (slightlyofftopic)

2001-03-11 Thread R. David Murray
On Sun, 11 Mar 2001, Morten W. Petersen wrote: > but no such luck. If I for example specify 'Check against server: Never' > in IE, the pages are cached, no matter what. > > Is it possible to ensure that pages are always fresh, even if it is > specified on the client side that the client should n

Re: [Zope-dev] Re: [Zope] Is ZFormulator alive?

2001-03-14 Thread R. David Murray
On Tue, 13 Mar 2001, Arno Gross wrote: > Any hints? A *workaround* (that worked as of 2.2, not sure about 2.3 (of zope)) is to log in as the superuser to create the fields. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailm

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

2001-03-17 Thread R. David Murray
On Sat, 17 Mar 2001, Roch'e Compaan wrote: > When I call getItem() on the specialist, it returns None. In my experience, getItem will return None if *anything* goes wrong with data retieval or object creation. Sometimes you get a traceback in the STUPID_LOG, and sometimes you don't (and I haven'

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

2001-03-18 Thread R. David Murray
On Sun, 18 Mar 2001, Dan L. Pierson wrote: > representation of Chris' proposal. FSDump has no read capability. At > IPC9, someone > from DC told me that Tres was worried that read capability would be a giant > security > hole. I can't remember if that someone was Tres or not. IMHO, the > so

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

2001-03-18 Thread R. David Murray
On Sun, 18 Mar 2001, Chris McDonough wrote: > "Potentially lossy" also doesn't mean "leaky". It just > means that folks who expose their objects to this sort of > serialization can choose their own format, and if it > represents the object adequately for their own use in both > directions, it's g

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

2001-03-19 Thread R. David Murray
On Mon, 19 Mar 2001, Roch'e Compaan wrote: > In all simplicity I still can't get it to work but here's some more info > from the console: > > Traceback (innermost last): > File > C:\PROGRA~1\ZOPE230\lib\python\Products\ZPatterns\AttributeProviders.py, > line 335, in _AttributeFor > (Object:

[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

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

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

2001-03-21 Thread R. David Murray
On Wed, 21 Mar 2001, Tres Seaver wrote: > 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? [... >search_with_and="_.string.join( search_ter

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

2001-03-22 Thread R. David Murray
On Thu, 22 Mar 2001, Rik Hoekstra wrote: > one small correction: > > the line: > > should read: > > > as the manage_delObjects takes a list as argument Well, but the other would work, since the first line of manage_delObjects is: if type(ids) is type(''): ids=[ids]

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

2001-03-27 Thread R. David Murray
On 26 Mar 2001, Karl Anderson wrote: > Is there a particular set of tools or editing paradigms that we have > in mind when we say that a non-XML representation is suited for client > side tools? I think the prime current example of this is the way you can use any text editor to edit the serialize

Re: [Zope-dev] Medusa and HTTP/1.1

2001-03-31 Thread R. David Murray
On Fri, 30 Mar 2001, Dieter Maurer wrote: > This can be quite tricky, as it is not obvious at all what are the > components of a page. You can also fairly easily envision a case where none of the elements of a page has changed, but the content of the page itself is different from the last time th

[Zope-dev] DTMLOverride

2001-04-08 Thread R. David Murray
I came across a need to modify a couple DTML Methods of a Product I was using. (It's my own product, but ignore that for now ). I didn't want to modify the code of the product, because then I'd loose changes if I upgraded the product. First I just wrote a little product whose init method went i

Re: [Zope-dev] turn off proxying TTW

2001-04-12 Thread R. David Murray
On Thu, 12 Apr 2001, Tim McLaughlin wrote: > How in the heck do I do this? (also, does anybody know how to make an owned > object "unowned"). It seems that once I select a proxy role, I can't turn > it off... You just deselect the proxy role in proxy screen and click save changes, as far as I k

Re: [Zope-dev] un-own an object

2001-04-12 Thread R. David Murray
On Thu, 12 Apr 2001, Tim McLaughlin wrote: > Ok, so imagine a DTML method has an owner, and as the docs say the method > can do no more than the authenticated user and the owner's permissions > combined. So, now delete the owner. No, it is the *intersection* of the two ownership sets, not the un

Re: [Zope-dev] cvs checkin?

2001-04-16 Thread R. David Murray
On Mon, 16 Apr 2001, Andy McKay wrote: > I suppose, its just not really a bug and I've always thought of the > collector as bug db. One of the options when you submit is "feature request w/patch". So the "bug collector" probably needs a name change... On the other hand, we all know about the sli

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

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 > ModuleSecurityInfo('Products').declarePublic('SignedE

Re: [Zope-dev] ZCatalog comments

2001-04-30 Thread R. David Murray
On Fri, 27 Apr 2001, Chris Withers wrote: > Wildcards? Hmmm... that's enticing, where and how will they be supported? Wildcards are supported (and have been for a while) in text index searches if you specify a globbing vocabulary at Catalog creation time. --RDM __

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-07 Thread R. David Murray
On Tue, 8 May 2001, Chris Withers wrote: > Chris McDonough wrote: > > Have you read the Interfaces.py file in the BTrees directory? > > I have now, and to be honest, it didn't mean a lot to me :-( > > Sorry, it's late here, what am I missing? My guess, after searching for the keyword 'map' and

Re: [Zope-dev] Object dereferancing Question

2001-05-08 Thread R. David Murray
On Tue, 8 May 2001, Jeff wrote: > I have created a product with a zclass that contains a zclass; classA contains >classB. [...] > Now for the part I don't understand. > I have a page where I would like dynamically display a classB object. I used the >following: > > > > Where 'index_objec

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-11 Thread R. David Murray
On Fri, 11 May 2001, Chris Withers wrote: > > Probably not appreciably... unless it is, of course. ;-) It depends how > > many things you're iterating over. > > Hehe, I'll leave it then, unless someone complains abotu Squishdot being dog > slow... If you haven't already read it, you might be i

Re: [Zope-dev] manage_workspace => index_html

2001-05-15 Thread R. David Murray
On Tue, 15 May 2001, Chris Withers wrote: > If so many browsers do this wrong (the list seems to currently be IE, Mozilla, > Lynx and W3M... at Netscape and you'll have about 99% coverage ;-) maybe it's > Zope that's wrogn by way of being in the minorty? > > peanut-gallery-ly yours, The problem

Re: [Zope-dev] Fwd: [Zope] ZCatalog + Directory product question

2001-05-21 Thread R. David Murray
On Thu, 17 May 2001, Casey Duncan wrote: > You should create an instance method (It will need to be a Python > script, DTML methods cannot be indexed)to return the result of the value To my understanding, this is not true. DTML Methods *can* be indexed, they just can't make use of REQUEST in wha

Re: [Zope-dev] What would *you* like to have in PropertyManager andfriends?

2001-05-29 Thread R. David Murray
On Tue, 29 May 2001, Chris Withers wrote: > > As for nicer interface... I guess you' ll have to elaborate a > > bit ;-) > > Well, I think it's manage_changeProperties (nasty name for starters) that > deletes any property you don't include in its arguments, see the interfaces > wiki for details.

Re: [Zope-dev] Browser Timeout

2001-05-30 Thread R. David Murray
On Wed, 30 May 2001, Andre Schubert wrote: > Is it right, the the browser send a request and got the response when > the site is completly rendered( all queries executed ) ? > If yes, how can i directly write to the client. First all headers, and > after every query send the data to the client, if

Re: [Zope-dev] Browser Timeout

2001-05-31 Thread R. David Murray
On Thu, 31 May 2001, Andre Schubert wrote: > I tested with lynx. If i type http://somewhere.com/foo/test i got no > response because timeout, this means, that RESPONSE.setStatus and the first > RESPONSE.write are sent back to the client if the body processing is done, > but i would send every comm

Re: [Zope-dev] Does creating REAL over-the-web Python code becomerealistic with Zope 2.4?

2001-06-01 Thread R. David Murray
On Fri, 1 Jun 2001, E. Seifert wrote: > at http://dev.zope.org/Resources/ZopeDirections.html: > >The major goal will be to simplify how components (now called products) > >are built and used. For example, currently some products are built in the > >filesystem and some are built in the object datab

RE: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-01 Thread R. David Murray
On Fri, 1 Jun 2001 [EMAIL PROTECTED] wrote: > My impression is that FileStorage implements a 32-bit id-type-thingy > somewhere (look at ZODB docs, I think there is something about this > somewhere), which limits it (in addition to the Linux kernel ext2 fs limit), > to < 2GB. With 7.5 GB, I'd use

Re: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-03 Thread R. David Murray
On Fri, 1 Jun 2001, Ng Pheng Siong wrote: > > Actually I have wondered something about that... Why does it always show > > up as linux2 even when not on linux? I'm on FreeBSD using a compiled from > > source python and Zope and it still shows up as Linux. > > lib/python/version.txt > > Just edi

Re: [Zope-dev] Streaming and PCGI

2001-06-06 Thread R. David Murray
On Wed, 6 Jun 2001, Andre Schubert wrote: > Can anybody explain me why streaming over PCGI doesn't work, or has > anybody a solution of streaming with PCGI ??? Perhaps the PCGI has its own timeout that doesn't wait even if it has been given some headers. I wonder if Apache ProxyPass has the same

Re: [Zope-dev] [Announce] API Documentation Fishbowl Project

2001-06-07 Thread R. David Murray
On Wed, 6 Jun 2001, jimbo wrote: > I believe that if you are a true developer you will/can figure out the api given >the vast information available today. > For example the dcworkflow product was just released. I believe the best >documentation would be how-to actually use the product. Ah,

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread R. David Murray
On Sun, 17 Jun 2001, Chris McDonough wrote: > index_object, because the splitter return has all the words > in order, even the dupes... as you iterate, you can mutate Is this part of the current formal Splitter Interface? If not, it needs to be if other code is going to depend on it. Oh, yeah, a

Re: [Zope-dev] Speed up the learning curve

2001-06-25 Thread R. David Murray
On Sun, 24 Jun 2001, Dieter Maurer wrote: > Rene Pijlman writes: > > A suggestion to cut the Zope learning curve down by half a day... > > > > When the programmer forgets the docstring in a method of a Python-based > > product, instead of saying > > > >"Sorry, the requested resource do

Re: [Zope-dev] Patching Zope Products .. next Question

2001-07-11 Thread R. David Murray
On Wed, 11 Jul 2001, Ulrich Eck wrote: > the CMFDefault.Document for example is still subclassed from > CMFCore.PortalContent (the default) and therefore doesn't behave > like a dataskin .. > > any ideas ? You can hotpatch the __bases__ attribute of the derived class. --RDM _

  1   2   >