Re: [Zope-dev] Re: AdaptableStorage

2003-01-21 Thread seb bacon
How about having a seperate process which just watched the files and notifed Zope when they changed? A definite possibility. It might even just poke an URL to send the notification. Since every storage will have its own unique notification scheme, which may be more or less inefficient

Re: [Zope-dev] Re: AdaptableStorage

2003-01-21 Thread Chris Withers
seb bacon wrote: Since every storage will have its own unique notification scheme, which may be more or less inefficient (worst case scenario, periodic polling of entire storage for recently modified items), it might make sense to have a notification server. It would make it simpler for users

Re: [Zope-dev] Can't return / publish object of a dictionary?

2003-01-21 Thread seb bacon
Jeff Rush wrote: Yeah, the new property type in Python 2.2 is pretty cool, but out of range for use under Zope at the moment. The ExtensionClass requirement for persistence eliminates using it with new style Python classes. Why? I can't see why ExtensionClass should not work with the new

Re: [Zope-dev] Re: AdaptableStorage

2003-01-21 Thread seb bacon
Chris Withers wrote: seb bacon wrote: Since every storage will have its own unique notification scheme, which may be more or less inefficient (worst case scenario, periodic polling of entire storage for recently modified items), it might make sense to have a notification server. It would

[Zope-dev] testMaxListUsers failure

2003-01-21 Thread Guido van Rossum
Who knows more about this test failure in the Zope 2.7 test suite? == FAIL: testMaxListUsers (testUserFolder.UserFolderTests) -- Traceback (most recent call

[Zope-dev] Zope reference counts

2003-01-21 Thread Ivo van der Wijk
Hi, I'm currently optimizing/analyzing a Zope server and I noticed the following: The number of references to specific objects (in this case specifically Squishdot comments) increases almost linear with the number of threads. Does this mean each thread keeps it's own cache pool of objects? Do

Re: [Zope-dev] Zope reference counts

2003-01-21 Thread Toby Dickenson
On Tuesday 21 January 2003 4:14 pm, Ivo van der Wijk wrote: Does this mean each thread keeps it's own cache pool of objects? yes Do these references point to the same object instances, or are these copied as well? They are independant copies I have the impression the memoryconsumption

[Zope-dev] Zope anonymous CVS temporarily offline

2003-01-21 Thread Martijn Pieters
Hi all, Due to the CVS vulnerabilities disclosed today, we have temporarily shut down anonymous CVS access to cvs.zope.org through pserver. We'll reenable this when we have upgraded CVS on the server. People with write access through SSH and the web interface at http://cvs.zope.org are still

[Zope-dev] Registering Product with Control Panel

2003-01-21 Thread Brian R Brinegar
Okay, I've got a product (Basic content object) Called HTMLBlock. When I start my ZEO Client with the product installed I don't recieve any error messages. The product is listed in the Select type to add... menu. However if I try to add an instance of the Product I recieve an AttributeError on

[Zope-dev] Re: [Zope-Coders] Zope anonymous CVS temporarily offline

2003-01-21 Thread Ken Manheimer
On Tue, 21 Jan 2003, Martijn Pieters wrote: Due to the CVS vulnerabilities disclosed today, we have temporarily shut down anonymous CVS access to cvs.zope.org through pserver. We'll reenable this when we have upgraded CVS on the server. People with write access through SSH and the web

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Adrian van den Dries
[Sorry about the broken thread] On January 20, Guido van Rossum wrote: You seem to forget that in debugging mode there are other things that happen (or not) besides logging. Ah, the infamous Zope side-effect, aka other cool stuff. :-) Thanks for the heads-up. And you can log to stderr

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new startscripts

2003-01-21 Thread Chris McDonough
On Tue, 2003-01-21 at 18:45, Adrian van den Dries wrote: But this means I can't really write a start script that works (or makes sense) with debug mode both on and off. Redirecting stderr to EVENT_LOG_FILE doesn't really make sense if we're detaching, and is ugly, etc.. I could write some

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Adrian van den Dries
On January 21, Chris McDonough wrote: It unfortunately means lots of things, all of which are implicitly twisted together in a huge mess I wasn't going to say it. ;-) It's that... and, unfortunately, god knows what else. To find out for sure, we'd need to audit the codebase (looking mostly

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Guido van Rossum
But this means I can't really write a start script that works (or makes sense) with debug mode both on and off. I don't think that's a valid use case anyway. Remember, debug mode really means don't daemonize and nothing more. This for use by a developer who wants to see possible exceptions,

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Adrian van den Dries
[OK, I've subscribed now] On January 21, Guido van Rossum wrote: There may be a Zope debug mode, but it's not related (even if it uses the same envariable). I'm sorry, I'm talking about Zope's debug mode. a. -- Adrian van den Dries [EMAIL PROTECTED] Development

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Paul Winkler
On Tue, Jan 21, 2003 at 07:26:11PM -0500, Chris McDonough wrote: z2.py -Z0 STUPID_LOG_FILE= ... which prevents Zope from detaching from the terminal but doesn't imply debug mode. This may only work on recent checkouts, the semantics of -Z have changed recently. Interesting! In 2.6.0 the

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Guido van Rossum
On January 21, Guido van Rossum wrote: There may be a Zope debug mode, but it's not related (even if it uses the same envariable). I'm sorry, I'm talking about Zope's debug mode. Eh? This started with your suggesting a change to ZEO/start.py, to which I objected. Oh well. What a waste

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Paul Winkler
On Tue, Jan 21, 2003 at 08:07:01PM -0500, Guido van Rossum wrote: On January 21, Guido van Rossum wrote: There may be a Zope debug mode, but it's not related (even if it uses the same envariable). I'm sorry, I'm talking about Zope's debug mode. Eh? This started with your