Re: [Zope-dev] using WSGIPublisher

2012-10-30 Thread Ross Patterson
when I was told that it wouldn't work without events. *Shrug* Ross ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman

[Zope-Checkins] SVN: Zope/trunk/src/Zope2/Startup/__init__.py Another place where Windows raises a different exception

2012-10-21 Thread Ross Patterson
Log message for revision 128097: Another place where Windows raises a different exception Changed: U Zope/trunk/src/Zope2/Startup/__init__.py -=- Modified: Zope/trunk/src/Zope2/Startup/__init__.py === ---

[Zope-Checkins] SVN: Zope/trunk/doc/CHANGES.rst Add changelog entry for windows lock/pid file fixes

2012-10-21 Thread Ross Patterson
Log message for revision 128098: Add changelog entry for windows lock/pid file fixes Changed: U Zope/trunk/doc/CHANGES.rst -=- Modified: Zope/trunk/doc/CHANGES.rst === --- Zope/trunk/doc/CHANGES.rst 2012-10-21 15:50:38 UTC

[Zope-Checkins] SVN: Zope/branches/2.13/ Merge trunk r128097 and r128098. Windows lock/pid file fixes

2012-10-21 Thread Ross Patterson
Log message for revision 128099: Merge trunk r128097 and r128098. Windows lock/pid file fixes Changed: U Zope/branches/2.13/doc/CHANGES.rst U Zope/branches/2.13/src/Zope2/Startup/__init__.py -=- Modified: Zope/branches/2.13/doc/CHANGES.rst

[Zope-Checkins] SVN: Zope/trunk/src/Zope2/Startup/__init__.py Fix lockfile handling on Windows. Different exception:

2012-10-20 Thread Ross Patterson
Log message for revision 128087: Fix lockfile handling on Windows. Different exception: ... File ...\eggs\zope2-2.13.15-py2.7.egg\Zope2\Startup\run.py, line 72, in make_wsgi_app starter.prepare() File ...\eggs\zope2-2.13.15-py2.7.egg\Zope2\Startup\__init__.py, line 83, in

[Zope-Checkins] SVN: Zope/branches/2.13/src/Zope2/Startup/__init__.py Merge trunk@128087. Windows lock file fix.

2012-10-20 Thread Ross Patterson
Log message for revision 128088: Merge trunk@128087. Windows lock file fix. Changed: U Zope/branches/2.13/src/Zope2/Startup/__init__.py -=- Modified: Zope/branches/2.13/src/Zope2/Startup/__init__.py === ---

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

2012-08-20 Thread Ross Patterson
that have signed a contributor agreement? a) Tres, Jens: Would that work from a legal perspective? b) Ross, Alex: Would that still yield the advantages of the distributed source control model? +10 Absolutely, seems like the best way to do this is to use the existing zopefoundation github org

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

2012-08-20 Thread Ross Patterson
of its volunteers will do better at maintaining security or stability of services. Ross ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https

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

2012-08-19 Thread Ross Patterson
seeming to accept multiple invitations to work the problem from all represented concerns. I'm grateful to the others for trying so hard to kickstart a healthy level of participation in zc.buildout development once again. Ross ___ Zope-Dev maillist - Zope

[Zope-Checkins] SVN: Zope/branches/2.13/ Fix lock file cleanup if there's an error early in startup.

2012-06-07 Thread Ross Patterson
Log message for revision 126683: Fix lock file cleanup if there's an error early in startup. Changed: U Zope/branches/2.13/doc/CHANGES.rst U Zope/branches/2.13/src/Zope2/Startup/__init__.py U Zope/branches/2.13/src/Zope2/Startup/run.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.13/ Cleanup lock and pid files if the process dies early in startup.

2012-05-24 Thread Ross Patterson
Log message for revision 126494: Cleanup lock and pid files if the process dies early in startup. Changed: U Zope/branches/2.13/doc/CHANGES.rst U Zope/branches/2.13/src/Zope2/Startup/run.py -=- Modified: Zope/branches/2.13/doc/CHANGES.rst

[Zope-Checkins] SVN: Zope/branches/2.13/src/Zope2/Startup/run.py Place lock file cleanup in a better place, run() already has a finally clause

