Importing Problem - Z2 CONFLICT Competing writes at
Hi All, We are having a problem while importing a .zexp into a clean Data.fs on Zope 2.3.0 with HotFix intalled runing on debian. We already read on this list other messages with similar error messages. We've found a good explanation for the message below from Chris McDonough: "It happens when more than one thread tries to modify the same object in storage at the same time. It's Zope's equivalent of record-locking... It's normal. There's no corruption or anything, it's telling you that it avoided a write that might have caused problems." The problem is how can we get this error if there is only one person, one thread, making modifications to Zope? Despite the error below, the folder with its objects appears to be imported normally. Could it be a corrupted data stored in zexp that I'm tring to import in this new Data.fs? This is the error message that shows up on Zope stderr, when we try to import the zexp: ------ 2001-03-15T15:31:40 INFO(0) Z2 CONFLICT Competing writes at, /manage_importObject Traceback (innermost last): File /home/zope/230/lib/python/ZPublisher/Publish.py, line 175, in publish File /home/zope/230/lib/python/Zope/__init__.py, line 235, in commit File /home/zope/230/lib/python/ZODB/Transaction.py, line 252, in commit File /home/zope/230/lib/python/ZODB/Connection.py, line 270, in commit ConflictError: '\000\000\000\000\000\000\023\226' Thanks in advance. Ze Octavio Hiperlógica http://hiper.com.br
You can get more info by finding out what this object is... cd to lib/python invoke python
import Zope app = Zope.app() app._p_jar['\000\000\000\000\000\000\023\226'] <some instance name>
What is some_instance_name? Are you positive that there are no other threads doing any work? ----- Original Message ----- From: "Ze Octavio" <joc@hiper.com.br> To: "Zopelist" <zope@zope.org> Sent: Thursday, March 15, 2001 4:15 PM Subject: [Zope] Importing Problem - Z2 CONFLICT Competing writes at Hi All, We are having a problem while importing a .zexp into a clean Data.fs on Zope 2.3.0 with HotFix intalled runing on debian. We already read on this list other messages with similar error messages. We've found a good explanation for the message below from Chris McDonough: "It happens when more than one thread tries to modify the same object in storage at the same time. It's Zope's equivalent of record-locking... It's normal. There's no corruption or anything, it's telling you that it avoided a write that might have caused problems." The problem is how can we get this error if there is only one person, one thread, making modifications to Zope? Despite the error below, the folder with its objects appears to be imported normally. Could it be a corrupted data stored in zexp that I'm tring to import in this new Data.fs? This is the error message that shows up on Zope stderr, when we try to import the zexp: ------ 2001-03-15T15:31:40 INFO(0) Z2 CONFLICT Competing writes at, /manage_importObject Traceback (innermost last): File /home/zope/230/lib/python/ZPublisher/Publish.py, line 175, in publish File /home/zope/230/lib/python/Zope/__init__.py, line 235, in commit File /home/zope/230/lib/python/ZODB/Transaction.py, line 252, in commit File /home/zope/230/lib/python/ZODB/Connection.py, line 270, in commit ConflictError: '\000\000\000\000\000\000\023\226' Thanks in advance. Ze Octavio Hiperlógica http://hiper.com.br _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Thu, 15 Mar 2001 18:15:52 -0300, Ze Octavio <joc@hiper.com.br> wrote:
The problem is how can we get this error if there is only one person, one thread, making modifications to Zope?
I guess that you have accidentally written some code that is causing zope to think think an object is changed - even though *you* dont think the object is changed. Check the undo log in the root folder - I guess it will list some transactions that you werent expecting to see. Toby Dickenson tdickenson@geminidataloggers.com
That's weird. What I get here is 2001-03-18T00:26:41 INFO(0) Z2 CONFLICT Competing writes at, /etribos/img/banner.gif Traceback (innermost last): File /opt/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 175, in publish File /opt/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py, line 235, in commit File /opt/Zope-2.3.0-linux2-x86/lib/python/ZODB/Transaction.py, line 252, in commit File /opt/zope/lib/python/ZODB/Connection.py, line 270, in commit ConflictError: '\000\000\000\000\000\000\034*' []s, |alo +---- -- Hack and Roll ( http://www.hackandroll.org ) The biggest site for whatever-it-is-that-we-are. http://www.laranja.org/ mailto:lalo@laranja.org pgp key: http://www.laranja.org/pessoal/pgp Brazil of Darkness (RPG) --- http://www.BroDar.org/
participants (4)
-
Chris McDonough -
Lalo Martins -
Toby Dickenson -
Ze Octavio