Re: [Zope-dev] Cause for Zope 2.3.1 hang-ups found

2001-04-09 Thread Stephan Richter
What leads you to believe that cst 0.7 causes a hangup? because I noticed that all instances of 2.3.1 work just fine. Then I ran wget with 100 threads on our products site and nothing happened, except I did not test the Proiektor demo, which uses the session management. Furthermore, I knew

[Zope-dev] Re: your mail

2001-04-09 Thread Federico Di Gregorio
Scavenging the mail folder uncovered Randall F. Kern's letter: [snip] Concurrent updates are not supported in the serializable transaction mode; if one transaction tries to update (or delete) a row that has already been updated by a concurrent uncommitted transaction, the second transaction

Re: [Zope-dev] how can I stop zope through ftp?

2001-04-09 Thread Phil Harris
My take is that you won't be able to restart Zope via FTP, but you can do it with a normal URL link. The URL would be http://yourmachine/Control_Panel/manage_restart to restart it or http://yourmachine/Control_Panel/manage_shutdown to close Zope down. Obviously you will need to authenticate in

[Zope-dev] Tracebacks( was can't use manage_access (security/Roles) in ZOPE2.3.1b3)

2001-04-09 Thread Chris Withers
Marcus Schopen wrote: Traceback (innermost last): File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module Any chance of seeing the error type and value for this traceback? You've chopped off the most useful bits.. (that said, I really don't know why Zope does

[Zope-dev] Follow-up: Zope 2.3.1 and CoreSessionTracker 0.8

2001-04-09 Thread Stephan Richter
Ok, after looking for a while, I found the restart problem, so I commented the following two lines out: SessionData.py line 131 SessionData.py line 137 Note, this is NOT a solution to the problem, but makes it work. I ran the site through wget again with several threads and the session

[Zope-dev] Catalog Indexes.

2001-04-09 Thread Erik Enge
I need some help with indexes. I'm confused about what I can index in which Index. Which index does not remove numbers? Which of them do I use to index a telephone number (containing characters). What about email addresses? Special characters? *oink* Help...

[Zope-dev] ZSQL methods seriously broken

2001-04-09 Thread Martijn Faassen
Hi there, Type marshalling is seriously broken in ZSQL methods. The bug is a bit subtle, though. There are reports of this in the collector almost a month old, and the severity of this bug is pretty high (could seriously disrupt Zope upgrades to recent versions which apparently have this bug; I

Re: [Zope-dev] Catalog Indexes.

2001-04-09 Thread Chris Withers
Erik Enge wrote: I'm confused about what I can index in which Index. Which index does not remove numbers? FieldIndex, KeyIndex Which of them do I use to index a telephone number How would you like to search that index? (containing characters). What about email addresses? Special

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Erik Enge
On Thu, 5 Apr 2001, Michael R. Bernstein wrote: I'm trying to find out of there is a point where you start getting non-linear performance penalties for additional objects (storing, retreiving, or indexing). I don't know, but I feel that is the case. Actually, I know it is the case, but I

Re: [Zope-dev] Catalog Indexes.

2001-04-09 Thread Erik Enge
[observe the speed of Chris replying... *astounded* :)] On Mon, 9 Apr 2001, Chris Withers wrote: Erik Enge wrote: I'm confused about what I can index in which Index. Which index does not remove numbers? FieldIndex, KeyIndex Wow, KeyIndex? Is this a new one? Or did you mean

Re: [Zope-dev] Follow-up: Zope 2.3.1 and CoreSessionTracker 0.8

2001-04-09 Thread Chris McDonough
Did you specify onstart and onend events in the data manager? - Original Message - From: "Stephan Richter" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 09, 2001 5:32 AM Subject: [Zope-dev] Follow-up: Zope 2.3.1 and CoreSessionTracker 0.8 Ok, after looking for a while,

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Chris Withers
Zopista wrote: Hear, hear. The cost of the incremental cataloguing is horrific. One of our developers when we started with Zope a year ago wrote a great script that imported a bunch, restarted zope, packed it, restarted it, imported a bunch more to get optimal performance. We dont do it

Re: [Zope-dev] Catalog Indexes.

2001-04-09 Thread Zopista
I'd like to find this telephone number (it is a string...): +44 1234 123456. But no partial matching? Use a FieldIndex... If you want partial matching you're fu... not in a very good position ;-) Theres a cool hack to Splitter.c by Jason Spisak that doesnt remove numbers and punctuation

Re: [Zope-dev] Catalog Indexes.

2001-04-09 Thread Chris Withers
Erik Enge wrote: Wow, KeyIndex? Is this a new one? Or did you mean KeywordIndex? Bleugh... KeywordIndex :-) Which of them do I use to index a telephone number How would you like to search that index? I'd like to find this telephone number (it is a string...): +44 1234 123456.

Re: [Zope-dev] ZSQL methods seriously broken