2012-05-24 Thread Ross Patterson
Log message for revision 126495: Place lock file cleanup in a better place, run() already has a finally clause Changed: U Zope/branches/2.13/src/Zope2/Startup/run.py -=- Modified: Zope/branches/2.13/src/Zope2/Startup/run.py

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

2012-04-11 Thread Ross Patterson
to `zope.interface.InterfaceClass.__reduce__` or to make `zope.interface.InterfaceClass.__reduce__` hookable in some way. Would the latter address the concerns people are raising here? If so, what's the right way to approach implement that? Just monkey patching from ZODB to zope.interface? Ross

[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
package, maybe just rename experimental.broken to z3c.broken or somesuch? Should it be merged into zope.interface and zope.component? Will the developers/maintainers of zope.interface, zope.component and/or ZODB please weigh in on this and give me feedback towards getting this finished? Thanks! Ross

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

Re: [Zope-dev] beta.zope.org (www.zope.org relaunch project)

2011-05-10 Thread Ross J. Reedstrom
, rather than at the top of the page. Admittedly an relatively ancient browser, but thought you might like to know. Ross -- Ross Reedstrom, Ph.D. reeds...@rice.edu Systems Engineer Admin, Research Scientistphone: 713-348-6166 Connexions http

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

2010-12-04 Thread Ross Patterson
? Unfortunately I can't remember where I head/read of this. Ross ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo

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

2010-11-25 Thread Ross Patterson
would be interested in a sprint, when, where and how? I'd be interested in remote sprinting. I'm available now, FWIW. Ross ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-Checkins] SVN: Zope/branches/2.12/ Use cProfile where possible for the

2010-11-18 Thread Ross Patterson
Log message for revision 118469: Use cProfile where possible for the Control_Panel/DebugInfo/manage_profile ZMI view. This has been available since Python 2.5 and we no longer support Python 2.4 so there's little reason not to use the faster profiler. Changed: U

[Zope-Checkins] SVN: Zope/branches/2.12/src/ The Control_Panel/DebugInfo/manage_profile ZMI view fixes were

2010-11-18 Thread Ross Patterson
Log message for revision 118470: The Control_Panel/DebugInfo/manage_profile ZMI view fixes were accumulating successive prints of stats. Changed: U Zope/branches/2.12/src/App/ApplicationManager.py U Zope/branches/2.12/src/ZPublisher/Publish.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.13/ Merge Control_Panel/DebugInfo/manage_profile ZMI view fixes from

2010-11-18 Thread Ross Patterson
Log message for revision 118471: Merge Control_Panel/DebugInfo/manage_profile ZMI view fixes from svn+ssh://svn.zope.org/repos/main/Zope/branches/2.12 r118262:118470 Changed: U Zope/branches/2.13/doc/CHANGES.rst U Zope/branches/2.13/src/App/ApplicationManager.py U

Re: [Zope-dev] Minutes from this weeks meeting

2010-04-16 Thread Ross J. Reedstrom
, text is so much more flexible for these reports to the list: the followup quoting issue alone is a big one. Ross -- Ross Reedstrom, Ph.D. reeds...@rice.edu Systems Engineer Admin, Research Scientistphone: 713-348-6166 The Connexions Project http://cnx.org

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

2010-03-04 Thread Ross Patterson
out what in a request for a simple resource (images, non-dynamic CSS or JS) is initiating the write transaction by invoking sessions. It's likely there's an inappropriate use of sessions there. HTH, Ross I followed an advice from the zope-dev list and added some debug messages

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
on repeated validations? Does this belong in zope.testbrowser or in the underlying mechanize package? Other than that, what's the path forward to merging? Ross ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope] Product loading during ZopeTestCase startup

2010-01-18 Thread Ross Patterson
collective.formcriteria. There are probably simper examples, but that's the first that comes to mind. HTH, Ross ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https

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

2009-12-02 Thread Ross Patterson
be doing? If putting hooks into the try/finally clauses is the right way, then it would be nice to have a somewhat canonical way to do this. It would also be nice to have a way to pass something down the line so that post_mortem() only gets called once per exception. Thoughts, Ross

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
, tuple) is True. Ross ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman

Re: [Zope-dev] Zope and Cygwin

2009-03-26 Thread Ross Patterson
/products.cygwinpatch http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py http://mail.zope.org/pipermail/zope/2005-December/163636.html Ross ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope] Regarding ZODB

