Re: [Zope-dev] Errors / Warnings in Zope log - what to do?
Am Sonntag 19 Oktober 2008 09:28:25 schrieb Dieter Maurer: > Hermann Himmelbauer wrote at 2008-10-17 23:04 +0200: > >During testing, I found the following warnings/errors in my zope log: > > > >--- > >2008-10-17T17:56:50 WARNING ZopePublication Competing writes/reads at ???: > >database conflict error (oid 0x06d3, class zc.queue._queue.BucketQueue, > >serial this txn started with 0x0379451cbf5d7bdd 2008-10-17 > > 15:56:44.851212, serial currently committed 0x0379451ccd1f50bb 2008-10-17 > > 15:56:48.075545) -- > >2008-10-17T17:58:10 ERROR txn.1121233232 Error in tpc_abort() on manager > > > >Traceback (most recent call last): > > ... > >line 82, in tpc_abort > >raise TypeError("Already committed") > >TypeError: Already committed > >-- > >2008-10-17T17:58:10 WARNING ZopePublication Competing writes/reads > >at /BSPSite/act/@@/bspskin-res/bankaustria.gif: database conflict error > > (oid 0x06e3, class zope.session.session.SessionData) > >-- > > > >Why is this happening? I have to admit, that I'm currently > >testing/implementing background tasks with lovely.remotetask - perhaps > > this is the reason? Perhaps it's the combination with zope.sqlalchemy? > > There have been problems with the (then) released version of > "zope.sqlalchemy" (discussed in this mailing list). > > These problems are said to be fixed in the "svn" version. > > Do your problems also occur with the "svn" version? Ah, that could be the reason. I used zope.sqlalchemy 0.3, now I upgraded to the SVN-version, hopefully the errors will be gone. Thanks! Best Regards, Hermann -- [EMAIL PROTECTED] GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7 ___ 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/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Need help - wrong hierarchy on svn.zope.org
Hi, I need a little help. I checked two packages into svn.zope.org, but I have set up the hierarchy incorrectly. The packages are z3c.rotterdam and z3c.boston. The egg is in the base folder, rather than in 'trunk'. I would appreciate it if someone with administration access to the repository could fix the paths. Sorry for the inconvenience, Kevin ___ 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/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Need help - wrong hierarchy on svn.zope.org
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Oct 20, 2008, at 14:05 , kevin gill wrote: > Hi, > > I need a little help. I checked two packages into svn.zope.org, but > I have > set up the hierarchy incorrectly. > > The packages are z3c.rotterdam and z3c.boston. The egg is in the base > folder, rather than in 'trunk'. > > I would appreciate it if someone with administration access to the > repository could fix the paths. You can simply mkdir //trunk and then move everything into that trunk location using "svn mv". Where's the problem? jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkj8ee4ACgkQRAx5nvEhZLLpRQCfS8UhidMeAvW3F7l7jYPa37hS 944AmgIWXWfMnaxL/m90pIAqj5AI94Q8 =Hlww -END PGP SIGNATURE- ___ 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/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 4 OK
Summary of messages to the zope-tests list. Period Sun Oct 19 11:00:00 2008 UTC to Mon Oct 20 11:00:00 2008 UTC. There were 4 messages: 4 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Sun Oct 19 20:46:48 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-October/010338.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Tests Date: Sun Oct 19 20:48:18 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-October/010339.html Subject: OK : Zope-2.11 Python-2.4.4 : Linux From: Zope Tests Date: Sun Oct 19 20:51:21 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-October/010340.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Tests Date: Sun Oct 19 20:52:51 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-October/010341.html ___ 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/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.app.container won't compile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp von Weitershausen wrote: > Andreas Jung wrote: >>> A trunk checkout compiles cleanly on Python 2.4: Sidnei checked in a >>> fix for this problem on Thursday. >> I assume this made it into zope.app.container 3.6.1 released on October >> 15th: >> >> http://pypi.python.org/pypi/zope.app.container >> >> So why won't this version build with Python 2.4? > > Sidnei fixed the 3.6.1 tag locally to build on Python 2.4. The fix > hasn't made it into a release yet. So far I didn't want to create a > release because I'm puzzled by the problem myself: > > zope.app.container 3.5.6 builds on Python 2.4 perfectly without Sidnei's > fix. However, zope.app.container 3.6.x will only build on Python 2.4 > *with* Sidnei's fix (which is available from trunk). Regarding their C > code, the two branches seem to be identical as far as I can tell (for > instance, compare 3.5.6 to 3.6.1). That's why I'm a bit puzzled. Perhaps > somebody else can shed light on this. Did you look at the include' directories? $ svn propget svn:externals $ZSVN/zope.app.container/tags/3.5.6/include persistent svn://svn.zope.org/repos/main/ZODB/trunk/src/persistent zope.proxy \ svn://svn.zope.org/repos/main/zope.proxy/trunk/src/zope/proxy $ svn propget svn:externals $ZSVN/zope.app.container/tags/3.6.1/include persistent -r 71248 \ svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/persistent zope.proxy \ svn://svn.zope.org/repos/main/zope.proxy/trunk/src/zope/proxy Two observations: - - No released version should have 'trunk' externals for anything. - - The 3.5.6 version is pulling in a 'cPersistence.h' which has a '#include "py24compat.h"' in it. > Of course, if everybody's just annoyed and wants to move on, I'll be > happy to create another 3.6.2 release with Sidnei's fix in it. We should fix the externals for both 3.5.x and 3.6.x and re-release both. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI/Itr+gerLs4ltQ4RAoYSAKDMTDYIP7T5n7nr0psW5DaV/vgIcwCgpqSJ p0FcaGnjtWuOOlx+zLVlqms= =tDrK -END PGP SIGNATURE- ___ 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/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.app.container won't compile
On Oct 20, 2008, at 9:45 AM, Tres Seaver wrote: > Did you look at the include' directories? > > $ svn propget svn:externals $ZSVN/zope.app.container/tags/3.5.6/ > include > persistent svn://svn.zope.org/repos/main/ZODB/trunk/src/ > persistent > zope.proxy \ > svn://svn.zope.org/repos/main/zope.proxy/trunk/src/zope/proxy > > $ svn propget svn:externals $ZSVN/zope.app.container/tags/3.6.1/ > include > persistent -r 71248 \ > svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/persistent > zope.proxy \ > svn://svn.zope.org/repos/main/zope.proxy/trunk/src/zope/proxy FWIW, the external was changed for zope.app.container-3.5.6. When KGS 3.4.0c5 was replaced with 3.4.0c6 somebody has removed all other versions of zope.app.container from KGS and stored only zope.app.container-3.5.6 there. (Was that necessary?) In KGS 3.4.0c5 there were several versions of zope.app.container with 3.5.3 being the highest version number. The diff between zope.app.container-3.5.3 and 3.5.6 starts like this: = >8 = Property changes on: include ___ Name: svn:externals - persistent -r 71248 svn://svn.zope.org/repos/main/ZODB/ branches/3.7/src/persistent zope.proxy svn://svn.zope.org/repos/main/zope.proxy/trunk/ src/zope/proxy + persistent svn://svn.zope.org/repos/main/ZODB/trunk/src/ persistent zope.proxy svn://svn.zope.org/repos/main/zope.proxy/trunk/src/ zope/proxy = 8< = So, the change was introduced then, and reverted now for 3.6.1. > Two observations: > > - - No released version should have 'trunk' externals for anything. +1 > - - The 3.5.6 version is pulling in a 'cPersistence.h' which has a > '#include "py24compat.h"' in it. > >> Of course, if everybody's just annoyed and wants to move on, I'll be >> happy to create another 3.6.2 release with Sidnei's fix in it. > > We should fix the externals for both 3.5.x and 3.6.x and re-release > both. +1 ___ 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/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] ZopePublication Competing writes/reads
Hi, Just by chance, I pressed the reload button of my browser for quite some time, so that my Zope3-based site was reloaded over and over. I was surprised to find the following in the logs: 2008-10-20T18:45:15 WARNING ZopePublication Competing writes/reads at /BSPSite/act/s/info: database conflict error (oid 0x0733, class zope.session.session.SessionData) Can someone explain me why this happens, if this is something dangerous or if I can forget about it? I tested the site with Apache Bench (ab2), with many concurrent requests and could not reproduce the problem. So my wild guess is the following: I use session.PersistentSessionDataContainer for my session, so every request will probably read/write to some Zope3 container/btree. And then, for some reasons these reads/writes compete, which leads to the above warning. If I use AB2, there's no cookie, thus no session, hence the problem does not arise. On the other hand, the zope root site (the Rotterdam ZMI) seems not to have this problem, as it seems, I can't trigger this warning message with fast reloads. I'm unsure if I should just ignore that or do something about it. Any hints? Best Regards, Hermann -- [EMAIL PROTECTED] GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7 ___ 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/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Need help - wrong hierarchy on svn.zope.org
kevin gill wrote: > I need a little help. I checked two packages into svn.zope.org, but I have > set up the hierarchy incorrectly. > > The packages are z3c.rotterdam and z3c.boston. The egg is in the base > folder, rather than in 'trunk'. > > I would appreciate it if someone with administration access to the > repository could fix the paths. You can easily do that yourself: svn mv $z/z3c.rotterdam $z/z3c.rotterdam-trunk svn mkdir $z/z3c.rotterdam svn mv $z/z3c.rotterdam-trunk $z/z3c.rotterdam/trunk and the same thing with z3c.boston. Note that the $z environment variable is defines as follows: export z=svn+ssh://svn.zope.org/repos/main or if your remote user name differs from the local one: export z=svn+ssh://[EMAIL PROTECTED]/repos/main ___ 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/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )