I am trying to resolve some Oracle issues with ZopeProfiler, but it's a "monkey patch" with no instructions on installing it. I've searched this mailing list and the zope.org website high and low for instructions on installing a "monkey patch," but I'll be damned if I can find them. Can someone offer assistance? Thanks John
I think monkeypatch refers to the fact the code is a source code change to Zope and not a product/object solution. My guess is (and I don't know) that it replaces the same code/script/python in the Zope source tree in your Zope installation. BZ -- http://www.zopezone.com http://www.bluewildfire.com
I am trying to resolve some Oracle issues with ZopeProfiler, but it's a "monkey patch" with no instructions on installing it. I've searched this mailing list and the zope.org website high and low for instructions on installing a "monkey patch," but I'll be damned if I can find them. Can someone offer assistance?
Thanks
John
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Tue, Oct 14, 2003 at 01:36:10PM -0400, John Coleman wrote:
I am trying to resolve some Oracle issues with ZopeProfiler, but it's a "monkey patch" with no instructions on installing it. I've searched this mailing list and the zope.org website high and low for instructions on installing a "monkey patch," but I'll be damned if I can find them. Can someone offer assistance?
"Monkey patch" means that instead of patching the actual source code, we are replacing some class or function at runtime. It's the same as a "Hotfix" except it's generally agreed that the Hotfix name is reserved for security-related patches. Monkey patches are normally distributed and installed like any other zope product: You put the directory in your Products directory and restart. That's it. IIRC, ZopeProfiler follows this pattern. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's METABOLIC INVESTIGATOR! (random hero from isometric.spaceninja.com)
A monkey patch is a Zope Product that functions by redefining object bindings to change functionality. On Tue, 14 Oct 2003, John Coleman wrote:
I am trying to resolve some Oracle issues with ZopeProfiler, but it's a "monkey patch" with no instructions on installing it. I've searched this mailing list and the zope.org website high and low for instructions on installing a "monkey patch," but I'll be damned if I can find them. Can someone offer assistance?
Thanks
John
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
John Coleman wrote at 2003-10-14 13:36 -0400:
I am trying to resolve some Oracle issues with ZopeProfiler, but it's a "monkey patch" with no instructions on installing it.
"ZopeProfiler" is a Zope product and is installed in the usual way: you unpack the "tar" archive in Zope's "Products" folder. Depending on your setup, there may be different "Products" folders. One is in the so called "SOFTWARE_HOME" (usually "<zopedir>/lib/python"). There may be one in "INSTANCE_HOME" (when you defined this environment variable). "ZopeProfiler" uses "Monkey patching" to hook the profiler in the ZPublisher code. This can interfere with other products that use a similar monkey patch. That's the only reason why it is mentioned. You need not to worry about this when installing "ZopeProfiler". Dieter
participants (5)
-
BZ -
Dennis Allison -
Dieter Maurer -
John Coleman -
Paul Winkler