2009-03-25 Thread Ross Patterson
: import of Persistent from Persistence is unauthorized. You are not allowed to access 'Persistent' in this context It looks like you're trying to do this from a python script in the ZMI. I think to do what you're trying to do you need to write a python package on the filesystem. Ross this is my

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

2009-03-24 Thread Ross Patterson
be great. I'm always happy when a build recipe provides this option so I think generalizing it is a good idea. Ross ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] zope.index

2008-12-02 Thread Ross Patterson
reason to have one. Creating a test extra just to remove a dependency on zope.testing -- which only depends on zope.interface -- is not compelling. I'd be curious, for my own edification, to hear what would be compelling reasons. Thanks! Ross

Re: [Zope] Anyone know of a tool to restore/cleanup/reset security/role settings?

2008-12-01 Thread Ross Patterson
Alexander Limi [EMAIL PROTECTED] writes: On Sat, 29 Nov 2008 15:19:10 -0800, Ross Patterson [EMAIL PROTECTED] wrote: Yeah, I did see that and no it doesn't look like it resets anything. It also looks like it's only concerned with local roles and I need to reset the role mappings too

Re: [Zope] Anyone know of a tool to restore/cleanup/reset security/role settings?

2008-11-29 Thread Ross Patterson
Alexander Limi [EMAIL PROTECTED] writes: On Fri, 28 Nov 2008 19:10:48 -0800, Ross Patterson [EMAIL PROTECTED] wrote: Does anyone know of an existing tool for restoring all security settings/rolemaps from the ground up? Obviously I can use rolemap.xml where applicable and update workflow

[Zope] Anyone know of a tool to restore/cleanup/reset security/role settings?

2008-11-28 Thread Ross Patterson
to write something myself if not, but I thought I'd see if there was anything out there. Ross ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] FunctionalTestCase commits transactions

2008-11-05 Thread Ross Patterson
Peter Bengtsson [EMAIL PROTECTED] writes: 2008/11/4 Dieter Maurer [EMAIL PROTECTED]: Ross Patterson wrote at 2008-11-3 16:04 -0800: ... If memory serves, a *functional* test fixture calls the Zope publisher when a testbrowser request is made. The publisher opens a new transaction

Re: [Zope] FunctionalTestCase commits transactions

2008-11-04 Thread Ross Patterson
Dieter Maurer [EMAIL PROTECTED] writes: Ross Patterson wrote at 2008-11-3 16:04 -0800: ... If memory serves, a *functional* test fixture calls the Zope publisher when a testbrowser request is made. The publisher opens a new transaction, as it should. Really? When I wrote a functional test

Re: [Zope] FunctionalTestCase commits transactions

2008-11-03 Thread Ross Patterson
implementation from Functional and just remove the commit line. Then you can use your test case class in your tests and the commit won't be made. HTH, Ross class Functional(sandbox.Sandboxed): ... __implements__ = (interfaces.IFunctional,) @savestate def publish(self, path

[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] Re: help debugging a can't pickle error deep within a catalog reindex

2008-06-18 Thread Ross Patterson
Rob Miller [EMAIL PROTECTED] writes: Ross Patterson wrote: Rob Miller [EMAIL PROTECTED] writes: hi, i'm trying to perform a ZCatalog.refreshCatalog() on a catalog with over 29,000 indexed objects. it churns for a good long time, and eventually fails with a long set of tracebacks

[Zope] Re: help debugging a can't pickle error deep within a catalog reindex

2008-06-17 Thread Ross Patterson
a pdb.set_trace() at transaction/_transaction.py:340 in the register() method such that it's is only called when the offending object is added to the transaction. Hope some of that helps, Ross Traceback (most recent call last): File /home/rob/topp/14000/builds/20080611/opencore/lib/zope/lib/python

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/zope/app/EXTERNALS.txt sync with svn:externals

2008-03-09 Thread Ross Patterson
Log message for revision 71984: sync with svn:externals Changed: U Zope/branches/2.10/lib/python/zope/app/EXTERNALS.txt -=- Modified: Zope/branches/2.10/lib/python/zope/app/EXTERNALS.txt === ---

[Zope] Re: ZPL and GPL: What should one consider when choosing a license?