2001-04-09 Thread Martijn Faassen
[browsing through old versions of Zope] I can't find any code that's supposed to do this in old versions of Zope either. (I may be missing something, though) If this feature was never there, I'd consider the ZSQL documentation (for instance in the Zope help) to be quite broken however.

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Andy McKay
As I said this was a year ago... but still incremental cataloging is very expensive. -- Andy McKay. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Zopista" [EMAIL PROTECTED] Cc: "Erik Enge" [EMAIL PROTECTED]; "Michael R. Bernstein" [EMAIL PROTECTED]; [EMAIL

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Andy McKay
Any cataloguing and un-cataloguing of an object is expensive, c'mon you are changing all the indices, vocabulary and so on. You never notice it normally for 1 - 10 things, but run an import script of 1 and catalog each object as it gets added (rather than all of them at the end) and you'll

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Chris Withers
Andy McKay wrote: Any cataloguing and un-cataloguing of an object is expensive, c'mon you are changing all the indices, vocabulary and so on. Yup... You never notice it normally for 1 - 10 things, but run an import script of 1 and catalog each object as it gets added (rather than

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Michael R. Bernstein
Andy McKay wrote: Any cataloguing and un-cataloguing of an object is expensive, c'mon you are changing all the indices, vocabulary and so on. You never notice it normally for 1 - 10 things, but run an import script of 1 and catalog each object as it gets added (rather than all of them

[Zope-dev] ZPatterns Attribute Provider Problem

