Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2000-12-20 Thread Toby Dickenson
On Mon, 18 Dec 2000 14:11:51 -0500, "Brian Lloyd" [EMAIL PROTECTED] wrote: This is something that has come up before. I propose that the real problem here is that 'objectIds' should not be web-traversable. I have, in fact, proposed this before. It caused a bit of grumbling among people

Re: [Zope-dev] Performance enhancements, ZCatalog

2000-12-20 Thread Martijn Pieters
On Wed, Dec 20, 2000 at 12:56:36AM +, Jason Spisak wrote: ZCatalog enthusiasts, I just upgraded our zope installation from 2.1.6 to 2.2.4, and the ZCatalog performance is aweful. Can someone remind me what the command for speeding up python on a dual processor machine is? python -T?

Re: [Zope-dev] ZCatalog very unhappy

2000-12-20 Thread Jason Spisak
Whew! I thought something was trashed. Thanks for your prompt replies guys! All my best, Christopher Petrilli writes: Jason, This was accidentally uncommented in the 2.2.4 release, you can ignore it, or comment out the message line in UnIndex.py. It's innocuous. Chris -- |

Re: [Zope-dev] Keyword Indexes causing Keyerrors

2000-12-20 Thread Christopher Petrilli
On 12/20/00 11:33 AM, "Itamar Shtull-Trauring" [EMAIL PROTECTED] wrote: I'm getting tons and tons of keyerrors when making changes to a catalogaware object's keyword index and then reindex_object() it. Alternatively, the Catalog doesn't get updated at all. Is there any way to prevent this

Re: [Zope-dev] Keyword Indexes causing Keyerrors

2000-12-20 Thread Christopher Petrilli
On 12/20/00 11:52 AM, "Itamar Shtull-Trauring" [EMAIL PROTECTED] wrote: KeyErrors - the logging says: 2000-12-20T16:33:00 ERROR(200) UnKeywordIndex unindex_object could not remove 3 from set This is not the "KeyError" in the sense that it's not propogated up to the top level, but it is a

Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2000-12-20 Thread Dieter Maurer
Toby Dickenson writes: ... protocol specific access rights ... Please No. Zope security is complex enough without having to worry about different security settings depending on how a method is accessed. (And we should have a lower tolerance for complexity when it applies to

Re: [Zope-dev] Loginmanager and local roles

2000-12-20 Thread Michael Bernstein
"Morten W. Petersen" wrote: [Morten W. Petersen] | Any suggestions? Found the problem. There needs to be a method called user_names in the acl_users folder, which returns all the user ids: [snip solution] Sorry I didn't see your question earlier. Here was what I posted to the list

Re: [Zope-dev] ZCatalog very unhappy

2000-12-20 Thread Jason Spisak
Chris: You mean the -D in z2.py, right? Jason, That logging is probably slowing things down too... shut it off to see if you can get a performance increase. - Original Message - From: "Jason Spisak" [EMAIL PROTECTED] To: "Christopher Petrilli" [EMAIL PROTECTED] Cc: [EMAIL

Re: [Zope-dev] ZPatterns, ZClasses, Specialists: Assigning responsibilities

2000-12-20 Thread Itai Tavor
Phillip J. Eby wrote: This should probably be more like: product.addMeToOrder(): item = OrderLineItems.newLineItemFor(self) item.setQuantity(...) etc. order.addLineItem(item) customizable_product.addMeToOrder(): item = OrderLineItems.newLineItemFor(self)

[Zope-dev] partial search performance problems...

2000-12-20 Thread John Eikenberry
I just did some tests on the performance of the partial matching features of ZCatalog. They weren't as good as I hoped. A Catalog of 2000 objects, text index on a 10 char string (person's last name), with a partial search that will match only 200 items... it takes 10 seconds. At 1000 matches it