2007-12-26 Thread Ross Patterson
Ross Patterson [EMAIL PROTECTED] writes: Chris McDonough [EMAIL PROTECTED] writes: On Dec 21, 2007, at 3:53 PM, Ross Patterson wrote: Now I've gotta run out of here before a licensing discussion breaks out. ;-) I suppose this topic is just too volatile, but it would be great to have

[Zope] ZPL and GPL: What should one consider when choosing a license?

2007-12-21 Thread Ross Patterson
? Is there documentation somewhere about choosing a license? Maybe a howto I missed in my googling? Ross ___ 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

[Zope] Re: ZPL and GPL: What should one consider when choosing a license?

2007-12-21 Thread Ross Patterson
Chris McDonough [EMAIL PROTECTED] writes: On Dec 21, 2007, at 3:53 PM, Ross Patterson wrote: Unfortunately, the comment by Chris McDonough mentioned in the latter doesn't seem to be accessible any more. I'd love to read it. It said: I don't think Plone is bad because it uses the GPL. I

[Zope] Re: ZPL and GPL: What should one consider when choosing a license?

2007-12-21 Thread Ross Patterson
for the heads up. Ross Ross Patterson wrote: Recently, someone wrote to me regarding one of my z3c packages which is licensed under the GPL. They asked me to license them under the ZPL saying that the ZPL would allow the widest range of use for those packages. They also implied that using the GPL

[Zope-dev] Re: unregistering components?

2007-11-24 Thread Ross Patterson
, provides=None, name=u''): Unregister a subscriber factory. snip... def unregisterHandler(handler=None, required=None, name=u''): Unregister a handler. snip... That'll do it, I think. :) Ross ___ Zope-Dev maillist

[Zope-PAS] Re: Test layers for pastc

2007-11-19 Thread Ross Patterson
Tres Seaver [EMAIL PROTECTED] writes: Ross Patterson wrote: I'd love to convert PAS's tests to layers for test setUp and tearDown. Any objections? Layers are all about sharing setup across a set of tests, which means they risk breaking test isolation. I normally don't use layers

