[Zope-Checkins] SVN: Zope/branches/2.10/utilities/ Fix ZODBTools external so Zope 2.10 builds again.
Log message for revision 92395: Fix ZODBTools external so Zope 2.10 builds again. Changed: _U Zope/branches/2.10/utilities/ -=- Property changes on: Zope/branches/2.10/utilities ___ Name: svn:externals - ZODBTools svn://svn.zope.org/repos/main/ZODB/tags/3.7.3/src/scripts + ZODBTools svn://svn.zope.org/repos/main/ZODB/tags/3.7.3/src/ZODB/scripts ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
Re: [Zope-dev] zope.app.container won't compile
Andreas Jung wrote: On 19.10.2008 14:14 Uhr, Andreas Jung wrote: On 19.10.2008 14:04 Uhr, Roger Ineichen wrote: Hi Andreas Betreff: [Zope-dev] zope.app.container won't compile A buildout fails reproducable both on Mac and Linux...how is the guilty? Same on windows with Python 2.4. I think this is a Python 2.4 to Python 2.5 migration issue and not platform dependent. Are you using Python 2.4? Sure. If someone made Python 2.4 incompatible changes then they have to reverted :- [EMAIL PROTECTED] neither compiles directly using python setup.py build - neither with Python 2.4 nor 2.5 nor 2.6. Also running the bootstrap.py; bin/buildout dance does not work in any way...wtf??? Works here with Python 2.4, 2.5 and 2.6: [EMAIL PROTECTED]:~$ cd temp [EMAIL PROTECTED]:~/temp$ svn co $z/zope.app.container/trunk zope.app.container ... Checked out revision 92387. [EMAIL PROTECTED]:~/temp$ cd zope.app.container [EMAIL PROTECTED]:~/temp/zope.app.container$ python2.4 setup.py build running build running build_py ... running egg_info ... running build_ext building 'zope.app.container._zope_app_container_contained' extension creating build/temp.macosx-10.3-i386-2.4 creating build/temp.macosx-10.3-i386-2.4/src creating build/temp.macosx-10.3-i386-2.4/src/zope creating build/temp.macosx-10.3-i386-2.4/src/zope/app creating build/temp.macosx-10.3-i386-2.4/src/zope/app/container gcc -I/opt/local/include -L/opt/local/lib -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Iinclude -I/Users/philipp/include/python2.4 -c src/zope/app/container/_zope_app_container_contained.c -o build/temp.macosx-10.3-i386-2.4/src/zope/app/container/_zope_app_container_contained.o gcc -I/opt/local/include -L/opt/local/lib -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.4/src/zope/app/container/_zope_app_container_contained.o -o build/lib.macosx-10.3-i386-2.4/zope/app/container/_zope_app_container_contained.so [EMAIL PROTECTED]:~/temp/zope.app.container$ python2.5 setup.py build running build running build_py ... running egg_info ... running build_ext building 'zope.app.container._zope_app_container_contained' extension creating build/temp.macosx-10.3-i386-2.5 creating build/temp.macosx-10.3-i386-2.5/src creating build/temp.macosx-10.3-i386-2.5/src/zope creating build/temp.macosx-10.3-i386-2.5/src/zope/app creating build/temp.macosx-10.3-i386-2.5/src/zope/app/container gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Iinclude -I/opt/include/python2.5 -c src/zope/app/container/_zope_app_container_contained.c -o build/temp.macosx-10.3-i386-2.5/src/zope/app/container/_zope_app_container_contained.o gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/src/zope/app/container/_zope_app_container_contained.o -o build/lib.macosx-10.3-i386-2.5/zope/app/container/_zope_app_container_contained.so [EMAIL PROTECTED]:~/temp/zope.app.container$ python2.6 setup.py build running build running build_py ... running egg_info ... running build_ext building 'zope.app.container._zope_app_container_contained' extension creating build/temp.macosx-10.3-i386-2.6 creating build/temp.macosx-10.3-i386-2.6/src creating build/temp.macosx-10.3-i386-2.6/src/zope creating build/temp.macosx-10.3-i386-2.6/src/zope/app creating build/temp.macosx-10.3-i386-2.6/src/zope/app/container gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Iinclude -I/opt/include/python2.6 -c src/zope/app/container/_zope_app_container_contained.c -o build/temp.macosx-10.3-i386-2.6/src/zope/app/container/_zope_app_container_contained.o gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.6/src/zope/app/container/_zope_app_container_contained.o -o build/lib.macosx-10.3-i386-2.6/zope/app/container/_zope_app_container_contained.so [EMAIL PROTECTED]:~/temp/zope.app.container$ python2.4 bootstrap.py Creating directory '/Users/philipp/temp/zope.app.container/bin'. Creating directory '/Users/philipp/temp/zope.app.container/parts'. Creating directory '/Users/philipp/temp/zope.app.container/develop-eggs'. Generated script '/Users/philipp/temp/zope.app.container/bin/buildout'. [EMAIL PROTECTED]:~/temp/zope.app.container$ bin/buildout Develop: '/Users/philipp/temp/zope.app.container/.' Installing test. Generated script '/Users/philipp/temp/zope.app.container/bin/test'. [EMAIL PROTECTED]:~/temp/zope.app.container$ bin/test Running zope.app.container.testing.AppContainerLayer tests: Set up zope.app.container.testing.AppContainerLayer in 10.527 seconds. Ran 15 tests with 0 failures and 0 errors in 1.326 seconds. Running zope.testing.testrunner.layer.UnitTests tests: Tear down zope.app.container.testing.AppContainerLayer in 0.001 seconds. Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds. Ran 242 tests with 0 failures and 0 errors in
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 zope.sqlalchemy.datamanager.SessionDataManager object at 0x35a4f50 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 repo/package/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 Designhttp://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 )
[Zope] Non-blocking long-running Zope tasks
Hi, What would be the easiest way of managing long-term Zope tasks? I'm using a Plone-based application using a lot of SQL queries and I have a problem with hanging, probably because of ODBC driver - it hangs on timeouts (Windows). I have an idea to rewrite the core to delegate problematic tasks out of main Zope process. It would solve two problems at once. Long non-responding requests and hanging service. (I would check for query results by AJAX requests.) At the moment the most promising is zc.async. I would connect ZEO dispatchers and give back query results. Problem is that I don't need persistence for most of task results and I wonder if ZEO transactions are necessary for that king of processing? Any starting points to suggest? Paweł Lewicki ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] find zodb object sizes
Hi! I would like to run a script to see what objects size is, printing the zodb path. analize.py gives me a floating point division error, so I would like to ask if there's a simpler way to see what there's inside the ZODB. Thanks. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] find zodb object sizes
On 20.10.2008 17:46 Uhr, Yuri wrote: Hi! I would like to run a script to see what objects size is, printing the zodb path. analize.py gives me a floating point division error, so I would like to ask if there's a simpler way to see what there's inside the ZODB. It would be helpful to see the traceback in order to fix a potential problem with the script. -aj begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:[EMAIL PROTECTED] title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] find zodb object sizes
What's a floating point division error? I know what a ZeroDivisionError is but that's unlikely to be the case for you now. 2008/10/20 Yuri [EMAIL PROTECTED]: Hi! I would like to run a script to see what objects size is, printing the zodb path. analize.py gives me a floating point division error, so I would like to ask if there's a simpler way to see what there's inside the ZODB. Thanks. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope failing to load causing 503 error
like using the port number? going to mysite.com:1080 yields no result. would the port number zope uses be located in the virtual host file or in the zope.conf file? Im really new to zope and I just got this server from another company who went under so Im still figuring out how zope works. Dieter Maurer wrote: rugbert wrote at 2008-10-17 09:33 -0700: I migrated a server from one machine to another (using this thread: http://ubuntuforums.org/showthread.php?t=35087) and while most everything transferred over correctly (some permission settings didnt) apache isnt %100 working. Does your Zope work correctly when you contact it directly (without Apache)? If so, then your problem lies on the Apache side. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- View this message in context: http://www.nabble.com/Zope-failing-to-load-causing-503-error-tp19860988p20079069.html Sent from the Zope - General mailing list archive at Nabble.com. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )