1. I need to track changes to particular attributes of an object in a python
based product.
2. I redefine __setattr__ to perform the necessary operations.
def __setattr__(self, name, value):
some nice comments
#pre-processing
#store the specified attribute
Hi everyone.
OK. I'm stumped. I'm doing funky tricks here to create an alias
functionality somewhat similar to a transparent folder. In the belief that
brevity begets more possibility for answers, I won't tell you more, but just
get straight to the chase:
Zope 2.5, CMF 1.2 (but I'm using the
Hi!
I remember that someone posted that question before, but I didn't find it.
So here it is again:
In the latest Zope versions, if a user has no rights to see a certain
management tab in the ZMI, it is shown anyway. If he clicks on it, he'll get
an authentication request, so the method behind
I keep getting a transaction error which renders my entire ODB unwritable on
Zopesite.com just about everyday. I can go in and repair it with fsrecover
fine. It comes back up just great and I can write to the DB again. A day
later same transaction error. I have thousands and thousands of
Brian Oliver writes:
...
Share reported for __getattr__ (-- mailing list archives)
that the self passed in is not acquisition wrapped.
Maybe, this is also the case for its companion __setattr__...
Dieter
___
Zope-Dev maillist - [EMAIL PROTECTED]
I'm looking for architectural suggestions for adding gzip compression to
HTTPResponse for text types.
First, I just wanted to compress xml-rpc output, since I'm returing lots of table data
as
XML text (not objects), then loading that text/xml into a DOM for XSLT processing.
I hacked the
I'm fairly new to Zope and Python, so please forgive me if this is a
stupid question. I'm trying to add a new exUserFolder authentication
plugin using LDAP. I've copied the Radius plugin for the most part
and have almost everything working except I wanted to have a list
of possible methods
did you look at the LDAPUserFolder?
jens
On Tuesday, February 5, 2002, at 05:46 , John Hall wrote:
I'm fairly new to Zope and Python, so please forgive me if this is a
stupid question. I'm trying to add a new exUserFolder authentication
plugin using LDAP. I've copied the Radius plugin
I have been working on a compression patch as a component of my PatchKit
product for some time now, but I have been hitting a few problems, and had
put it to one side while I worked on a couple of other products. If people
still want to see something like this, I can bring the code out of
Yep... Certainly isn't.
Aquisition isn't available for either __getattr__ or __setattr__.
So the fundamental question remains...
How does one receive a callback/create a hook that is called when an
attribute is changed, especially changed via the default property editor for
Zope objects
Yes, I did. It does not authenticate using the method I need. The LDAP
server is not under my administrative control and I cannot add any additional
fields for LDAPUserFolder's use. Since I would have to write my own auth
routine anyway, I thought that exUserFolder would be a better platform
Hi Scott,
In the past, things like this have usually turned out to be hardware issues.
One thing that you can try if you're running this on Linux or BSD is
compiling the kernel maybe 10 times on the same machine to see if you notice
any disk corruption or bus errors or other weirdnesses. There
Question: do you really need to use the __setattr__ hook to track changes to
the object? Is the application written in such a way that you could expose
a different API? __setattr__ is special because it's provided by the
persistence machinery to track object changes. Overriding it is possible,
Maybe silly questions, but: Do you call InitializeGlobals() on ObjectX's
class (usually at the end of the module where it's defined)? Does ObjectX
actually have a portal_url method defined on it (or inherited)?
- Original Message -
From: Gary Poster [EMAIL PROTECTED]
To: [EMAIL
I think this is a bug. :-(
- Original Message -
From: Joachim Werner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 05, 2002 1:05 PM
Subject: [Zope-dev] hiding tabs in manage view
Hi!
I remember that someone posted that question before, but I didn't find it.
So
15 matches
Mail list logo