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
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
===
---
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
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
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
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
===
---
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
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
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
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:
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
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
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,
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
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
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 ... /
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.
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
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:
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
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,
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
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
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
Encolpe Degoute
encolpe.dego...@quadra-informatique.fr
writes:
Hello,
since few days i'am facing a strange problem with egg loading in tests.
One egg called project.site_policy is never loaded in the Products
namespace: the ZopeLite.hasPackage('project.site_policy') always returns
False.
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
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
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
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:
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:
amol kumbhar amol.kumbha...@gmail.com
writes:
I am trying to execute following code
import ZODB
from Persistence import Persistent
class Employee(Persistent):
def setName(self, name):
self.name = name
but getting following error
Error Type: ImportError
Error Value:
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
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
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
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
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 security. I want to first restore
the Zope root to code defaults and restore the whole hierarchy to just
acquire.
I'm going
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
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
Peter Bengtsson [EMAIL PROTECTED]
writes:
I'm trying to get zope.testbrowser to work in Zope 2.10. After a lot
of guesswork (easy_install zope.testbrowser broke my environment, Zope
2.11 isn't setting up session container, used various blogs tips to
get adapters right) I got it running and I
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
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
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, of which i've included
a sample at the end of this message.
i
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
===
---
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
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 impacted the licensing
of other code that
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
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
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,
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
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
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
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'?
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.
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
z3c.repoexternals recursively retrieves subversion directory listings
from the url or path and matches directories against a previous set of
svn:externals if provided then against regular expressions and generates
qualifying svn:externals lines. The defaults generate a set of
svn:externals for
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
I wrote a small script for packing ZODB storages without running zope
complete with buildout support for quick deployment without modifying
the system. Attached is the README for more details. I hope this is
useful for some.
Also, I can't seem to get the ReStructuredText in the long_description
I wrote a small script for packing ZODB storages without running zope
complete with buildout support for quick deployment without modifying
the system. Attached is the README for more details. I hope this is
useful for some.
Also, I can't seem to get the ReStructuredText in the long_description
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
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
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 packages and products in one big
svn:externals definition. We also use some more recent versions of
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
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
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
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
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
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
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
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
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
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 though. Shall I just fashion a CHANGELOG entry after the
existing ones? Or is there some spcific documentation
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
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
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
Tres Seaver [EMAIL PROTECTED] writes:
Thanks! Can you please add to the PAS collector so we don't lose the patch:
http://www.zope.org/Collectors/PAS
Will do.
I don't understand the need for this handler, or why your overrides.zcml
uses it for IPluginRegistry. The normal handers for PAS
tal:repeat repeat=group groups/existing/high
option tal:define=js_arg python:sp_info[group];
tal:content=group
tal:attributes=onmouseover string:doTooltip(event,
'${js_arg}/common_name}')
onmouseout=hideTip()
/option
/tal:repeat
The
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,
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
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
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
ProjectPartBase ( PartBases ) :
Base Class for ZCP Project Parts
-
| Ross Patterson[EMAIL PROTECTED] |
| Programmer/Analyst(831)459-2792 |
| Physical Planning
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
82 matches
Mail list logo