Re: [Zope-dev] using WSGIPublisher

2012-10-30 Thread Ross Patterson
Martin Aspeli optilude+li...@gmail.com writes: On 7 June 2012 07:20, Michael Howitz m...@gocept.com wrote: Am 06.06.2012 um 19:58 schrieb Hanno Schlichting: […] As I said above, my main concern is keeping publisher events and exception views intact. Some of these events need to happen in

Re: [Zope-dev] We need to change how code ownership works.

2012-08-20 Thread Ross Patterson
Wolfgang Schnerring w...@gocept.com writes: * Lennart Regebro rege...@gmail.com [2012-08-19 13:01]: On Sun, Aug 19, 2012 at 10:30 AM, Jens Vagelpohl j...@dataflake.org wrote: As far as I understand it, the legal lynchpin is that using Github (strongly) encourages merging code contributions of

Re: [Zope-dev] We need to change how code ownership works.

2012-08-20 Thread Ross Patterson
Charlie Clark charlie.cl...@clark-consulting.eu writes: Am 20.08.2012, 12:27 Uhr, schrieb Robert Niederreiter r...@squarewave.at: https://github.com/popular/starred i doubt that github i willing to get into the doghouse by doing really nasty things - and thus getting into risk of loosing

Re: [Zope-dev] [Checkins] SVN: zc.buildout/ Moved to github

2012-08-19 Thread Ross Patterson
Robert Niederreiter r...@squarewave.at writes: On 19.08.2012 10:30, Jens Vagelpohl wrote: On Aug 19, 2012, at 10:17 , Lennart Regebro rege...@gmail.com wrote: And since it becomes ever easier to accept code from unknown sources (e.g. pull requests) legal code ownership becomes an issue

Re: [Zope-dev] Adding broken/missing support to zope.interface?

