* It is my understanding (after long analysis of the source) that
what I'm doing with self._security is okay. I mean, it seems to me I
should be able to redeclare my permission settings at run-time. Is
this correct, or am I missing something? Acquisition is still rough
to me.
This has little
Hi,
I'm trying to get stripogram working from Script(Pythons). I thought I had it,
but it appears I don't.
I added the following in the __init__.py of the stripogram package:
try:
from AccessControl import ModuleSecurityInfo,allow_module
except ImportError:
# no Zope around
raise
Anyone object to me changing PathIndex so it swallows exceptions and
logs them when unindexing content?
On upgrading to Zope 2.6 some if the unindex paths seem to have got
hosed, and I don't want this breaking my site.
___
Zope-Dev maillist -
+1 from me... most other PluginIndexes already fail gracefully when
something to be unindexed has disappeared. IMHO all indexes should
behave that way.
jens
On Thursday, Nov 21, 2002, at 08:24 US/Eastern, seb bacon wrote:
Anyone object to me changing PathIndex so it swallows exceptions and
On Thu, Nov 21, 2002 at 08:52:41AM -0500, Jens Vagelpohl wrote:
| +1 from me... most other PluginIndexes already fail gracefully when
| something to be unindexed has disappeared. IMHO all indexes should
| behave that way.
Now that you mentioned, I got an error while trying to index NZO using
Please file a collector issue and assign it to me.
-aj
--On Donnerstag, 21. November 2002 13:24 + seb bacon [EMAIL PROTECTED]
wrote:
Anyone object to me changing PathIndex so it swallows exceptions and logs
them when unindexing content?
On upgrading to Zope 2.6 some if the unindex paths
Sidnei da Silva wrote:
Now that you mentioned, I got an error while trying to index NZO using
ZCTextIndex, so I guess it is suffering from the same issue. Anyone
can confirm?
No, no, failure during _indexing_ is a good thing (tm).
Failure during _unindexing_ is a bad thing (r).
cheers,
On Thu, 2002-11-21 at 11:24, seb bacon wrote:
Anyone object to me changing PathIndex so it swallows exceptions and
logs them when unindexing content?
This sounds REALLY LOUD ALARMS in my head. There is a class of errors
(subclasses of ConflictError) that should never be ingored because
they're
There's this somewhat annoying issues surrounding objects that declare
removable properties in their classes, in that if you remove them, you
can't add them again because many times a class variable of the same
name already exists. (atleast thats my understanding of it, I suppose
I could be
I've already fixed it; should I commit it or do you want the patches?
Andreas Jung wrote:
Please file a collector issue and assign it to me.
-aj
--On Donnerstag, 21. November 2002 13:24 + seb bacon
[EMAIL PROTECTED] wrote:
Anyone object to me changing PathIndex so it swallows exceptions
[EMAIL PROTECTED] writes:
I then get the following error:
2002-11-20T12:20:45 ERROR(200) ZODB Couldn't load state for
'\x00\x00\x00\x00\x00\x00\n\xa5'
Traceback (innermost last):
Module ZODB.Connection, line 533, in setstate
TypeError: ('expected 1 arguments, got 0',
Jamie Heilman writes:
...
I'm wondering if there's any reason why simply adding the properties
and instance variables to the instance within __init__ would be a bad
thing for properties that you want to declare removable.
The restriction is a precaution against an accidental overriding
of
An additional declaration might help, something like
_addableProperties. Names specified in this sequence could be
allowed as property names unless the instance (itself) already has
an attribute of this name. Of course, something like this needs to
be implemented and is currently not
Okay,
I'm trying to better understand Caching within Zope. Is a cache created
for each Zope Thread? Or one per Zope instance?
We have 3 ZEO Clients with 4 Threads each. I want to know if we have 3
copies of the cache, or 12 copies of the cache.
Thanks,
-Brian
Brian R Brinegar wrote:
Okay,
I'm trying to better understand Caching within Zope. Is a cache created
for each Zope Thread? Or one per Zope instance?
We have 3 ZEO Clients with 4 Threads each. I want to know if we have 3
copies of the cache, or 12 copies of the cache.
If you're talking about
Not RAM Cache managers, but Database caches.
-Brian
On Thu, 21 Nov 2002, Shane Hathaway wrote:
Brian R Brinegar wrote:
Okay,
I'm trying to better understand Caching within Zope. Is a cache created
for each Zope Thread? Or one per Zope instance?
We have 3 ZEO Clients with 4 Threads
Brian R Brinegar wrote:
Not RAM Cache managers, but Database caches.
In that case we still haven't narrowed it down. :-) You have 12
in-memory ZODB caches (they can't be shared) and 3 on-disk ZEO caches.
Depending on your site, the ZODB cache can consume a lot of RAM, so Zope
2.6 has a
We have diskless ZEO clients (Netboot). There is really no reason for our
ZEO clients to write their caches to the disk (RAM Disk). Can we turn this
off? To free up RAM for the other caches?
Thanks,
-Brian
On Thu, 21 Nov 2002, Shane Hathaway wrote:
Brian R Brinegar wrote:
Not RAM Cache
We have diskless ZEO clients (Netboot). There is really no reason for our
ZEO clients to write their caches to the disk (RAM Disk). Can we turn this
off? To free up RAM for the other caches?
That's a new use scenario for me. You can't turn the ZEO cache off.
But I think you misunderstand the
19 matches
Mail list logo