[Zope-Annce] [German Zope Conference] Reminder: Call for Papers open
Dear Zope Community, the eighth Zope conference organized by the German Zope User Group (DZUG) will be held this year at the Potsdam Institute for Climate Impact Research from 4. to 5 June 2007 (near Berlin). The topic of the conference will be Zope in sciences. Proposals for talks and workshops can be submitted until 01.04.2007 http://www.zope.de/redaktion/dzug/tagung/potsdam-2007/dzug-conference-2007-call-for-papers-zope-in-science or http://www.zope.de/redaktion/dzug/tagung/potsdam-2007/dzug-conference-2007-call-for-papers-zope-in-science Both German and English proposals are highly welcome. You can find further information about the Zope conference here: http://www.zope.de/8-dzug-tagung Regards, Andreas Jung Assistant Chairman DZUG e.V. pgpGC4rDKkNeh.pgp Description: PGP signature ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope-Annce] Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
I uploaded corrected versions of the Zope 2.9.7 and 2.10.3 tar-balls. The tar-balls released yesterday contained a bug that caused a startup failure when using zopectl start. Andreas --On 25. März 2007 12:45:58 +0100 Andreas Jung [EMAIL PROTECTED] wrote: The Zope developer community I is pleased to announce the release of three new Zope releases: 2.8.9, 2.9.7 and 2.10.3. You can download the releases from: http://www.zope.org/Products/Zope/2.8.9/ http://www.zope.org/Products/Zope/2.9.7/ http://www.zope.org/Products/Zope/2.10.3/ The release notes and release information are available directly from the links above. All releases are bugfix releasse and include the hotfix published some days ago: http://www.zope.org/Products/Zope/Hotfix-2007-03-20 - -- Andreas Jung -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK E-Publishing, Python, Zope Plone development, Consulting pgpprcKPqmdLq.pgp Description: PGP signature ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope-Annce] Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc Balmer wrote: Andreas Jung wrote: I uploaded corrected versions of the Zope 2.9.7 and 2.10.3 tar-balls. The tar-balls released yesterday contained a bug that caused a startup failure when using zopectl start. don't do this again. Don't do what? I was about to agree, as I don't think re-releasing under the same version number was correct: the new releases should be 2.9.7.1, 2.10.3.1, or something similary (or bump to 2.9.8, 2.10.4). this bug is so obvious to catch that I have some serious doubts about your software testing process. are you releasing totally untested code? can we trust your releases in the future, will you change sth in your process? The testing that gets done is not done from released tarballs, but from subversion checkouts. This was a bug in the process that created the tarball from a checkout, and not in the underlying Zope software itself. I *think* it also affected only those who build and install Zope as root, although I can't tell for sure, since the tarballs have been replaced. At any rate, I *never* build, install, or run Zope as root, and hence would never have noticed the problem, even if I were doing the releases myself. Releasing software as a security fix that does not even start makes you look like a moron, I am sorry to say. Too harsh. Certainly nobody likes having released a brown bagger, but mistakes do happen. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGCDHa+gerLs4ltQ4RAqHbAJ9UvloqzCCj9NrCaGSeYZDfZduaJwCdFH5l ydlyxzoHGP7aNnVjG1IJClU= =6vHA -END PGP SIGNATURE- ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/inst/Makefile.in fix file and directory permissions before generating the tarball
Log message for revision 73625: fix file and directory permissions before generating the tarball Changed: U Zope/branches/Zope-2_8-branch/inst/Makefile.in -=- Modified: Zope/branches/Zope-2_8-branch/inst/Makefile.in === --- Zope/branches/Zope-2_8-branch/inst/Makefile.in 2007-03-26 12:50:23 UTC (rev 73624) +++ Zope/branches/Zope-2_8-branch/inst/Makefile.in 2007-03-26 12:55:57 UTC (rev 73625) @@ -117,6 +117,8 @@ # sdist_tgz: Create a tgz archive file as a source distribution. # sdist_tgz: version_txt + ${FIND} . -type f -exec chmod a+r {} \; + ${FIND} . -type d -exec chmod a+rx {} \; ${MKDIR} ${TMPDIR} ${CD} ${TMPDIR} ${LN} ${BASE_DIR} ${PACKAGE_NAME} \ ${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tgz \ ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/ Prevent ZPublisher from insering incorrect base/ tags into the
Log message for revision 73639: Prevent ZPublisher from insering incorrect base/ tags into the headers of plain html files served from Zope3 resource directories. Also cleanup whitespace in CHANGES.txt. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Products/Five/browser/resource.py U Zope/trunk/lib/python/Products/Five/browser/tests/resource_ftest.txt A Zope/trunk/lib/python/Products/Five/browser/tests/resource_subdir/resource.html -=- Modified: Zope/trunk/doc/CHANGES.txt === --- Zope/trunk/doc/CHANGES.txt 2007-03-26 16:27:10 UTC (rev 73638) +++ Zope/trunk/doc/CHANGES.txt 2007-03-26 17:37:07 UTC (rev 73639) @@ -70,7 +70,7 @@ ISO-8859-15. For other encodings you might set the environment variable ZPT_REFERRED_ENCODING to insert your preferred encoding in front of utf-8 and ISO-8859-15 within the encoding sniffer code. - + In addition there is a new 'output_encodings' property that controls the conversion from/to unicode for WebDAV/FTP operations. @@ -80,12 +80,12 @@ Products/PageTemplates/(configure.zcml, unicodeconflictresolver.py, interfaces.py) - - AccessControl.Role: added new method + - AccessControl.Role: added new method manage_getUserRolesAndPermissions(). - - - AccessControl: the form behind the Security tab has a new form -for user-related reporting of permissions and roles + - AccessControl: the form behind the Security tab has a new form +for user-related reporting of permissions and roles + Bugs Fixed - Collector #2298: webdav.Resource.COPY and webdav.Resource.MOVE did @@ -97,7 +97,7 @@ - Collector #2294: Protected DOS-able ControlPanel methods with the same 'requestmethod' wrapper. - + - Collector #2294: Protected various security mutators with a new 'postonly' decorator. The decorator limits method publishing to POST requests only, and is a backport from Zope 2.11's requestmethod @@ -109,9 +109,9 @@ is looked up. - PageTemplate/ZRPythonExpr.py: expressions represented as unicode string -caused UnicodeDecodeErrors. +caused UnicodeDecodeErrors. - - PluginIndexes: Fixed 'parseIndexRequest' for false values. + - PluginIndexes: Fixed 'parseIndexRequest' for false values. - Collector #2269: fixed broken ZPT FTP support @@ -190,6 +190,9 @@ - Collector #2187: PUT_factory broken (fwd port from 2.10 branch). + - Prevent ZPublisher from insering incorrect base/ tags into the +headers of plain html files served from Zope3 resource directories. + Other Changes - Disabled docutils file inclusion completely, rather than trying Modified: Zope/trunk/lib/python/Products/Five/browser/resource.py === --- Zope/trunk/lib/python/Products/Five/browser/resource.py 2007-03-26 16:27:10 UTC (rev 73638) +++ Zope/trunk/lib/python/Products/Five/browser/resource.py 2007-03-26 17:37:07 UTC (rev 73639) @@ -61,6 +61,9 @@ def render(self): Rendered content +# ZPublisher might have called setBody with an incorrect URL +# we definitely don't want that if we are plain html +self.request.RESPONSE.setBase(None) pt = self.context return pt(self.request) Modified: Zope/trunk/lib/python/Products/Five/browser/tests/resource_ftest.txt === --- Zope/trunk/lib/python/Products/Five/browser/tests/resource_ftest.txt 2007-03-26 16:27:10 UTC (rev 73638) +++ Zope/trunk/lib/python/Products/Five/browser/tests/resource_ftest.txt 2007-03-26 17:37:07 UTC (rev 73639) @@ -78,6 +78,33 @@ BLANKLINE +We also can traverse into sub-directories: + + print http(r''' + ... GET /test_folder_1_/testoid/++resource++fivetest_resources/resource_subdir/resource.txt HTTP/1.1 + ... Authorization: Basic manager:r00t + ... ''') + HTTP/1.1 200 OK + ... + This is a resource in a subdirectory of a normal resource to test traversal. + BLANKLINE + + print http(r''' + ... GET /test_folder_1_/testoid/++resource++fivetest_resources/resource_subdir/resource.html HTTP/1.1 + ... Authorization: Basic manager:r00t + ... ''') + HTTP/1.1 200 OK + ... + html + head + /head + body + This .html should not have a base tag automatically + added to the header. + /body + /html + BLANKLINE + Clean up Added: Zope/trunk/lib/python/Products/Five/browser/tests/resource_subdir/resource.html === --- Zope/trunk/lib/python/Products/Five/browser/tests/resource_subdir/resource.html 2007-03-26 16:27:10 UTC (rev 73638) +++
[Zope-Checkins] SVN: Products.Five/branches/1.3/ Back port from trunk on svn.zope.org:
Log message for revision 73640: Back port from trunk on svn.zope.org: r73639 | jinty | 2007-03-26 19:37:07 +0200 (Mon, 26 Mar 2007) | 5 lines Prevent ZPublisher from insering incorrect base/ tags into the headers of plain html files served from Zope3 resource directories. Changed: U Products.Five/branches/1.3/CHANGES.txt U Products.Five/branches/1.3/browser/resource.py U Products.Five/branches/1.3/browser/tests/resource_ftest.txt A Products.Five/branches/1.3/browser/tests/resource_subdir/resource.html -=- Modified: Products.Five/branches/1.3/CHANGES.txt === --- Products.Five/branches/1.3/CHANGES.txt 2007-03-26 17:37:07 UTC (rev 73639) +++ Products.Five/branches/1.3/CHANGES.txt 2007-03-26 18:26:53 UTC (rev 73640) @@ -11,6 +11,9 @@ * site/metaconfigure: Local site hook now only applied once per class, so multiple five:localsite tags for the same class won't cause config errors. + +* Prevent ZPublisher from insering incorrect base/ tags into the + headers of plain html files served from Zope3 resource directories. Five 1.3.8 (2006-11-04) === Modified: Products.Five/branches/1.3/browser/resource.py === --- Products.Five/branches/1.3/browser/resource.py 2007-03-26 17:37:07 UTC (rev 73639) +++ Products.Five/branches/1.3/browser/resource.py 2007-03-26 18:26:53 UTC (rev 73640) @@ -65,6 +65,9 @@ def render(self): Rendered content +# ZPublisher might have called setBody with an incorrect URL +# we definitely don't want that if we are plain html +self.request.RESPONSE.setBase(None) pt = self.context return pt(self.request) Modified: Products.Five/branches/1.3/browser/tests/resource_ftest.txt === --- Products.Five/branches/1.3/browser/tests/resource_ftest.txt 2007-03-26 17:37:07 UTC (rev 73639) +++ Products.Five/branches/1.3/browser/tests/resource_ftest.txt 2007-03-26 18:26:53 UTC (rev 73640) @@ -78,6 +78,33 @@ BLANKLINE +We also can traverse into sub-directories: + + print http(r''' + ... GET /test_folder_1_/testoid/++resource++fivetest_resources/resource_subdir/resource.txt HTTP/1.1 + ... Authorization: Basic manager:r00t + ... ''') + HTTP/1.1 200 OK + ... + This is a resource in a subdirectory of a normal resource to test traversal. + BLANKLINE + + print http(r''' + ... GET /test_folder_1_/testoid/++resource++fivetest_resources/resource_subdir/resource.html HTTP/1.1 + ... Authorization: Basic manager:r00t + ... ''') + HTTP/1.1 200 OK + ... + html + head + /head + body + This .html should not have a base tag automatically + added to the header. + /body + /html + BLANKLINE + Clean up Copied: Products.Five/branches/1.3/browser/tests/resource_subdir/resource.html (from rev 73639, Zope/trunk/lib/python/Products/Five/browser/tests/resource_subdir/resource.html) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Products.Five/branches/1.4/ Back port from trunk on svn.zope.org:
Log message for revision 73641: Back port from trunk on svn.zope.org: r73639 | jinty | 2007-03-26 19:37:07 +0200 (Mon, 26 Mar 2007) | 5 lines Prevent ZPublisher from insering incorrect base/ tags into the headers of plain html files served from Zope3 resource directories. Changed: U Products.Five/branches/1.4/CHANGES.txt U Products.Five/branches/1.4/browser/resource.py U Products.Five/branches/1.4/browser/tests/resource_ftest.txt A Products.Five/branches/1.4/browser/tests/resource_subdir/resource.html -=- Modified: Products.Five/branches/1.4/CHANGES.txt === --- Products.Five/branches/1.4/CHANGES.txt 2007-03-26 18:26:53 UTC (rev 73640) +++ Products.Five/branches/1.4/CHANGES.txt 2007-03-26 18:31:34 UTC (rev 73641) @@ -14,6 +14,9 @@ * site/metaconfigure: Local site hook now only applied once per class, so multiple five:localsite tags for the same class won't cause config errors. + +* Prevent ZPublisher from insering incorrect base/ tags into the + headers of plain html files served from Zope3 resource directories. Five 1.4.2 (2006-11-04) === Modified: Products.Five/branches/1.4/browser/resource.py === --- Products.Five/branches/1.4/browser/resource.py 2007-03-26 18:26:53 UTC (rev 73640) +++ Products.Five/branches/1.4/browser/resource.py 2007-03-26 18:31:34 UTC (rev 73641) @@ -65,6 +65,9 @@ def render(self): Rendered content +# ZPublisher might have called setBody with an incorrect URL +# we definitely don't want that if we are plain html +self.request.RESPONSE.setBase(None) pt = self.context return pt(self.request) Modified: Products.Five/branches/1.4/browser/tests/resource_ftest.txt === --- Products.Five/branches/1.4/browser/tests/resource_ftest.txt 2007-03-26 18:26:53 UTC (rev 73640) +++ Products.Five/branches/1.4/browser/tests/resource_ftest.txt 2007-03-26 18:31:34 UTC (rev 73641) @@ -78,6 +78,33 @@ BLANKLINE +We also can traverse into sub-directories: + + print http(r''' + ... GET /test_folder_1_/testoid/++resource++fivetest_resources/resource_subdir/resource.txt HTTP/1.1 + ... Authorization: Basic manager:r00t + ... ''') + HTTP/1.1 200 OK + ... + This is a resource in a subdirectory of a normal resource to test traversal. + BLANKLINE + + print http(r''' + ... GET /test_folder_1_/testoid/++resource++fivetest_resources/resource_subdir/resource.html HTTP/1.1 + ... Authorization: Basic manager:r00t + ... ''') + HTTP/1.1 200 OK + ... + html + head + /head + body + This .html should not have a base tag automatically + added to the header. + /body + /html + BLANKLINE + Clean up Copied: Products.Five/branches/1.4/browser/tests/resource_subdir/resource.html (from rev 73639, Zope/trunk/lib/python/Products/Five/browser/tests/resource_subdir/resource.html) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/lib/python/App/ApplicationManager.py Add missing REQUEST parameter
Log message for revision 73642: Add missing REQUEST parameter Changed: U Zope/trunk/lib/python/App/ApplicationManager.py -=- Modified: Zope/trunk/lib/python/App/ApplicationManager.py === --- Zope/trunk/lib/python/App/ApplicationManager.py 2007-03-26 18:31:34 UTC (rev 73641) +++ Zope/trunk/lib/python/App/ApplicationManager.py 2007-03-26 18:35:51 UTC (rev 73642) @@ -390,7 +390,7 @@ if os.environ.has_key('ZMANAGED'): manage_restartable=1 @postonly -def manage_restart(self, URL1): +def manage_restart(self, URL1, REQUEST=None): Shut down the application try: user = '%s' % getSecurityManager().getUser().getUserName() ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/App/ApplicationManager.py Add missing REQUEST parameter
Log message for revision 73643: Add missing REQUEST parameter Changed: U Zope/branches/2.10/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/2.10/lib/python/App/ApplicationManager.py === --- Zope/branches/2.10/lib/python/App/ApplicationManager.py 2007-03-26 18:35:51 UTC (rev 73642) +++ Zope/branches/2.10/lib/python/App/ApplicationManager.py 2007-03-26 18:36:58 UTC (rev 73643) @@ -390,7 +390,7 @@ if os.environ.has_key('ZMANAGED'): manage_restartable=1 @postonly -def manage_restart(self, URL1): +def manage_restart(self, URL1, REQUEST=None): Shut down the application try: user = '%s' % getSecurityManager().getUser().getUserName() ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/App/ApplicationManager.py Add missing REQUEST parameter
Log message for revision 73644: Add missing REQUEST parameter Changed: U Zope/branches/2.9/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/2.9/lib/python/App/ApplicationManager.py === --- Zope/branches/2.9/lib/python/App/ApplicationManager.py 2007-03-26 18:36:58 UTC (rev 73643) +++ Zope/branches/2.9/lib/python/App/ApplicationManager.py 2007-03-26 18:37:41 UTC (rev 73644) @@ -389,7 +389,7 @@ if os.environ.has_key('ZMANAGED'): manage_restartable=1 @postonly -def manage_restart(self, URL1): +def manage_restart(self, URL1, REQUEST=None): Shut down the application try: user = '%s' % getSecurityManager().getUser().getUserName() ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py Add missing REQUEST parameter
Log message for revision 73645: Add missing REQUEST parameter Changed: U Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py === --- Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py 2007-03-26 18:37:41 UTC (rev 73644) +++ Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py 2007-03-26 18:38:21 UTC (rev 73645) @@ -386,7 +386,7 @@ if os.environ.has_key('ZMANAGED'): manage_restartable=1 -def manage_restart(self, URL1): +def manage_restart(self, URL1, REQUEST=None): Shut down the application try: user = '%s' % getSecurityManager().getUser().getUserName() ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Products.Five/branches/1.5/ Back port from trunk on svn.zope.org:
Log message for revision 73646: Back port from trunk on svn.zope.org: r73639 | jinty | 2007-03-26 19:37:07 +0200 (Mon, 26 Mar 2007) | 5 lines Prevent ZPublisher from insering incorrect base/ tags into the headers of plain html files served from Zope3 resource directories. Changed: U Products.Five/branches/1.5/CHANGES.txt U Products.Five/branches/1.5/browser/resource.py U Products.Five/branches/1.5/browser/tests/resource_ftest.txt A Products.Five/branches/1.5/browser/tests/resource_subdir/resource.html -=- Modified: Products.Five/branches/1.5/CHANGES.txt === --- Products.Five/branches/1.5/CHANGES.txt 2007-03-26 18:38:21 UTC (rev 73645) +++ Products.Five/branches/1.5/CHANGES.txt 2007-03-26 18:39:09 UTC (rev 73646) @@ -25,6 +25,9 @@ * site/metaconfigure: Local site hook now only applied once per class, so multiple five:localsite tags for the same class won't cause config errors. + +* Prevent ZPublisher from insering incorrect base/ tags into the + headers of plain html files served from Zope3 resource directories. Five 1.5.1 (2006-11-04) === Modified: Products.Five/branches/1.5/browser/resource.py === --- Products.Five/branches/1.5/browser/resource.py 2007-03-26 18:38:21 UTC (rev 73645) +++ Products.Five/branches/1.5/browser/resource.py 2007-03-26 18:39:09 UTC (rev 73646) @@ -61,6 +61,9 @@ def render(self): Rendered content +# ZPublisher might have called setBody with an incorrect URL +# we definitely don't want that if we are plain html +self.request.RESPONSE.setBase(None) pt = self.context return pt(self.request) Modified: Products.Five/branches/1.5/browser/tests/resource_ftest.txt === --- Products.Five/branches/1.5/browser/tests/resource_ftest.txt 2007-03-26 18:38:21 UTC (rev 73645) +++ Products.Five/branches/1.5/browser/tests/resource_ftest.txt 2007-03-26 18:39:09 UTC (rev 73646) @@ -78,6 +78,33 @@ BLANKLINE +We also can traverse into sub-directories: + + print http(r''' + ... GET /test_folder_1_/testoid/++resource++fivetest_resources/resource_subdir/resource.txt HTTP/1.1 + ... Authorization: Basic manager:r00t + ... ''') + HTTP/1.1 200 OK + ... + This is a resource in a subdirectory of a normal resource to test traversal. + BLANKLINE + + print http(r''' + ... GET /test_folder_1_/testoid/++resource++fivetest_resources/resource_subdir/resource.html HTTP/1.1 + ... Authorization: Basic manager:r00t + ... ''') + HTTP/1.1 200 OK + ... + html + head + /head + body + This .html should not have a base tag automatically + added to the header. + /body + /html + BLANKLINE + Clean up Copied: Products.Five/branches/1.5/browser/tests/resource_subdir/resource.html (from rev 73639, Zope/trunk/lib/python/Products/Five/browser/tests/resource_subdir/resource.html) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/tags/2.10.3/ deleted
Log message for revision 73647: deleted Changed: D Zope/tags/2.10.3/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/tags/2.10.3/ retagging 2.10.3
Log message for revision 73648: retagging 2.10.3 Changed: A Zope/tags/2.10.3/ -=- Copied: Zope/tags/2.10.3 (from rev 73647, Zope/branches/2.10) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/tags/2.9.7/ deleted
Log message for revision 73649: deleted Changed: D Zope/tags/2.9.7/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/tags/2.9.7/ Zopee 2.9.7
Log message for revision 73650: Zopee 2.9.7 Changed: A Zope/tags/2.9.7/ -=- Copied: Zope/tags/2.9.7 (from rev 73649, Zope/branches/2.9) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/tags/2.8.9/ delete
Log message for revision 73657: delete Changed: D Zope/tags/2.8.9/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-dev] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Sun Mar 25 12:00:00 2007 UTC to Mon Mar 26 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Sun Mar 25 20:53:23 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007493.html Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Unit Tests Date: Sun Mar 25 20:54:53 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007494.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Unit Tests Date: Sun Mar 25 20:56:23 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007495.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Unit Tests Date: Sun Mar 25 20:57:53 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007496.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Unit Tests Date: Sun Mar 25 20:59:24 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-March/007497.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 )
[Zope-dev] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
I decided to retractthe latest 2.9.7 and Zope 2.10.3 releases for now because of this problem: http://mail.zope.org/pipermail/zope/2007-March/171086.html I could confirm that zopectl start does not work properly. zdaemon spawns the second process however this one seems to go own immediately. Unfortunately I could not find the reason so far. Any help will be appreciated. Andreas pgpShX8I0j765.pgp Description: 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] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
According to Andreas Jung: I decided to retractthe latest 2.9.7 and Zope 2.10.3 releases for now because of this problem: http://mail.zope.org/pipermail/zope/2007-March/171086.html I could confirm that zopectl start does not work properly. zdaemon spawns the second process however this one seems to go own immediately. Unfortunately I could not find the reason so far. Any help will be appreciated. At the risk of saying something obvious... strace showed, that the spawned process exits with raise ValueError('No REQUEST parameter in callable signature') which is part of the postonly(callable) function in lib/python/AccessControl/requestmethod.py. Wasnt this part of the hotfix? \wlang{} -- [EMAIL PROTECTED]Fax: +43/1/31336/9207 Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria ___ 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] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
Hello, Le 26/03/07 18:38, Willi Langenberger a écrit : According to Andreas Jung: I decided to retract the latest 2.9.7 and Zope 2.10.3 releases for now because of this problem: http://mail.zope.org/pipermail/zope/2007-March/171086.html I could confirm that zopectl start does not work properly. [...] At the risk of saying something obvious... strace showed, that the spawned process exits with raise ValueError('No REQUEST parameter in callable signature') [...] I guess that someone has already found this too, but I share it nonetheless: 'ApplicationManager.manage_restart()' in 'lib/python/App/ApplicationManager.py' does not have any 'REQUEST' parameter. The new 'postonly()' function therefore raise the above mentionned error. Changing the method signature to: manage_restart(self, URL1, REQUEST=None): makes Zope start. 'REQUEST' is not used in this method, though. However, it is also not used in 'manage_shutdown()' but appears in its signature. I guess that adding it to 'manager_restart()' should not have any side-effect. Regards, -- Damien Baty Pilot Systems - 9, rue Desargues - 75011 Paris Tél : +33 (0)1 44 53 05 55 - http://www.pilotsystems.net Hébergement Zope et Plone gratuit - http://www.objectis.org ___ 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] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
On 3/26/07, Damien Baty [EMAIL PROTECTED] wrote: manage_restart(self, URL1, REQUEST=None): makes Zope start. 'REQUEST' is not used in this method, though. However, it is also not used in 'manage_shutdown()' but appears in its signature. I guess that adding it to 'manager_restart()' should not have any side-effect. @postonly uses the REQUEST parameter, that's why it demands the parameter being present. Tres Seaver added the decorators to the Control_Panel and must've missed the REQUEST parameter on manage_restart, which only comes into effect when running the zope process with zopectl start. -- Martijn Pieters ___ 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] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
On 3/26/07, Martijn Pieters [EMAIL PROTECTED] wrote: Tres Seaver added the decorators to the Control_Panel and must've missed the REQUEST parameter on manage_restart, which only comes into effect when running the zope process with zopectl start. Fixed on the trunk, and the 2.8, 2.9 and 2.10 branches, my servers start fine with zopectl start. -- Martijn Pieters ___ 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] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
--On 26. März 2007 20:21:09 +0200 Martijn Pieters [EMAIL PROTECTED] wrote: On 3/26/07, Damien Baty [EMAIL PROTECTED] wrote: manage_restart(self, URL1, REQUEST=None): makes Zope start. 'REQUEST' is not used in this method, though. However, it is also not used in 'manage_shutdown()' but appears in its signature. I guess that adding it to 'manager_restart()' should not have any side-effect. @postonly uses the REQUEST parameter, that's why it demands the parameter being present. Tres Seaver added the decorators to the Control_Panel and must've missed the REQUEST parameter on manage_restart, which only comes into effect when running the zope process with zopectl start. The penalty for this bug: two bottles of wine. The workaround is to add REQUEST as optional parameter to manage_restart()? Andreas pgpaaZlesI9ng.pgp Description: 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] buildbot failure in Zope branches 2.10 2.4 Linux zc-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: 489 Blamelist: adamg,andreasjung,baijum,dobe,fdrake,jinty,mj,rogerineichen,romanofski,shh BUILD FAILED: failed test sincerely, -The Buildbot ___ 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] buildbot failure in Zope branches 2.9 2.4 Linux zc-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: 490 Blamelist: adamg,andreasjung,baijum,dobe,fdrake,jinty,mj,rogerineichen,romanofski,shh BUILD FAILED: failed test sincerely, -The Buildbot ___ 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] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
On 3/26/07, Andreas Jung [EMAIL PROTECTED] wrote: The penalty for this bug: two bottles of wine. You know where to send the bill. ;) The workaround is to add REQUEST as optional parameter to manage_restart()? No, it's 'svn up' now, as I fixed it already. :) -- Martijn Pieters ___ 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] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
--On 26. März 2007 20:54:55 +0200 Martijn Pieters [EMAIL PROTECTED] wrote: On 3/26/07, Andreas Jung [EMAIL PROTECTED] wrote: The penalty for this bug: two bottles of wine. You know where to send the bill. ;) The workaround is to add REQUEST as optional parameter to manage_restart()? No, it's 'svn up' now, as I fixed it already. :) Tnx for the fix. I am tagging and building the tar-balls right now. Andreas pgpBrtbFrXvw0.pgp Description: 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] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem
New tar-balls are now available for download. I removed the warning messages from the download pages and the zope.org frontpage. Thanks to Martijn and Michael for jumping in! Andreas --On 26. März 2007 16:53:06 +0200 Andreas Jung [EMAIL PROTECTED] wrote: I decided to retractthe latest 2.9.7 and Zope 2.10.3 releases for now because of this problem: http://mail.zope.org/pipermail/zope/2007-March/171086.html I could confirm that zopectl start does not work properly. zdaemon spawns the second process however this one seems to go own immediately. Unfortunately I could not find the reason so far. Any help will be appreciated. Andreas pgpnqKu8KC8J0.pgp Description: 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] smart development debugging
I have to thank you all for your valuable suggestions. to aj: If you have the freedom to choose your Zope version: - start with Zope 2.10 + CMF 2.1 - put your templates etc. into the filesystem using portal_skins - use Zope 3 technology together with CMF: Zope 3 schema + formlib for creating content-types, forms etc... - avoid Plone if you really don't need it. Don't start with Plone *just because it looks nice* and if you really need only a small subset of the Plone functionality... -aj Yes, I do have the freedom to choose which Zope version to run on my machines and I'm going to focus my attention on the setup you suggested. to chris: One 'kickstart' way to get started with something that will build out a Zope environment in a repeatable way on UNIX (Linux/BSD/Mac/ probably Solaris) is available at http://www.plope.com/static/misc/ buildit_example-20070314-1.tgz. It requires buildit at http:// www.agendaless.com/Members/chrism/software/buildit/ . We use this to allow individual developers to have dev instances on their own systems. - C Thank you, I'll take a look at that too. to Marco/Eric: what you suggested is just what I was thinking about even if I still have to understand how to put together all your suggestions to provide a comfortable and painless development environment to my devs. PAFlow looks really interesting to me since one of our projects is directly related to the local PA. Again, thank you all. Roberto ___ 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] bin/zopectl start not working for Zope 2.9.7
Hi, Maybe I just need a hit with a cluebat here. But I just downloaded the new Zope 2.9.7 tar ball (thanks Andreas and others who worked on that!). When I try bin/runzope or bin/zopectl fg or debug everything looks fine. But bin/zopectl start does nothing. Has anyone else seen this? I did the usual dance of ./configure, make, (sudo) make install. The configure options were: ./configure --with-python=/usr/bin/python --prefix=/opt/zope/zope2.9.7 Then I made a zope instance in ~/instances/t /opt/zope/zope2.9.7/bin/mkzopeinstance.py Then start the zope instance: ~/instances/t $ bin/zopectl start . daemon process started, pid=15466 Then nothing seems to happen. No log file is being made: ~/instances/t $ tail -f /home/maurits/instances/t/log/event.log tail: cannot open `/home/maurits/instances/t/log/event.log' for reading: No such file or directory tail: no files remaining There is one process running: $ pgrep -lf zope 15465 /usr/bin/python /opt/zope/zope2.9.7/lib/python/zdaemon/zdrun.py -S /opt/zope/zope2.9.7/lib/python/Zope2/Startup/zopeschema.xml -b 10 -d -s /home/maurits/instances/t/var/zopectlsock -x 0,2 -z /home/maurits/instances/t /home/maurits/instances/t/bin/runzope and after a while that stops. bin/zopectl fg meanwhile starts up zope just fine. An alternative is to run 'make inplace' and 'make instance' instead of 'make install'. Okay, so I removed the instance, unpacked a clean tar ball and did configure, make, make inplace, make instance. Again, bin/zopectl start does not work, and foreground works fine. I also just downloaded 2.8.9. Let's first check if that might have the same problem. Ah, it at least has another problem: $ /opt/zope/zope2.8.9/bin/mkzopeinstance.py ... [Errno 13] Permission denied: './README.txt' and indeed: $ ls -l /opt/zope/zope2.8.9/skel/README.txt -rw--- 1 root root 481 2007-03-25 11:33 /opt/zope/zope2.8.9/skel/README.txt Ah, and when fixing this with a chmod some more errors like that creep up. So after installing 2.8.9 as root or with sudo, mkzopeinstance does not work. This has happened to me with other Zope versions as well. At least I remember reporting this earlier; and seeing it solved fortunately. :) It would seem the root source has not been found/fixed though. :( Any chance of fixing this? Need any help Andrea? -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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] Re: bin/zopectl start not working for Zope 2.9.7
Maurits van Rees, on 2007-03-26: So after installing 2.8.9 as root or with sudo, mkzopeinstance does not work. This has happened to me with other Zope versions as well. At least I remember reporting this earlier; and seeing it solved fortunately. :) It would seem the root source has not been found/fixed though. :( Ah, it looks fixed on the 2.9 branch, but not 2.8. In the sdist_tgz target of the makefile the 2.9 branch has these two extra lines, which I think need to be added to the 2.8 branch too: ${FIND} . -type f -exec chmod a+r {} \; ${FIND} . -type d -exec chmod a+rx {} \; Meanwhile, this 2.8.9 has the same problem that I reported for 2.9.7: bin/zopectl start does not work, though 'fg' does work. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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] Re: bin/zopectl start not working for Zope 2.9.7
--On 26. März 2007 12:36:49 + Maurits van Rees [EMAIL PROTECTED] wrote: Maurits van Rees, on 2007-03-26: So after installing 2.8.9 as root or with sudo, mkzopeinstance does not work. This has happened to me with other Zope versions as well. At least I remember reporting this earlier; and seeing it solved fortunately. :) It would seem the root source has not been found/fixed though. :( Ah, it looks fixed on the 2.9 branch, but not 2.8. In the sdist_tgz target of the makefile the 2.9 branch has these two extra lines, which I think need to be added to the 2.8 branch too: ${FIND} . -type f -exec chmod a+r {} \; ${FIND} . -type d -exec chmod a+rx {} \; Right - because the Zope 2.8 branch is going to die. I don't think that there will be further 2.8 releases except security related releases. Andreas pgpGNCdcu1KTK.pgp Description: PGP signature ___ 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] presenting content in Zope generated outside
Dears List-mates, I have a program that process some data analysis and it's able to generate html docs to be visualised in a web browser. What I am trying to figure out is a way of wrapping this external html docs inside Zope/Plone. Trying to explain it better: I would like to present such data analysis results (and for that I can play with its code in order to generate just the body block for example) as if it were part of our plone website, i.e. using our website's layout with its header and side columns etc. That external data (and html doc) is accessible via LocalFS among others reasons because they are big and temporary. I am aware of importing html via FTP or webdav or even considering to code a python external method to generate the data analysis results independently of my external program, but I guess these approach involves using a lot of ZODB resources, besides processing time, that frankly I would like to avoid. Accessing data via LocalFS or similar and just turn them presentable inside a zope website seems to be the natural way, but I am missing how to do it. I thought about using frames, but it sounds even worse. BTW, is Zope able to work with frames? Another possibility I imagined was if I could fill my external html files with '!-- @import ...' inside e.g. head block, but I really don't know how far I can go with that idea, since my first tests showed me that it can works for font style (*.css files) but then I don't know what else to do, for example, to get the side menu and calendar. Anyway, any commentary here would be very appreciated. Sorry if I couldn't express me better but I am prone to extend any point here if you wish. I thank very much in advance any help. Cheers, Alan ___ 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] ZCatalog len problem (resolved)
- Original Message - From: Andreas Jung [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED]; zope@zope.org Sent: Saturday, March 24, 2007 10:43 AM Subject: Re: [Zope] ZCatalog len problem --On 24. März 2007 10:16:46 -0400 Jonathan [EMAIL PROTECTED] wrote: I have a ZCatalog and in the ZMI 'Catalog' tab it reports: Returns: len(sRes)= 1820 cnt= 1842 The result remains the same after reindexing the whole catalog? Yes. I have an application that has 5 different ZCatalogs. The same problem occurs in 3 of them. It seems that a ZCatalog with less than ~500 records is ok, but the len problem increases with the number of records in the ZCatalog: actuallendiff 108 108 0 322 322 0 613 607 6 1842 1820 22 3628 3590 38 It looks like the __len__ method in Catalog.py is not returning the correct value - it returns self._length() which is set by the following method (also in Catalog.py): def migrate__len__(self): migration of old __len__ magic for Zope 2.8 if not hasattr(self, '_length'): n = self.__dict__['__len__']() del self.__dict__['__len__'] self._length = BTrees.Length.Length(n) Is this migration code for pre-2.8 catalogs. This change was necessary because the new ExtensionClass implementation did not longer work with the scary implementation of the __len__ functionality of the Catalog class. If the result remains the same after reindexing the catalog there might be an issue with the increment/decrement calls of the _length counter with catalogObject/uncatalogObject...however no idea why... Clearing the catalog and then running 'Find Objects' returns the same incorrect number every time (at least the error is consistent!). I have also loaded records into the ZCatalogs via a python script/external method and the record counts are exactly the same as with the 'Find Objects'. I wrote a bunch of unittests and could not recreate the problem, so i reinstalled zope and rebuilt the application infrastructure (ZCatalogs, etc) and reloaded all the data from scratch and the problem went away! Good idea of using the unittests to track down the problem, thanks Andreas. Jonathan ___ 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] Re: bin/zopectl start not working for Zope 2.9.7
Maurits van Rees, on 2007-03-26: Maurits van Rees, on 2007-03-26: Meanwhile, this 2.8.9 has the same problem that I reported for 2.9.7: bin/zopectl start does not work, though 'fg' does work. And Zope 2.10.3 has this problem too for bin/zopectl start. I just tried unpacking and making zope 2.10.2 and it goes fine there, so this does not look like a sudden mishap on my system. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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] Re: presenting content in Zope generated outside
Hi Alan, I had a similar requirement a few years ago and wrote it up here: http://plone.org/documentation/how-to/integrate-external-content/ Reading the comments it seems as if someone has made it into a product. There is also a product called Windowz which uses iframes: http://plone.org/products/windowz And yes, zope will work with frames (they're just html). @import is css not html. You need xslt to do that sort of thing with xhtml. Hope that helps, Laurence Alan wrote: Dears List-mates, I have a program that process some data analysis and it's able to generate html docs to be visualised in a web browser. What I am trying to figure out is a way of wrapping this external html docs inside Zope/Plone. Trying to explain it better: I would like to present such data analysis results (and for that I can play with its code in order to generate just the body block for example) as if it were part of our plone website, i.e. using our website's layout with its header and side columns etc. That external data (and html doc) is accessible via LocalFS among others reasons because they are big and temporary. I am aware of importing html via FTP or webdav or even considering to code a python external method to generate the data analysis results independently of my external program, but I guess these approach involves using a lot of ZODB resources, besides processing time, that frankly I would like to avoid. Accessing data via LocalFS or similar and just turn them presentable inside a zope website seems to be the natural way, but I am missing how to do it. I thought about using frames, but it sounds even worse. BTW, is Zope able to work with frames? Another possibility I imagined was if I could fill my external html files with '!-- @import ...' inside e.g. head block, but I really don't know how far I can go with that idea, since my first tests showed me that it can works for font style (*.css files) but then I don't know what else to do, for example, to get the side menu and calendar. Anyway, any commentary here would be very appreciated. Sorry if I couldn't express me better but I am prone to extend any point here if you wish. I thank very much in advance any help. Cheers, Alan ___ 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 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] [German Zope Conference] Reminder: Call for Papers open
Dear Zope Community, the eighth Zope conference organized by the German Zope User Group (DZUG) will be held this year at the Potsdam Institute for Climate Impact Research from 4. to 5 June 2007 (near Berlin). The topic of the conference will be Zope in sciences. Proposals for talks and workshops can be submitted until 01.04.2007 http://www.zope.de/redaktion/dzug/tagung/potsdam-2007/dzug-conference-2007-call-for-papers-zope-in-science or http://www.zope.de/redaktion/dzug/tagung/potsdam-2007/dzug-conference-2007-call-for-papers-zope-in-science Both German and English proposals are highly welcome. You can find further information about the Zope conference here: http://www.zope.de/8-dzug-tagung Regards, Andreas Jung Assistant Chairman DZUG e.V. pgpvMVJxd8E7H.pgp Description: PGP signature ___ 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] Some __bobo_traverse__ help
On 3/26/07, Dieter Maurer [EMAIL PROTECTED] wrote: Martijn is a Five expert and told you things that may happen when Five is heavily used. Not as much as the other one though. ;) I (Martijn Pieters) attempted to help out, Martijn Faassen is the Five expert. I do not think that your problem is Five related -- and I am almost convinced that it is not related to your wrappers. This is not a Five problem. Unfortunately, I cannot tell you what causes your problem. It seems to be authentication related. I would verify REQUEST._auth (you told us, you were using HTTP basic authentication; then REQUEST._auth should contain the authorization info from the request) in your debugging session. One potentially important hint from Martijn is to check where the failing validate is called. If the call comes from traversal, then authentication did not yet happen (as Martijn has pointed out). I suspect that he is doing something at traversal time that requires a logged-in user. The publisher, however, won't look for a user until after traversal: 1) Traverse the URL 2) Look up user in the returned context 3) Call whatever traversal returned If his __bobo_traverse__ returned a callable that does the dirty work, the problem should be resolved. Compare this to Five views, for example. They are objects with a __call__ method. They are constructed at traversal time (__init__ is called), and then called (__call__ is executed). -- Martijn Pieters ___ 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] [Solved] Re: bin/zopectl start not working for Zope 2.9.7
Marking thread as solved, as that is exactly what Andreas has done. See his reply in the thread Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released. Andreas Jung, on 2007-03-26: Unfortunately I must confirm this issue :-( But I have no idea what's going on here :( Apparently you found it after all. :) Thanks. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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] Re: Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Marc Balmer wrote: Andreas Jung wrote: I uploaded corrected versions of the Zope 2.9.7 and 2.10.3 tar-balls. The tar-balls released yesterday contained a bug that caused a startup failure when using zopectl start. don't do this again. Don't do what? I was about to agree, as I don't think re-releasing under the same version number was correct: the new releases should be 2.9.7.1, 2.10.3.1, or something similary (or bump to 2.9.8, 2.10.4). this bug is so obvious to catch that I have some serious doubts about your software testing process. are you releasing totally untested code? can we trust your releases in the future, will you change sth in your process? The testing that gets done is not done from released tarballs, but from subversion checkouts. This was a bug in the process that created the tarball from a checkout, and not in the underlying Zope software itself. I *think* it also affected only those who build and install Zope as root, although I can't tell for sure, since the tarballs have been replaced. At any rate, I *never* build, install, or run Zope as root, and hence would never have noticed the problem, even if I were doing the releases myself. Following up to myself, as I had wrongly assumed that this problem was related to file permissions in the tarball (only an issue on the 2.8 branch, apparanetly). *I* introduced the bug here, by failiing to add a REQUEST parameter to one method. I *did* test starting the server, but only using 'zopectl fg', and not 'zopectl start', as well as running all the unit and functional tests for each branch before checking in. As a process fix: we should be adding functional tests which exercise the 'start', 'restart', 'fg', etc. verbs of 'zopectl'. Mea culpa. I owe the wine or equivalent comestibles to Andreas and Martijn. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGCDWr+gerLs4ltQ4RAsV7AJ42IAyzEHHfWbO3FZt1PO2bq2lfxwCgxTq6 T35Lkae75xAyvj5B651dNNI= =vmcK -END PGP SIGNATURE- ___ 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] Re: Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
Andreas Jung, on 2007-03-26: I uploaded corrected versions of the Zope 2.9.7 and 2.10.3 tar-balls. The tar-balls released yesterday contained a bug that caused a startup failure when using zopectl start. Great, thank you! I tested the new tar balls and they work fine now. Any chance of doing this for 2.8.9 as well, as this has the same bug? -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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] Re: [Zope-Annce] Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
On 3/26/07, Tres Seaver [EMAIL PROTECTED] wrote: Releasing software as a security fix that does not even start makes you look like a moron, I am sorry to say. Calling people morons makes you look like one, I'm afraid. The bug had only indirectly to do with the recent security fix. The startup problem only occurred when running Zope in managed mode, something most developers never do because you normally want to see the Zope log output when developing, so you catch problems early. So the problem was limited to a special-cased method declaration that only gets run in a deployment setting. This was one of those rare cases of bad luck, as the developer in question was not aware of the fact that this one special-cased method was not covered by a unit or functional test. -- Martijn Pieters ___ 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] Re: [Zope-Annce] Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc Balmer wrote: Andreas Jung wrote: I uploaded corrected versions of the Zope 2.9.7 and 2.10.3 tar-balls. The tar-balls released yesterday contained a bug that caused a startup failure when using zopectl start. don't do this again. Don't do what? I was about to agree, as I don't think re-releasing under the same version number was correct: the new releases should be 2.9.7.1, 2.10.3.1, or something similary (or bump to 2.9.8, 2.10.4). this bug is so obvious to catch that I have some serious doubts about your software testing process. are you releasing totally untested code? can we trust your releases in the future, will you change sth in your process? The testing that gets done is not done from released tarballs, but from subversion checkouts. This was a bug in the process that created the tarball from a checkout, and not in the underlying Zope software itself. I *think* it also affected only those who build and install Zope as root, although I can't tell for sure, since the tarballs have been replaced. At any rate, I *never* build, install, or run Zope as root, and hence would never have noticed the problem, even if I were doing the releases myself. Releasing software as a security fix that does not even start makes you look like a moron, I am sorry to say. Too harsh. Certainly nobody likes having released a brown bagger, but mistakes do happen. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGCDHa+gerLs4ltQ4RAqHbAJ9UvloqzCCj9NrCaGSeYZDfZduaJwCdFH5l ydlyxzoHGP7aNnVjG1IJClU= =6vHA -END PGP SIGNATURE- ___ 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] Re: [Zope-Annce] Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
I uploaded corrected versions of the Zope 2.9.7 and 2.10.3 tar-balls. The tar-balls released yesterday contained a bug that caused a startup failure when using zopectl start. Andreas --On 25. März 2007 12:45:58 +0100 Andreas Jung [EMAIL PROTECTED] wrote: The Zope developer community I is pleased to announce the release of three new Zope releases: 2.8.9, 2.9.7 and 2.10.3. You can download the releases from: http://www.zope.org/Products/Zope/2.8.9/ http://www.zope.org/Products/Zope/2.9.7/ http://www.zope.org/Products/Zope/2.10.3/ The release notes and release information are available directly from the links above. All releases are bugfix releasse and include the hotfix published some days ago: http://www.zope.org/Products/Zope/Hotfix-2007-03-20 - -- Andreas Jung -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK E-Publishing, Python, Zope Plone development, Consulting pgpoI7twbS2kd.pgp Description: PGP signature ___ 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] Some __bobo_traverse__ help
Hi Martijn and Dieter! Martijn is correct, absolutely! At my product __bobo_traverse__ is calling __call__ method who do the dirty work How could be the __bobo_traverse__ to work as expected with out losting traverse_subpath? I can't return self without losting traverse_subpath list and that's because I don't return self to execute __call__ (index_html returns __call__ too) Thanks!!! 2007/3/26, Martijn Pieters [EMAIL PROTECTED]: On 3/26/07, Dieter Maurer [EMAIL PROTECTED] wrote: Martijn is a Five expert and told you things that may happen when Five is heavily used. Not as much as the other one though. ;) I (Martijn Pieters) attempted to help out, Martijn Faassen is the Five expert. I do not think that your problem is Five related -- and I am almost convinced that it is not related to your wrappers. This is not a Five problem. Unfortunately, I cannot tell you what causes your problem. It seems to be authentication related. I would verify REQUEST._auth (you told us, you were using HTTP basic authentication; then REQUEST._auth should contain the authorization info from the request) in your debugging session. One potentially important hint from Martijn is to check where the failing validate is called. If the call comes from traversal, then authentication did not yet happen (as Martijn has pointed out). I suspect that he is doing something at traversal time that requires a logged-in user. The publisher, however, won't look for a user until after traversal: 1) Traverse the URL 2) Look up user in the returned context 3) Call whatever traversal returned If his __bobo_traverse__ returned a callable that does the dirty work, the problem should be resolved. Compare this to Five views, for example. They are objects with a __call__ method. They are constructed at traversal time (__init__ is called), and then called (__call__ is executed). -- Martijn Pieters -- Mis Cosas http://blogs.sistes.net/Garito ___ 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] Re: [Zope-Annce] Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
--On 26. März 2007 16:49:30 -0400 Tres Seaver [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc Balmer wrote: Andreas Jung wrote: I uploaded corrected versions of the Zope 2.9.7 and 2.10.3 tar-balls. The tar-balls released yesterday contained a bug that caused a startup failure when using zopectl start. don't do this again. Don't do what? I was about to agree, as I don't think re-releasing under the same version number was correct: the new releases should be 2.9.7.1, 2.10.3.1, or something similary (or bump to 2.9.8, 2.10.4). Creating a new release takes me about 45 minutes for each release..time I don't have this week before my vacation. So my decision should be acceptable for the Zope world - perhaps not for the packagers...anyway things happen... this bug is so obvious to catch that I have some serious doubts about your software testing process. are you releasing totally untested code? can we trust your releases in the future, will you change sth in your process? The testing that gets done is not done from released tarballs, but from subversion checkouts. This was a bug in the process that created the tarball from a checkout, and not in the underlying Zope software itself. I *think* it also affected only those who build and install Zope as root, although I can't tell for sure, since the tarballs have been replaced. At any rate, I *never* build, install, or run Zope as root, and hence would never have noticed the problem, even if I were doing the releases myself. I usually test the tar-balls but only using zopectl fg which did not show any errors for the three releases. Andreas pgpehcWJS5w1f.pgp Description: PGP signature ___ 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] Re: Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
--On 26. März 2007 20:29:21 + Maurits van Rees [EMAIL PROTECTED] wrote: Andreas Jung, on 2007-03-26: I uploaded corrected versions of the Zope 2.9.7 and 2.10.3 tar-balls. The tar-balls released yesterday contained a bug that caused a startup failure when using zopectl start. Great, thank you! I tested the new tar balls and they work fine now. Any chance of doing this for 2.8.9 as well, as this has the same bug? The 2.8.9 release does not contain this error since Python decorators aren't available in Python 2.3 (the official blessed Python version). Andreas pgpAd11tMGuoZ.pgp Description: PGP signature ___ 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] Re: Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
On 3/27/07, Andreas Jung [EMAIL PROTECTED] wrote: The 2.8.9 release does not contain this error since Python decorators aren't available in Python 2.3 (the official blessed Python version). The problem *does* exist as decorators are just a nice way of spelling: methodName = decoratorName(methodName) That's how the postonly decorator is applied in 2.8 and in the Hotfix, and the REQUEST parameter is still required. I fixed this in the 2.8 branch as well last night. -- Martijn Pieters ___ 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] Re: Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released
--On 27. März 2007 07:41:06 +0200 Martijn Pieters [EMAIL PROTECTED] wrote: On 3/27/07, Andreas Jung [EMAIL PROTECTED] wrote: The 2.8.9 release does not contain this error since Python decorators aren't available in Python 2.3 (the official blessed Python version). The problem *does* exist as decorators are just a nice way of spelling: methodName = decoratorName(methodName) That's how the postonly decorator is applied in 2.8 and in the Hotfix, and the REQUEST parameter is still required. I fixed this in the 2.8 branch as well last night. You're right. I did not notice that the decorator emulation moved *of course* after the method...blame it on the summer time or the late night :-) Andreas pgpy9ZmWdMQXE.pgp Description: PGP signature ___ 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-DB] Unified DA for Zope 2 using SQLAlchemy?
Andreas Jung wrote at 2007-3-25 17:49 +0200: In the Zope 2 worlds we have dedicated database adapters for different databases. Fortunately the Python world made us a wonderful present called SQLAlchemy that abstracts the different databases. In the Zope world we have some wrappers like z3c.zalchemy and z3c.sqlalchemy... basically they deal with connection handling, mapper handling and integration with the Zope transaction system. Would it make sense to replace all different Zope DAs with a generic DA on top of one of the z3c.* wrappers? I think it would not be too hard to write such a DA...or am I missing something? Thoughts? As I think I know you a bit, I would expect that you also want to deprecate the current support and get rid of it altogether within a year. This would get an even greater desaster than the tried removal of zLOG: huge amounts of applications would stop to work -- and many people would stop to use new Zope releases. Otherwise, I would not object against an *additional* SQLAlchemy based adapter. -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Unified DA for Zope 2 using SQLAlchemy?
--On 26. März 2007 22:21:02 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Andreas Jung wrote at 2007-3-25 17:49 +0200: In the Zope 2 worlds we have dedicated database adapters for different databases. Fortunately the Python world made us a wonderful present called SQLAlchemy that abstracts the different databases. In the Zope world we have some wrappers like z3c.zalchemy and z3c.sqlalchemy... basically they deal with connection handling, mapper handling and integration with the Zope transaction system. Would it make sense to replace all different Zope DAs with a generic DA on top of one of the z3c.* wrappers? I think it would not be too hard to write such a DA...or am I missing something? Thoughts? As I think I know you a bit, I would expect that you also want to deprecate the current support and get rid of it altogether within a year. My posting says *nothing* about deprecating something. So __please__ stop reading between the lines when there is nothing - except whitespaces. This would get an even greater desaster than the tried removal of zLOG: huge amounts of applications would stop to work -- and many people would stop to use new Zope releases. Otherwise, I would not object against an *additional* SQLAlchemy based adapter. That's *exactly* what I am talking about - an *additional* generic DA on top of SA where we don't have to care about the different RDBMS flavours - at least not the ones directly supported through SA. -aj pgp6f2ihWA6Ze.pgp Description: PGP signature ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Unified DA for Zope 2 using SQLAlchemy?
Am 26.03.2007, 22:31 Uhr, schrieb Andreas Jung [EMAIL PROTECTED]: That's *exactly* what I am talking about - an *additional* generic DA on top of SA where we don't have to care about the different RDBMS flavours - at least not the ones directly supported through SA. I'm all for an SQLAlchemy DA (does SQLAlchemy support anything other than PostgreSQL?) and this would help people move from Zope 2 to Zope 3 but it *cannot* replace the other DA's because of the imperfect nature of SQL and the even less perfect nature of RDBMs. :-/ Furthermore, there are many occasions where you want the kind of direct access to a relation you get with the existing DA's. Charlie -- Charlie Clark eGenix.com Professional Python Services directly from the Source Python/Zope Consulting and Support ...http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/ Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Unified DA for Zope 2 using SQLAlchemy?
My posting says *nothing* about deprecating something. So __please__ stop reading between the lines when there is nothing - except whitespaces. But you said about *replacing* all different zope DAs. So I think it is not reading between lines. I agree that this kind of adapter (as additional one) is a nice idea :) -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
[Zope-DB] ZMySQLDA thinks that MySQL has gone away
Hello, I got this error when querying MySQL 5.0.26. I use Zope 2.9.4 and ZMysqlDA 2.0.9b3 (with MySQLdb 1.2.1_p2). MySQL do not gone away. This error only happens after exactly 8 hours of database inactivity. I found some information about this error. It seems is caused because MySQL close the connection after 8 hours, this time is stored at 'wait_timeout' system variable in the MySQL server. I'm doing an application for school where isn't there activity at night. Then db.py don't know this because it feels that connection is alive. Maybe the solution is check the connection before db.query. Something similar in Zope3-Dev: http://mail.zope.org/pipermail/zope3-dev/2005-December/017052.html The solution: http://mail.zope.org/pipermail/checkins/2006-September/004078.html Traceback (innermost last): - Module ZPublisher.Publish, line 194, in publish_module_standard - Module ZPublisher.Publish, line 157, in publish - Module Zope2.App.startup, line 243, in abort - Module transaction._manager, line 107, in abort - Module transaction._transaction, line 507, in abort - Module transaction._transaction, line 580, in abort - Module Shared.DC.ZRDB.TM, line 64, in abort - Module Products.ZMySQLDA.db, line 389, in _abort error: release unlocked lock Other people with the problem: http://mail.zope.org/pipermail/zope/2005-June/159762.html http://dev.plone.org/plone/ticket/6263 It will be possible fix this? If not, how can I do the transactions with MySQL? Maybe with sqlobject o sqlalchemy? Sorry for my English and sorry for create a new thread (*ticino at hccnet.nl *put this question on the list some days ago). Thanks in advance. Peter Lion ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] ZMySQLDA thinks that MySQL has gone away
On Mon, Mar 26, 2007, Pedro Le?n L?pez wrote: Hello, I got this error when querying MySQL 5.0.26. I use Zope 2.9.4 and ZMysqlDA 2.0.9b3 (with MySQLdb 1.2.1_p2). MySQL do not gone away. This error only happens after exactly 8 hours of database inactivity. I found some information about this error. It seems is caused because MySQL close the connection after 8 hours, this time is stored at 'wait_timeout' system variable in the MySQL server. I'm doing an application for school where isn't there activity at night. Given that mysql (or any other database) may well be restarted as part of log rotation and cron maintenance, you may well want to not depend on continuously open connections. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``During times of universal deceit, telling the truth becomes a revolutionary act.'' --George Orwell ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] ZMySQLDA thinks that MySQL has gone away
- Original Message - From: Pedro León López [EMAIL PROTECTED] To: zope-db@zope.org Sent: Monday, March 26, 2007 5:56 PM Subject: [Zope-DB] ZMySQLDA thinks that MySQL has gone away Hello, I got this error when querying MySQL 5.0.26. I use Zope 2.9.4 and ZMysqlDA 2.0.9b3 (with MySQLdb 1.2.1_p2). MySQL do not gone away. This error only happens after exactly 8 hours of database inactivity. I found some information about this error. It seems is caused because MySQL close the connection after 8 hours, this time is stored at 'wait_timeout' system variable in the MySQL server. I'm doing an application for school where isn't there activity at night. Then db.py don't know this because it feels that connection is alive. Maybe the solution is check the connection before db.query. Very easy to create a simple DTML routine which accesses MySQL; then set up a cron job to run that DTML routine every few hours. Jonathan ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Unified DA for Zope 2 using SQLAlchemy?
--On 26. März 2007 22:49:21 +0200 Maciej Wisniowski [EMAIL PROTECTED] wrote: My posting says *nothing* about deprecating something. So __please__ stop reading between the lines when there is nothing - except whitespaces. But you said about *replacing* all different zope DAs. So I think it is not reading between lines. Well you know that Zope does not skip with any DA (except the one for Gadyfly). So I am not in the position to replace anything in the Zope core that does not exist :-) Especially I am not in the position to replace any third-party products. So my whole posting has absolutely nothing to with the Zope core. I am just trying to collect feedback - good or bad - for a such a project - *totally independent* of the Zope 2 core. I hope this was clear enough - even for Dieter. I agree that this kind of adapter (as additional one) is a nice idea :) Andreas pgpaD0GiU0l8j.pgp Description: PGP signature ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db