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
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
===
---
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
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
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
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
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
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
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
, 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
? 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
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
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
, 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
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
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
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
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
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
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
, 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
/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
: 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
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
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
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
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
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
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
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
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
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
? 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
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
,
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
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
http://mail.zope.org/mailman/listinfo/zope
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
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
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
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
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
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
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
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
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
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
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
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
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.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
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
/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
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
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
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
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
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
?
Ross
___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas
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
:-)
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
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
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
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
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
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
, 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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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 - 100 of 130 matches
Mail list logo