2012-04-11 Thread Ross Patterson
Hanno Schlichting ha...@hannosch.eu writes: On Mon, Apr 9, 2012 at 10:33 PM, Tres Seaver tsea...@palladion.com wrote: Persistent component registries are not a good enough reason to add such coupling (I'd be in favor of splitting support for persistent registries out of zope.component, too,

[Zope-dev] Adding broken/missing support to zope.interface? (was: experimental.broken - Graceful handling of broken interfaces and components in the ZODB)

2012-04-08 Thread Ross Patterson
Ross Patterson m...@rpatterson.net writes: I've done some more work on this and I've gotten the component registrations fully working now with one exception that I'm having real trouble with. I'd like some help with that, more below. I'm also a bit more clear on what might be appropriate

Re: [Zope-dev] [Plone-developers] experimental.broken - Graceful handling of broken interfaces and components in the ZODB

2012-04-08 Thread Ross Patterson
Raphael Ritz r.r...@biologie.hu-berlin.de writes: On 11/7/11 10:36 AM, Malthe Borch wrote: On 7 November 2011 09:17, Ross Pattersonm...@rpatterson.net wrote: The intention of this package is to see if the implementation of broken object handling is correct and robust enough to merge into

Re: [Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-04 Thread Ross Patterson
Malthe Borch mbo...@gmail.com writes: I always found configuration overrides (e.g. ZCML's includeOverrides directive) to be difficult to manage and hard to get right. How about an alternative where you can put a priority on a configuration context like so: adapter zcml:priority=100 ... /

Re: [Zope-dev] Zope 3 porting sprint?

2010-11-25 Thread Ross Patterson
Lennart Regebro rege...@gmail.com writes: OK, I've run out of steam for this run of trying to port zc.buildout to Python 3. I got pretty far, in fact. Of course, if we wait too long, somebody will make big changes, and all will be messy and the branch will rot and we might as well start over.

Re: [Zope-dev] Zope3 sessions and database conflicts

2010-03-04 Thread Ross Patterson
Hermann Himmelbauer du...@qwer.tk writes: Hi, For quite some time I see messages like this in my z3.log: 2010-03-02T16:27:14 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/images/sponsor_logo.png: database conflict error (oid 0x063f,

Re: [Zope-dev] Adding W3C validating to zope.testbrowser

2010-02-28 Thread Ross Patterson
Brian Sutherland br...@vanguardistas.net writes: On Tue, Feb 23, 2010 at 04:57:02PM +0200, Marius Gedminas wrote: On Tue, Feb 23, 2010 at 08:57:09AM -0500, Benji York wrote: On Sat, Feb 20, 2010 at 7:53 AM, Ross Patterson m...@rpatterson.net wrote: I started a branch for doing W3C HTML

Re: [Zope-dev] Adding W3C validating to zope.testbrowser

2010-02-21 Thread Ross Patterson
Ross Patterson m...@rpatterson.net writes: I started a branch for doing W3C HTML validation on responses to zope.testbrowser requests: svn://svn.zope.org/repos/main/zope.testbrowser/branches/rossp-validator The idea is to be able to flip a switch and run all my functional zope.testbrowser

[Zope-dev] Adding W3C validating to zope.testbrowser

2010-02-20 Thread Ross Patterson
I started a branch for doing W3C HTML validation on responses to zope.testbrowser requests: svn://svn.zope.org/repos/main/zope.testbrowser/branches/rossp-validator The idea is to be able to flip a switch and run all my functional zope.testbrowser tests and see validation failures as test

[Zope-dev] zope.testing.testrunner.debug.post_mortem and try/finally

2009-12-02 Thread Ross Patterson
When a try/finally clause is (appropriately) used to do cleanup after an exception during a test run, it often tears down parts of the fixture that are needed in order to do useful post_mortem debugging of the exception, such as closing the request or db connections. What is the best way to do

Re: [Zope-dev] zope.testing.testrunner.debug.post_mortem and try/finally

2009-12-02 Thread Ross Patterson
Tres Seaver tsea...@palladion.com writes: Ross Patterson wrote: When a try/finally clause is (appropriately) used to do cleanup after an exception during a test run, it often tears down parts of the fixture that are needed in order to do useful post_mortem debugging of the exception

Re: [Zope-dev] zope.testing.testrunner.debug.post_mortem and try/finally

2009-12-02 Thread Ross Patterson
Benji York be...@zope.com writes: On Wed, Dec 2, 2009 at 1:22 PM, Ross Patterson m...@rpatterson.net wrote: I'm sorry, I was unclear, the try/finally clauses are not necessarily in *test tearDown* methods (though I used that language), they are often a part of the application being tested

Re: [Zope-dev] improving the utility and adapter lookup APIs

2009-11-25 Thread Ross Patterson
Marius Gedminas mar...@gedmin.as writes: On Wed, Nov 25, 2009 at 01:29:25PM -0500, Tres Seaver wrote: Matthew Wilkes wrote: On 2009-11-25, at 1601, Benji York wrote: I'm not sure I like the following suggestion better than the above, but throwing it out there anyway: Multiadapter:

Re: [Zope-dev] Zope and Cygwin

2009-03-26 Thread Ross Patterson
Cesar Canassa cesar.cana...@gmail.com writes: I am trying to run Zope using cygwin and Windows XP. I started by downloading the Python 2.4.6 sources and compiling it with: ./configure make make install After that I downloaded the Zope-2.11.2-final sources and compiled it with:

Re: [Zope-dev] zc.recipe.cmmi shared builds

2009-03-24 Thread Ross Patterson
Wolfgang Schnerring w...@gocept.com writes: I'd like to extend zc.recipe.cmmi to support shared build directories. Use case example: we use lxml in a lot of our projects, which currently means having to build libxml and libxslt over and over again, since the buildout needs to be standalone

Re: [Zope-dev] zope.index

2008-12-02 Thread Ross Patterson
Benji York [EMAIL PROTECTED] writes: On Tue, Dec 2, 2008 at 6:48 AM, Dan Korostelev [EMAIL PROTECTED] wrote: 2008/12/2 Marius Gedminas [EMAIL PROTECTED]: On Tue, Dec 02, 2008 at 02:04:39AM +0300, Dan Korostelev wrote: I just removed zope.testing from the zope.index dependency and replaced

[Zope-dev] zope.app.keyreference adds IPersistent objects to connections inappropriately? (was: five.intid and DirectoryView)

2008-06-29 Thread Ross Patterson
it should get that might not be valid. Here's the thread: http://thread.gmane.org/gmane.comp.web.zope.plone.product-developers/2309 Thoughts? Ross Ross Patterson [EMAIL PROTECTED] writes: Tres Seaver [EMAIL PROTECTED] writes: Martijn Pieters wrote: On Fri, Jun 27, 2008 at 6:53 PM, Ross

[Zope-dev] Re: unregistering components?

2007-11-24 Thread Ross Patterson
Chris Withers [EMAIL PROTECTED] writes: Hi All, Does the component architecture support un-registering adapters and the like? From zope.component.interfaces: class IComponentRegistry(interface.Interface): Register components snip... def unregisterUtility(component=None,

[Zope-dev] Re: Zope 3 catalog

2007-11-02 Thread Ross Patterson
Roché Compaan [EMAIL PROTECTED] writes: Where can one find Zope 3 catalog? Or is it simply zope.index? I think zope.app.catalog is what you're looking for. Ross ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] Re: Zope 3 catalog

2007-11-02 Thread Ross Patterson
Roché Compaan [EMAIL PROTECTED] writes: On Fri, 2007-11-02 at 11:44 -0700, Ross Patterson wrote: Roché Compaan [EMAIL PROTECTED] writes: Where can one find Zope 3 catalog? Or is it simply zope.index? I think zope.app.catalog is what you're looking for. Thanks. I was looking at the Zope

[Zope-dev] Re: zc.recipe.egg and 'install' instead of 'develop'?

2007-10-31 Thread Ross Patterson
Jim Fulton [EMAIL PROTECTED] writes: On Oct 31, 2007, at 4:58 PM, Sidnei da Silva wrote: On 10/31/07, Jim Fulton [EMAIL PROTECTED] wrote: On Oct 31, 2007, at 12:45 PM, Sidnei da Silva wrote: Is there a recipe that will 'install' a distutils package from source instead of doing 'develop'?

[Zope-dev] Re: zcml entry points

2007-10-17 Thread Ross Patterson
Martin Aspeli [EMAIL PROTECTED] writes: Fred Drake wrote: On 10/17/07, Martin Aspeli [EMAIL PROTECTED] wrote: The main win, IMHO, is to avoid the requirement for people to install slugs for third party products. Slugs suck - they are confusing to explain and people forget them all the time.

[Zope-dev] Getting PAS users to show up in the access log/Z2.log

2007-08-23 Thread Ross Patterson
It seems like ZServer/medusa/http_server.py is responsible for logging requests to the access log/Z2.log and it only extracts the user from the HTTP basic auth header. I'd like to have the Z2.log reflect my PAS users so I started a branch at

[Zope-dev] Re: Getting PAS users to show up in the access log/Z2.log

2007-08-23 Thread Ross Patterson
Ross Patterson [EMAIL PROTECTED] writes: It seems like ZServer/medusa/http_server.py is responsible for logging requests to the access log/Z2.log and it only extracts the user from the HTTP basic auth header. I'd like to have the Z2.log reflect my PAS users so I started a branch at http

[Zope-dev] Re: [Plone-developers] Getting PAS users to show up in the access log/Z2.log

2007-08-23 Thread Ross Patterson
Wichert Akkerman [EMAIL PROTECTED] writes: Previously Ross Patterson wrote: Ross Patterson [EMAIL PROTECTED] writes: It seems like ZServer/medusa/http_server.py is responsible for logging requests to the access log/Z2.log and it only extracts the user from the HTTP basic auth header

[Zope-dev] Re: [Plone-developers] Getting PAS users to show up in the access log/Z2.log

2007-08-23 Thread Ross Patterson
Wichert Akkerman [EMAIL PROTECTED] writes: Previously Ross Patterson wrote: Wichert Akkerman [EMAIL PROTECTED] writes: Previously Ross Patterson wrote: Ross Patterson [EMAIL PROTECTED] writes: It seems like ZServer/medusa/http_server.py is responsible for logging requests

[Zope-dev] Is if sys.exc_info()[2].tb_next is not None: raise Evil? Concerns Products.GenericSetup, zope.configuration and others

2007-08-03 Thread Ross Patterson
While trying to use zope.app.modul.ZopePersistentModuleImporter, I ran across an interaction with code that uses the following hack to try and discern where an exception was raised. if sys.exc_info()[2].tb_next is not None: raise The problem is occurs when an application provides

[Zope-dev] How can I tell if an object in a ZODB is being activated? Concerns zope.app.module.importer.

2007-08-03 Thread Ross Patterson
I'm working on zope.app.module.ZopePersistentModuleImporter. As noted in zodbcode.module.PersistentModuleImporter.__doc__, if the persistent module registry which is consulted on import queries a persistent site manager then the site manager must be activated before being queried or a circular

[Zope-dev] Re: ZClassNG proposal makes Archetypes Easy.

2007-04-24 Thread Ross Patterson
Laurence Rowe [EMAIL PROTECTED] writes: I actually think TTW schema generation has some validity (so content types can be easily generated by users). Restricted Python (in python scripts) just kind of sucks though for being almost python but a little different. You could keep python code on

[Zope-dev] Re: Why are ZClasses Dead

2007-04-18 Thread Ross Patterson
Christopher Lozinski [EMAIL PROTECTED] writes: I keep getting these negative email messages. Here is the most recent example. I think you should stop dreaming and face the reality. There is almost nobody interested of the developer community in ZClasses.. I have no idea what your goal

[Zope-dev] Re: [Z3d] 747/ 2 Comment zope.app.interface PersistentInterfaceClass dependents broken

2007-01-12 Thread Ross Patterson
I've submitted a patch for zope.app.interface.PersistentInterfaceClass and it looks like I could use the approach of zodbcode ModuleManagers and zope.app.interface.PersistentInterfaceClass instances for what I need. Over the course of this work, however, I noticed

[Zope-dev] Persistent Interfaces

2007-01-09 Thread Ross Patterson
I'm building a Zope2.10/Plone3 project using the CA wherever I can. I'm relying heavily on marker interfaces and I'm at a point where I need to allow a site administrator to create new marker interfaces to be used to mark content. I've looked at zodbcode, zope.app.module, and then finally found

Re: [Zope-dev] Re: PDBDebugMode 0.1 Release

2006-03-16 Thread Ross Patterson
You should really try using a editor/IDE that automatically shows the corresponding code along side the debugger, like Emacs' gud-mode which can be invoked with M-x pdb. It rocks! I do that sometimes, but I lack sufficient wizardry to make it work with through-the-web scripts :-) But then,

Re: [Zope-dev] Re: PDBDebugMode 0.1 Release

2006-03-14 Thread Ross Patterson
I've only just tried PDBDebugMode, very handy since you don't have to put set_trace() in your code (and remember to remove it). Glad you like it :) I have also sometimes used Chris Withers' zdb product, http://www.simplistix.co.uk/software/zope/zdb, which has some overlap in that it allows

[Zope-dev] PDBDebugMode 0.1 Release

2006-03-13 Thread Ross Patterson
development instance, I'll restart the production instance in debug-mode with pdb in emacs, reproduce the error, inspect the call stack. Ross Patterson ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

[Zope-dev] Re: Python Base Classes, ZObjectManager, and Subobjects

2002-01-29 Thread Ross Patterson
it. My working *.py files are quoted below the quoted history. On Mon, 28 Jan 2002, Ross Patterson wrote: Nobody's really answering and I keep getting both closer and further looking at the ZClasses code. As I understand it now, ZClasses.ZClass.createZClassForBase is supposed to address the ZClass

[Zope-dev] Python Base Classes, ZObjectManager, and Subobjects (fwd)

2002-01-28 Thread Ross Patterson
ProjectPartBase ( PartBases ) : Base Class for ZCP Project Parts - | Ross Patterson[EMAIL PROTECTED] | | Programmer/Analyst(831)459-2792 | | Physical Planning

[Zope-dev] Re: Python Base Classes, ZObjectManager, and Subobjects

2002-01-28 Thread Ross Patterson
in such a way that the final ZClass and any other ZClasses that subclass it have a subobjects tab in the management view of the ZClass. Thanks. On Sun, 27 Jan 2002, Ross Patterson wrote: I'm transitioning a product from pure ZClasses to a hybrid product python base classes and ZClasses. So this is my