2001-04-09 Thread Christian Scholz
Hi everybody! I am trying to write some attribute provider for storing data inside an SQL table as I am bored of typing parameter lists over and over again (e.g. in every ZSQL method, in every SkinScript method etc.) The problem now is that adding a new row to the table (and thus adding a new

Re: [Zope-dev] ZODBCA questions...

2001-04-09 Thread Andy McKay
Well I havent been able to prove its ZODBCA yet... the other alternative is perlDBI but that has a small performance hit. Cheers. -- Andy McKay. - Original Message - From: "Bryan Baszczewski" [EMAIL PROTECTED] To: "'Andy McKay'" [EMAIL PROTECTED] Sent: Monday, April 09, 2001 11:28 AM

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Andy McKay
Andy McKay wrote: Any cataloguing and un-cataloguing of an object is expensive, c'mon you are changing all the indices, vocabulary and so on. You never notice it normally for 1 - 10 things, but run an import script of 1 and catalog each object as it gets added (rather than all of

Re: [Zope-dev] ZODBCA questions...

2001-04-09 Thread Andy McKay
According to the Database Adapter RoadMap (http://www.zope.org/Members/petrilli/DARoadmap), ZODBCA will be level 2 compliant at one point. Yet ZODBCA hasnt been touched since 1999. Is ZODBCA level 2 compliant? Cheers. -- Andy McKay. - Original Message - From: "Bryan Baszczewski"

[Zope-dev] Windows FAQ / Help area?

2001-04-09 Thread Andy McKay
Just thinking how many little tidbits I know related to running Zope on Windows that are very platform and installation specific. Do people think it would be a good idea to start at least a wiki / faq section somewhere covering this? Do other windows users think there is enough stuff to put in

RE: [Zope-dev] ZODBCA questions...

2001-04-09 Thread Bryan Baszczewski
After reading this about Level 2: "While a sub-optimal solution, it should be usable on any application that has minimal, or infrequent, database access" Then about the ZODBC DA itself: "Long term progress. See information below on the future of a X/Open CLI interface DA." ...blah blah

RE: [Zope-dev] Windows FAQ / Help area?

2001-04-09 Thread Bryan Baszczewski
How about database access (i.e. ODBC adapters) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andy McKay Sent: Monday, April 09, 2001 3:51 PM To: [EMAIL PROTECTED] Subject: [Zope-dev] Windows FAQ / Help area? Just thinking how many little tidbits I

Re: [Zope-dev] Windows FAQ / Help area?

2001-04-09 Thread Andy McKay
when I find the answer... ;) -- Andy McKay. - Original Message - From: "Bryan Baszczewski" [EMAIL PROTECTED] To: "'Andy McKay'" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, April 09, 2001 1:10 PM Subject: RE: [Zope-dev] Windows FAQ / Help area? How about database access (i.e.

RE: [Zope-dev] Windows FAQ / Help area?

2001-04-09 Thread Loren Stafford
Especially, how to set up permissions on the server machine and file servers so that database connections and Local File Systems work. One problem I have now and haven't found a good solution to is how to ensure that, when Zope is started at (NT 4) system initialization, it has the right

RE: [Zope-dev] Windows FAQ / Help area?

2001-04-09 Thread Bryan Baszczewski
Your answer: http://www.zope.org/Members/djay/ZmxODBC -Original Message- From: Andy McKay [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 4:02 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Zope-dev] Windows FAQ / Help area? when I find the answer... ;) -- Andy

[Zope-dev] Objects, Roles and Permissions

2001-04-09 Thread Danny William Adair
Hello warriors, what's the fastest way to find out whether a specific role has a specific permission on a specific object? What's the fastest way to find out if it's acquired? Even more interesting: How would I find out whether a specific role has a specific permission on a specific object,

[Zope-dev] I am looking for a DragDrop target.

2001-04-09 Thread robert at rocad
Hi there, I would like to be able to allow people to upload files to a zope site by dropping them on a drop target someplace on a webbrowser showing the zope site. Can anyone point me towards a solution. Is there an example someplace? Thank you Robert

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Sin Hang Kin
Concerning Zcatalog: 1. Search of vocabulary is fully matched, partial search, trancate search or fuzzy search will be useful for searcher. 2. If we catalog all things in one catalog, then we need to make filter when we want to search on one particular portation. 3. I would like to suggest :

[Zope-dev] ZUserFolder usage and development

2001-04-09 Thread Tim McLaughlin
Dave, 1. I say sync because UserFolder keeps its objects in an attribute called "data" (list of Users) whereas ObjectManager does not. The 'name' attribute is no longer necessary because I usee the id of the object and allowing it to be specified presents potential discord. 2. Correct, you're

Re: [Zope-dev] Objects, Roles and Permissions

2001-04-09 Thread richard
Danny William Adair wrote: what's the fastest way to find out whether a specific role has a specific permission on a specific object? What's the fastest way to find out if it's acquired? Even more interesting: How would I find out whether a specific role has a specific permission on a

Re: [Zope-dev] ZODBCA questions...

2001-04-09 Thread Matthew T. Kromer
ZODBCA is on my list of things to evaluate freshing... there is a good chunk of code out there for a CLI interface. One of the project wikis mentions it somewhat, which I'll update on dev.zope.org as I get better details. The downside is I am not an NT evangelist; I'm more like a penguin in a

Re: [Zope-dev] ZPatterns sub-Specialist traversal

2001-04-09 Thread Michael R. Bernstein
With some help from the kind folks on #zope, this has been solved. "Michael R. Bernstein" wrote: Here is what I've done: ArchiveImages (Specialist) defaultRack traversal_method (Python Script) traversal (SkinScript) Renderings (sub-Specialist) defaultRack This was wrong in a

Re: [Zope-dev] Tracking memory leak

2001-04-09 Thread Chris McDonough
A painful, but effective way is to get a rough idea of what might be leaking and then go disable code in the thing that you think is leaking in large sections... I know this isn't very helpful, but it's true. Andy McKay wrote: Does anyone have advice for tracking (apparent) memory leaks other

[Zope-dev] standard_error_message manipulation

2001-04-09 Thread Dyon Balding
Hi, As part of a large python product I wanted to modify the normal "Zope Error" standard_error_message page. Most exceptions will be caught in the code, and therefore those that do get through and cause an error message to be displayed to the user probably indicate a bug in our code. I would

Re: [Zope-dev] standard_error_message manipulation

2001-04-09 Thread Andy McKay
I run error_value through a simple python script to get the original message back again :) Cheers. -- Andy McKay. - Original Message - From: "Dyon Balding" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 09, 2001 9:44 PM Subject: [Zope-dev] standard_error_message

Re: [Zope-dev] standard_error_message manipulation

2001-04-09 Thread Dyon Balding
argh! that wasn't the answer i was looking for :) -d On Mon, Apr 09, 2001 at 09:57:36PM -0700, Andy McKay wrote: I run error_value through a simple python script to get the original message back again :) Cheers. -- Andy McKay. - Original Message - From: "Dyon Balding"

Re: [Zope-dev] standard_error_message manipulation

2001-04-09 Thread Andy McKay
Sorry what answer would you like? :) Cheers. -- Andy McKay. - Original Message - From: "Dyon Balding" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Cc: "Dyon Balding" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, April 09, 2001 9:57 PM Subject: Re: [Zope-dev]

Re: [Zope-dev] Tracking memory leak

2001-04-09 Thread Andy McKay
Seems a little shoddy but ok. I'll start with my own products, assuming stuff from DC is fine :) Cheers. -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, April 09, 2001 7:01 PM

[Zope-dev] Image Archive Project (phase 2)

2001-04-09 Thread Michael R. Bernstein
Ok, I now have the following setup: ArchiveImages (Specialist) defaultRack traversal (SkinScript) traversal_method (Python Script) Renderings (Specialist) defaultRack The SkinScript in ArchiveImages/defaultRack simply points __bobo_traverse__ to traversal_method. traversal_method, in

Re: [Zope-dev] I am looking for a DragDrop target.

2001-04-09 Thread Robert Rottermann
Thanks for your tip. This is where I am heading. Just there may be something embeded in python. Robert I'm just speculating, because I've never done this, but I do remember that Javascript has a event handler named "onDragDrop". Perhaps you could use that to fill in the name of the file