Re: [Zope-dev] multiple monkeypatches

2002-06-06 Thread Casey Duncan
I really think the only way to make this work is to design the products with this in mind. Perhaps by developing a defacto standard for doing monkey patches nicely. I am going to experiment with ExternalEditor to see if I can dynamically patch manage_main reliably rather than replacing it

Re: [Zope-dev] re: First call to external method after restart fails

2002-06-06 Thread Casey Duncan
This has been fixed in CVS in the trunk and the 2.5 branch. Zope 2.6 will contain the fix. To get the fix for 2.5, run the 2.5 branch of CVS or just update the ExternalMethod product from the one in CVS. -Casey On Wed, 2002-06-05 at 23:11, Emile van Sebille wrote: I found this post from Ted

Re: [Zope-dev] re: First call to external method after restart fails

2002-06-06 Thread Emile van Sebille
Problem solved after installing ExternalMethod.py from cvs. Thanks! Emile van Sebille [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] multiple monkeypatches

2002-06-06 Thread Jerome Alet
On Thu, Jun 06, 2002 at 09:24:58AM -0400, Casey Duncan wrote: I am going to experiment with ExternalEditor to see if I can dynamically patch manage_main reliably rather than replacing it outright. If I work out a reliable scheme, I'll write a how-to on it. Then maybe other products can then

[Zope-dev] Using propertysheets?

2002-06-06 Thread Lennart Regebro
I'm making a Zope product (in python) where I want the users to have control over what properties that exist. At the same time I don't want the users to have to deal with having all properties in one big mess under the standard Property-tab. So, my question is then: Should I use the

Re: [Zope-dev] Testing Zope Products with Python Debugger

2002-06-06 Thread R. David Murray
On Wed, 5 Jun 2002, Robert Rottermann wrote: Just install a second Zope and have it running from an other Port. You don't even have to install a second zope. Just use an INSTANCE_HOME setup to start zope with a different port and different Data.fs. --RDM

Re: [Zope-dev] Using propertysheets?

2002-06-06 Thread peter sabaini
Lennart Regebro wrote: I'm making a Zope product (in python) where I want the users to have control over what properties that exist. At the same time I don't want the users to have to deal with having all properties in one big mess under the standard Property-tab. So, my question is then:

Re: [Zope-dev] __setattr__ and acquisition ( was RE: __getattr__and acquisition)

2002-06-06 Thread Leonardo Rochael Almeida
The only way I know is to put a wrapped object in a ._v_attribute, which means a volatile attribute. You can put, for instance, a wrapped self in, for instance self._v_alterEgo, this way you can do wrapped transversals thru it. How do you get a wrapped self to put there is an exercise left to

[Zope-dev] DAV collections, index_html, and HEAD

2002-06-06 Thread Karl Anderson
Objects that inherit from Folder (and therefore from Collection) and also have an index_html that's a Python method (or othewise nonvanilla, presumably) return a 405 (Method Not Allowed) for HTTP HEAD requests. Zope 2.5.1 raises on line 57 of Collection.py. The object raises if its index_html