I have a Zope product that relies heavily on a ZCatalog to search for
objects within a folder matching certain criteria. The ZCatalog
frequently becomes corrupt, and on searching the catalog, the catalog
gives me key errors. I'm trying to figure out what causes the
corruption so I can stop
I'm getting a ZODB.POSException.ConflictError in the following code in a
Custom Zope Product, and I'm hoping someone can enlighten me on how to
fix it.
# nd is a folder with a sub-folder Categories
# NDCategory is a custom Zope product I wrote that does not have
anything called bogus defined.
--On 1. September 2006 02:54:26 -0400 [EMAIL PROTECTED]
wrote:
I have a Zope product that relies heavily on a ZCatalog to search for
objects within a folder matching certain criteria. The ZCatalog
frequently becomes corrupt, and on searching the catalog, the catalog
gives me key errors.
Right, many thanks to those who have offered advice. I'm conscious that as
I've drifted from a coding topic then I'm probably in the wrong mailing list,
but everyone has been very patient up to now and I'm hoping that a fix is in
sight! :)
I have done a backup of the Dats.fs file (took three
[EMAIL PROTECTED] wrote:
I'm getting a ZODB.POSException.ConflictError in the following code in a
Custom Zope Product,
Google for ConflictError Zope and read, a lot. These are to be
expected due to Zope's concurrency model, but if end users are seeing
them then your application needs
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux
zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7403
Blamelist:
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Windows 2000
zc-bbwin2.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7403
Blamelist:
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux
zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7404
Blamelist:
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7406
Blamelist:
andrew,dobe,fdrake,gintautasm,jim,jukart,mgedmin,mj,mkerrin,niemeyer,opetznick,philikon,shh,srichter,yusei
BUILD
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Windows 2000
zc-bbwin2.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7408
Blamelist: gintautasm,shh
BUILD FAILED: failed compile
sincerely,
-The Buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux
zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7408
Blamelist: gintautasm,shh
BUILD FAILED: failed test
sincerely,
-The Buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux
zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7409
Blamelist: shh
BUILD FAILED: failed test
sincerely,
-The Buildbot
___
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 7410
Blamelist: shh
BUILD FAILED: failed test
sincerely,
-The Buildbot
___
Zope-Dev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kris Adcock wrote:
Right, many thanks to those who have offered advice. I'm conscious that as
I've drifted from a coding topic then I'm probably in the wrong mailing list,
but everyone has been very patient up to now and I'm hoping that a fix is in
how many categories are there and how often does this code get executed?
It's only one user and within one request where this is happening. I'm
using ZEO. There must be something I fundamentally don't understand
about how I assign an attribute to an object in the ZODB. If you have
any
Read or Write conflict errors?
I'm getting the Key Error traceback on Reads, but my guess is that the
actual error happens sometime before the Key Error, when the
ZCatalog itself is corrupted. I am not sure what that is, because it
does not generate an error.
However, I see the error when I
[EMAIL PROTECTED] wrote at 2006-9-1 02:54 -0400:
I have a Zope product that relies heavily on a ZCatalog to search for
objects within a folder matching certain criteria. The ZCatalog
frequently becomes corrupt, and on searching the catalog, the catalog
gives me key errors. I'm trying to figure
Kris Adcock wrote at 2006-9-1 09:33 +0100:
Right, many thanks to those who have offered advice. I'm conscious that as
I've drifted from a coding topic then I'm probably in the wrong mailing list,
but everyone has been very patient up to now and I'm hoping that a fix is in
sight! :)
I have done a
Traceback for my Key Error (Dieter, thank you for alerting me on where
to find this):
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module
On 9/1/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I'm getting a ZODB.POSException.ConflictError in the following code in a
Custom Zope Product, and I'm hoping someone can enlighten me on how to
fix it.
# nd is a folder with a sub-folder Categories
# NDCategory is a custom Zope product I
20 matches
Mail list logo