[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 http://mail.zope.org/mailman/listinfo/zope

[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
release. I don't think zc.recipe.egg has an option to install an egg from a source tree. I can't think of a recipe off hand that does that. Jim pointed out how it may be an abuse of buildout, but my z3c.recipe.egg recipe supports running arbitrary setup.py commands on source distributions. Ross

[Zope-dev] Re: zcml entry points

2007-10-17 Thread Ross Patterson
and then it's ZCML would get loaded. Is this easily possible with eggs and/or buildout? If not, maybe it's a worthwhile extension. I guess the abstracted idea would be some way to pass configuration directives to eggs as a part of requiring them. Ross

[Zope] ANN: z3c.recipe.egg - Recipes based on zc.recipe.egg for working with source distributions

2007-10-01 Thread Ross Patterson
I just bundled up and released some zc.buildout recipes I've found useful. Attached is the README.txt. http://cheeseshop.python.org/pypi/z3c.recipe.egg Ross == z3c.recipe.egg == Recipes based on zc.recipe.egg for working with source distributions. Editable

[Zope] ANN: Generating svn:externals by inspecting a repository - z3c.repoexternals

2007-09-30 Thread Ross Patterson
for all the trunks in a repository and keeps them up to date with the repository as new trunks are added when the previous externals are provided thereafter. http://cheeseshop.python.org/pypi/z3c.repoexternals Ross ___ Zope maillist - Zope@zope.org http

[Zope] Re: z3c.offlinepack

2007-09-27 Thread Ross Patterson
Philipp von Weitershausen [EMAIL PROTECTED] writes: Ross Patterson wrote: Also, I can't seem to get the ReStructuredText in the long_description on the pypi page to display as ReStructuredText instead of just displaying as test. Anyone got any pointers? I assume you're generating

[Zope] z3c.offlinepack

2007-09-26 Thread Ross Patterson
on the pypi page to display as ReStructuredText instead of just displaying as test. Anyone got any pointers? http://cheeseshop.python.org/pypi/z3c.offlinepack Ross == Pack ZODBs Offline == Pack a ZODB storage without running any part of the Zope application

[Zope] z3c.offlinepack

2007-09-26 Thread Ross Patterson
on the pypi page to display as ReStructuredText instead of just displaying as test. Anyone got any pointers? http://cheeseshop.python.org/pypi/z3c.offlinepack Ross == Pack ZODBs Offline == Pack a ZODB storage without running any part of the Zope application

Re: [Zope] Deploying with buildout

2007-08-28 Thread Ross Patterson
Chris McDonough [EMAIL PROTECTED] writes: On Aug 27, 2007, at 10:59 PM, Ross Patterson wrote: We have a Plone 3.0/Zope 2.10 application that we need to develop on, maintain and deploy to a ZEO server and multiple ZEO clients. Currently we use svn bundles of Zope and Plone and our own

Re: [Zope] Deploying with buildout

2007-08-28 Thread Ross Patterson
Chris McDonough [EMAIL PROTECTED] writes: On Aug 28, 2007, at 5:55 PM, Ross Patterson wrote: Putting these packages in your Zope instance home's lib/python directory should get them found before the others. For Products, you can use an additional products-path directive in zope.conf and put

[Zope] Deploying with buildout (was: buildout, instancemanager, and eggs)

2007-08-27 Thread Ross Patterson
deployment release for that node? Ross ___ 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

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

2007-08-23 Thread Ross Patterson
the discussion started. I suspect that ZServer/medusa/http_server.py is only invoved for certain Zope setups and that other Zope setups (twisted, etc.?) might log differently. So what would be a better way to approach this? Does anyone else have a solution to this problem? Ross

[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-PAS] Getting PAS users to show up in the access log/Z2.log

2007-08-23 Thread Ross Patterson
the discussion started. I suspect that ZServer/medusa/http_server.py is only invoved for certain Zope setups and that other Zope setups (twisted, etc.?) might log differently. So what would be a better way to approach this? Does anyone else have a solution to this problem? Ross

[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
, zope.app.component.site.resolve, zope.app.module.resolve, zope.configuration.name.resolve, zope.configuration.config.ConfigurationContext.resolve, Products.GenericSetup.utils._resolveDottedName. How many versions of this wheel do we need? :) Thoughts? Corrections? Suggested solutions. Ross

[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
approach to solving this problem? Ross Index: __init__.py === --- __init__.py (revision 78553) +++ __init__.py (working copy) @@ -17,6 +17,7 @@ __docformat__ = 'restructuredtext' import sys +import ZODB.Connection import

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

2007-04-24 Thread Ross Patterson
/tseaver/software/userschema/ I've done a bit of work reccently to get PersistentModules working better with interfaces. This allows me to have Zope 3 generated TTW and stored in the ZODB. I'm using this currently and it all seems to be working great. Ross

[Zope-dev] Re: Why are ZClasses Dead

2007-04-18 Thread Ross Patterson
insistence and the motives behind it but having no way to psychically transmit my experience, I can only say I'm nearly certain your project and any future projects will do much better on the filesystem. Ross ___ Zope-Dev maillist - Zope-Dev@zope.org http

[Zope-Checkins] Re: [Zope3-checkins] SVN: Zope3/branches/3.3/src/zope/app/ Merge PersistentInterfaceClass fix from trunk r72109 as described in

2007-01-22 Thread Ross Patterson
about the proper way to do it? I was unable to get anyone to review my changes though I tried on the lists, in IRC, and in the collector (well one person in IRC responded a little). Did you have a chance to look over the changes themselves? Ross ___ Zope

[Zope-Checkins] Re: [Zope3-checkins] SVN: Zope3/branches/3.3/src/zope/app/ Merge PersistentInterfaceClass fix from trunk r72109 as described in

2007-01-22 Thread Ross Patterson
Christian Theune [EMAIL PROTECTED] writes: Am Montag, den 22.01.2007, 00:25 -0800 schrieb Ross Patterson: Christian Theune ct-w5oghCfH6z/[EMAIL PROTECTED] writes: I didn't spot a comment in the CHANGELOG for this. Ah, sorry. There are some holes in my best practices. Happy to correct

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

2007-01-12 Thread Ross Patterson
administrators to create new marker interfaces to be used to mark content and to register adapters for.' Ross Collector: Zope 3 ... [EMAIL PROTECTED] writes: Issue #747 Update (Comment) zope.app.interface PersistentInterfaceClass dependents broken Status Pending, core/bug+solution medium

[Zope-dev] Persistent Interfaces

2007-01-09 Thread Ross Patterson
else advise on implementation directions or better design patterns? Ross ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

[Zope-PAS] Re: Duplicate pulgin types created by PluginRegistry.exportimport._updatePluginRegistry

2006-12-19 Thread Ross Patterson
? Ross ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas

Re: [Zope] How to do this trick..

2006-03-27 Thread Ross Patterson
The tal:repeat tags are to make sure the order of TAL operations works properly with the tal:define being done *after* the tal:repeat. Hope this helps. Ross ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

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

2006-03-16 Thread Ross Patterson
:-) But then, I don't write many of those anymore. Put this in your .emacs: (defvar gud-pdb-marker-regexp ^ \\(.*\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\)()\\(-[^\n]*\\)?\n) That should do it :) Ross ___ Zope-Dev maillist - Zope-Dev@zope.org http

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

2006-03-14 Thread Ross Patterson
you to do this in restricted code, e.g. cmf scripts: from Products.zdb import set_trace set_trace() ... and, very usefully, once in the debugger you can use the l command to see the script source and it gets line numbers right. So Ross, maybe Oooh! I'd love that. I'll look into it. You

[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

Re: [Zope-dev] How to trigger Zope externally (mail)

2003-03-07 Thread Ross Boylan
On Wed, Feb 26, 2003 at 05:37:17PM -0800, Andy McKay wrote: Or just write a simple HTTP post using Python. Have a look around for the MailIn Product, or CMFMailIn which does this very simply and works fine for low volume traffic (eg: fine listening to [EMAIL PROTECTED]). Thanks. I borrowed

[Zope-dev] How to trigger Zope externally (mail)

2003-02-26 Thread Ross Boylan
I am working on a poll/survey type product and want to handle responses by email as well as the web. If you have any advice about the best architecture, I would appreciate it. I'm currently using Zope 2.5 on Linux, though it would be nice if the solution weren't too platform dependent. Here are

Re: [Zope-dev] dupe column names not supported (Shared.DC.ZRDB) ?

2002-12-17 Thread Ross J. Reedstrom
then 'implementation dependent' and only needs to be unique in the set of tables referenced by the SQL. It's not clear whether that's supposed to include the 'derived table' that is the output of this 'query specification'. Ross -- Ross Reedstrom, Ph.D. [EMAIL PROTECTED

Re: [Zope-dev] Web Services Sprint???

2002-12-04 Thread Ross J. Reedstrom
, which puts him closer to me than you - a Gulf Coast sprint? ;-) Ross -- Ross Reedstrom, Ph.D. [EMAIL PROTECTED] Research Scientist phone: 713-348-6166 The Connexions Projectfax: 713-348-6182 Rice

Re: [Zope-dev] Re: Refresh trashes acquisition

2002-08-10 Thread Ross Boylan
On Sat, Aug 10, 2002 at 10:25:32AM +0100, Chris Withers wrote: Ross Boylan wrote: That was just the first few lines of the class definition to give a flavor. Was your remark that it was wrong based on the assumption it was the entire implementation, or is there something obviously wrong

Re: [Zope-dev] Re: Refresh trashes acquisition

2002-08-08 Thread Ross Boylan
I missed this in all the excitement, and have a follow-up below. On Tue, Jul 30, 2002 at 04:57:07PM +, Florent Guillaume wrote: Ross Boylan [EMAIL PROTECTED] wrote: My case was, however, subtly different. a.__of__(b) got put in a PersistentList, which is essentially [] with a little

Re: [Zope-dev] Re: Refresh trashes acquisition

2002-07-29 Thread Ross Boylan
On Mon, Jul 29, 2002 at 07:58:22AM +0100, Toby Dickenson wrote: On Saturday 27 Jul 2002 12:32 am, Ross Boylan wrote: On Sat, Jul 27, 2002 at 12:26:04AM +0200, Lennart Regebro wrote: From: Ross Boylan [EMAIL PROTECTED] I don't follow that last paragraph. Does it mean 1

[Zope-dev] Re: Refresh trashes acquisition

2002-07-25 Thread Ross Boylan
On Thu, Jul 25, 2002 at 12:09:35PM -0700, Gary Speer wrote: Dear Ross - I strongly encourage you to switch to the [EMAIL PROTECTED] mailing list as this one is dedicated to next-generation product enhancement as opposed to peer user assistance. I thought this list was for developers

[Zope-dev] Refresh trashes acquisition

2002-07-23 Thread Ross Boylan
I find that when I refresh my product it destroys some of the containment relationships. Things start failing, and as far as I can tell the only recovery is to completely rebuild the object. This is a big problem, and if anyone could explain what is going on and how to avoid it I would

[Zope-dev] Extension class and __init__

2002-07-22 Thread Ross Boylan
I had the bright idea of defining a mixin class whose methods I thought I could use in my regular Zope product classes: class AMixin: def __init__(self): blah, blah blah class B(AMixin, Persistent, Folder, ): def __init__(self): # do some of my own stuff

Re: [Zope-dev] Nesting Forms

2002-07-18 Thread Ross Boylan
On Thu, Jul 18, 2002 at 02:18:43PM -0400, Casey Duncan wrote: On Thursday 18 July 2002 02:06 pm, Ross Boylan wrote: Is there a way to get inheritance, so that, for example, class C(B): sect1 = DTMLFile(CSect2,globals())+B.sect1(self)? I don't think that syntax will work

Re: [Zope-dev] Nesting Forms

2002-07-18 Thread Ross Boylan
On Thu, Jul 18, 2002 at 08:41:02PM +0200, Dieter Maurer wrote: Ross Boylan writes: ... I would prefer a more elegant approach. Perhaps I can define some method in A that the dtml will reference, and then B can override the method to add some extra stuff (the method would return

[Zope-dev] Nesting Forms

2002-07-17 Thread Ross Boylan
I have a product with a number of classes that have subclasses. It seems natural to make the screens for the subclasses by extending those of the superclass. Can anyone suggest a good way to do that? The naive approach is that I have a manage_edit_A.dtml that gives a management screen for A.

[Zope-dev] Adding Items to Object Manager and Folders

2002-07-16 Thread Ross Boylan
The Zope Developer's Guide and the API docs (Zope 2.5) present different stories about how to add things to object managers. I don't really follow what the API stuff is doing. This is a request for clarification. Devguide says do def addFunction(dispatcher, id): Create object and add to

Re: [Zope-dev] SQLite as a Light DB component for Zope and Python

2002-04-02 Thread Ross J. Reedstrom
of thing: the pgsql server was not tuned _at all_, and does a whole lot more that was never tested, such as multi-user writer access. Ross ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] A thought for 2.6 about various leaks and memory problems

2002-03-19 Thread Ross J. Reedstrom
the possibility of doing a OpenBSD style audit of the entire Zope (and possibly python) code base to make the code as close to perfect (and therefore stable) as the OpenBSD OS is ;-) Volunteers? Yeah, that's what I just described above, I think, for the pgsql core. So it uses _both_. Ross P.S

Re: [Zope-dev] Transaction Bugs

2002-03-11 Thread Ross J. Reedstrom
Thank you Kapil! This solved the problem I was having with any PostgreSQL ZDA and the exUserFolder product: now everthing works correctly. Ross P.S. The URL should be (note the extra 's'): http://www.zope.org/Members/k_vertigo/ShortStories/Transactions/ On Mon, Mar 11, 2002 at 05:17:18AM

Re: [Zope-dev] zope transaction bug?

2002-03-08 Thread Ross J. Reedstrom
On Fri, Mar 08, 2002 at 08:55:56PM +0100, Dieter Maurer wrote: Ross J. Reedstrom writes: Boy, it's been a long time since I've hung around here. Anyway, I think we've found a bug somewhere in the zope transaction machinery. A really long time ago someone reported (just once) a bug

Re: [Zope-dev] zope transaction bug?

2002-03-08 Thread Ross J. Reedstrom
On Fri, Mar 08, 2002 at 04:12:31PM -0600, Ross J. Reedstrom wrote: On Fri, Mar 08, 2002 at 08:55:56PM +0100, Dieter Maurer wrote: Ross J. Reedstrom writes: Boy, it's been a long time since I've hung around here. Anyway, I think we've found a bug somewhere in the zope transaction

  1   2   >