Re: [Zope-dev] zope-tests - FAILED: 2, OK: 21
Am 04.12.2012 um 02:00 schrieb Zope tests summarizer: Non-OK results -- [1]FAILED winbot / z3c.recipe.paster_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-December/069728.html Error: Couldn't find a distribution for 'BTrees=4.0.0dev,4.1dev'. [2]FAILED winbot / zope.app.i18n_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-December/069727.html Traceback (most recent call last): File c:\Python26_32\lib\unittest.py, line 279, in run testMethod() File c:\eggs\zope.i18n-3.8.0-py2.6.egg\zope\i18n\tests\test_itranslationdomain.py, line 99, in testNoTargetLanguage eq(translate('short_greeting', context=context, default=42), 42) File c:\buildslave\zope.app.i18n\build\src\zope\app\i18n\translationdomain.py, line 74, in translate catalog_names = self._catalogs.get(target_language, []) TypeError: Object has default comparison Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · Tel +49 345 1229889-8 Python, Pyramid, Plone, Zope · consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: zope.app.locales/trunk/ In version 3.7.2 msgids and default values where forced to be unicodes. This
Am 29.06.2012 um 19:45 schrieb Tres Seaver: […] Hmm, I'm running into a test failure where the Message constructor blows up with a decode error for the 'default' value here. Does that ring any bells for anyone? I know we can't be depending on a sys.setdefaultencoding hack. Sorry for the delayed response. I ran the tests of zope.app.locales with Python 2.5, 2.6 and 2.7. I did not get any errors. Which Pyhton version did you use? What does the traceback look like? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · Tel +49 345 1229889-8 Python, Pyramid, Plone, Zope · consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] using WSGIPublisher
Am 06.06.2012 um 19:58 schrieb Hanno Schlichting: […] As I said above, my main concern is keeping publisher events and exception views intact. Some of these events need to happen in code that's currently inside repoze.* middleware. Like before transaction commit, publication failure or publication success. […] +1 to re-add these events. In our WSGI projects it hurts that they are gone now. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: zope.file/branches/ulif-fix-menus/ Do menu-related configuration only if z.a.zcmlfiles is available.
Am 04.06.2012 um 18:30 schrieb Uli Fouquet: […] Also updated the 0.6 branch in SVN. Hope that's okay. I think there should not be a 0.6 branch as the trunk is still on 0.6.*. Usually we only create maintenance branches for non-current releases. Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · Softwareentwickler gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Deutschland http://gocept.com · Tel +49 345 1229889 8 · Fax +49 345 1229889 1 Beratung, Entwicklung und Hosting für Python, Pyramid, Zope, und Plone ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 2, OK: 39
Am 05.06.2012 um 03:00 schrieb Zope tests summarizer: […] Non-OK results -- [1]FAILED ZTK 1.0dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-June/063929.html [2]FAILED ZTK 1.1dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-June/063928.html Both have the same problem: error: invalid command 'develop' While: Installing. Processing develop directory '/home/ccomb/ztk1.0dev-slave/Python2.5.5-Linux-64bit/build/src/zope.app.error'. Is this a virus? ;) Now we have two buildbots with this strange problem. Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · Softwareentwickler gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Deutschland http://gocept.com · Tel +49 345 1229889 8 · Fax +49 345 1229889 1 Beratung, Entwicklung und Hosting für Python, Pyramid, Zope, und Plone ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: zope.file/branches/ulif-fix-menus/ Do menu-related configuration only if z.a.zcmlfiles is available.
Am 05.06.2012 um 09:53 schrieb Tres Seaver: On 06/05/2012 03:28 AM, Michael Howitz wrote: Am 04.06.2012 um 18:30 schrieb Uli Fouquet: […] Also updated the 0.6 branch in SVN. Hope that's okay. I think there should not be a 0.6 branch as the trunk is still on 0.6.*. Usually we only create maintenance branches for non-current releases. That isn't true any longer for the ZTK packages: I added maintenance branches for all the versions used by ZTK 1.0 / 1.1, and switched the development checkouts for 1.0 / 1.1. to use them. Without that change, the stop-energy of breaking a dev build for 1.0 / 1.1 was interfering with ongoing development. In this case, version 0.6.1 of the zope.file package was included in ZTK 1.0, but dropped from the ZTK before 1.1. I'm pretty sure the changes Uli added should *not* be propagated into another ZTK 1.0 release: I think they might break apps deployed against ZTK 1.0: Because of the BBB concerns, I think we may need to re-release a 0.6.3 which reverts the 0.6 branch back to the 0.6.1 state, and make Uli's new stuff available as a 0.7.0 release. I thought the same way but I looked at the changes: now only if zope.app.zcmlfiles is there the menu items are registered which was done unconditionally before. I do not see why this should break any ZTK 1.0 apps. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: zope.file/branches/ulif-fix-menus/ Do menu-related configuration only if z.a.zcmlfiles is available.
Am 04.06.2012 um 14:11 schrieb Uli Fouquet: […] Maybe someone could then do the zope.file 0.6.2 release or grant PyPI permissions for 'ulif'. Access granted. Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · Softwareentwickler gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Deutschland http://gocept.com · Tel +49 345 1229889 8 · Fax +49 345 1229889 1 Beratung, Entwicklung und Hosting für Python, Pyramid, Zope, und Plone ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 1, OK: 40
Am 31.05.2012 um 03:00 schrieb Zope tests summarizer: […] Non-OK results -- [1]FAILED ZTK 1.1dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-May/063717.html Same as yesterday. I'm unable to reproduce this problem locally (Mac OS X, Python 2.5.6). Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 2, OK: 40
Am 29.05.2012 um 03:00 schrieb Zope tests summarizer: […] Non-OK results -- [1]FAILED ZTK 1.0 / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-May/063668.html Strange Buildout error: While: Installing. Checking for upgrades. Getting distribution for 'distribute==0.6.27'. An internal error occured due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File /home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/buildout.py, line 1683, in main getattr(buildout, command)(args) File /home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/buildout.py, line 404, in install self._maybe_upgrade() File /home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/buildout.py, line 827, in _maybe_upgrade allow_hosts = self._allow_hosts File /home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/easy_install.py, line 800, in install return installer.install(specs, working_set) File /home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/easy_install.py, line 646, in install for dist in self._get_dist(requirement, ws, self._always_unzip): File /home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/easy_install.py, line 543, in _get_dist dist.location, ws, self._dest, dist) File /home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/easy_install.py, line 378, in _call_easy_install shutil.rmtree(newloc) File /usr/local/python2.5.5/lib/python2.5/shutil.py, line 184, in rmtree onerror(os.rmdir, path, sys.exc_info()) File /usr/local/python2.5.5/lib/python2.5/shutil.py, line 182, in rmtree os.rmdir(path) OSError: [Errno 39] Directory not empty: '/home/ccomb/buildout-eggs/distribute-0.6.27-py2.5.egg' [2]FAILED ZTK 1.1dev / Python2.7.2 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-May/063641.html Timeout in buildout phase. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 3, OK: 42
Am 16.05.2012 um 03:00 schrieb Zope tests summarizer: Non-OK results -- [1]FAILED winbot / zope.configuration_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-May/063067.html Real test failures: missing path normalization and others [2]FAILED winbot / zope.schema_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-May/063094.html [3]FAILED winbot / zope.schema_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-May/063068.html While: Installing. Getting section docs. Error: The referenced section, 'docs', was not defined. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 1, OK: 37, UNKNOWN: 2
Am 02.05.2012 um 03:00 schrieb Zope tests summarizer: Non-OK results -- [1]UNKNOWN UNKNOWN : winbot / ztk_dev py_265_win32 https://mail.zope.org/pipermail/zope-tests/2012-May/061274.html [2]UNKNOWN UNKNOWN : winbot / ztk_dev py_265_win64 https://mail.zope.org/pipermail/zope-tests/2012-May/061275.html Still this strange error during first phase: svn (seems to do a rm -r and svn checkout) File c:\python25_sys\lib\site-packages\buildbot-0.8.0-py2.5.egg\buildbot\slave\commands\utils.py, line 53, in rmdirRecursive os.remove(full_name) exceptions.WindowsError: [Error 5] Access is denied: 'c:\\buildslave\\ztk_dev_py_265_win64\\build\\bin\\test-zopeapp-zc.sourcefactory.exe' Maybe a newer buildbot version could help on PyPI there is 0.8.6p1 [3]FAILED ZTK 1.1dev / Python2.7.2 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-May/061255.html Timeout during buildout phase. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 4, OK: 36
Am 18.04.2012 um 03:00 schrieb Zope tests summarizer: Non-OK results -- [1]FAILED winbot / ztk_dev py_265_win32 https://mail.zope.org/pipermail/zope-tests/2012-April/060705.html [2]FAILED winbot / ztk_dev py_265_win64 https://mail.zope.org/pipermail/zope-tests/2012-April/060706.html [3]FAILED winbot / ztk_dev py_270_win32 https://mail.zope.org/pipermail/zope-tests/2012-April/060707.html [4]FAILED winbot / ztk_dev py_270_win64 https://mail.zope.org/pipermail/zope-tests/2012-April/060708.html While: Installing test-ztk. Getting distribution for 'repoze.sphinx.autointerface'. Error: Picked: repoze.sphinx.autointerface = 0.6.2 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 3, OK: 37
Am 03.04.2012 um 03:00 schrieb Zope tests summarizer: [1]FAILED ZTK 1.1dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-April/060071.html [2]FAILED ZTK 1.1dev / Python2.6.7 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-April/060070.html [3]FAILED ZTK 1.1dev / Python2.7.2 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-April/060072.html Wrong zope.component version, fixed yesterday. Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · Softwareentwickler gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Deutschland http://gocept.com · Tel +49 345 1229889 8 · Fax +49 345 1229889 1 Beratung, Entwicklung und Hosting für Python, Pyramid, Zope, und Plone ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 12, OK: 32
Am 02.04.2012 um 03:00 schrieb Zope tests summarizer: [6]FAILED ZTK 1.1dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-April/060030.html [7]FAILED ZTK 1.1dev / Python2.6.7 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-April/060031.html [8]FAILED ZTK 1.1dev / Python2.7.2 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-April/060033.html zope.component trunk requires at least zope.interface 3.8, so I created a zope.component maintenance branch. [9]FAILED winbot / ztk_dev py_265_win32 https://mail.zope.org/pipermail/zope-tests/2012-April/060050.html [10] FAILED winbot / ztk_dev py_265_win64 https://mail.zope.org/pipermail/zope-tests/2012-April/060051.html [11] FAILED winbot / ztk_dev py_270_win32 https://mail.zope.org/pipermail/zope-tests/2012-April/060052.html [12] FAILED winbot / ztk_dev py_270_win64 https://mail.zope.org/pipermail/zope-tests/2012-April/060053.html Missing version pinnings for coverage (needed by zope.interface and zope.event), so I added them. == Buildbots should be green again by tomorrow or the day after. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 2, OK: 37
Am 20.03.2012 um 02:00 schrieb Zope tests summarizer: […] Non-OK results -- [1]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-March/059505.html Seems to have run before my fix yesterday, so expecting it to get green tomorrow. [2]FAILED Zope 3.4 Known Good Set / py2.5-32bit-linux https://mail.zope.org/pipermail/zope-tests/2012-March/059509.html Download error: (110, 'Connection timed out') -- Some packages may not be found! -- Network problem Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 1, OK: 38
Am 17.03.2012 um 03:59 schrieb Tres Seaver: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/16/2012 09:00 PM, Zope tests summarizer wrote: [1]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-March/059380.html Odd that this error should be only on the 2.4 build:: AssertionError: Failed doctest test for zope.formlib.tests.test_formlib.validate_respects_ignoreContext_setting_on_form_when_checking_invariants (Hopefully) Fixed by using a 4.0 branch in ZTK 1.0. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 2, OK: 38
Am 24.02.2012 um 02:00 schrieb Zope tests summarizer: […] [1]FAILED Zope 3.4 Known Good Set / py2.5-32bit-linux https://mail.zope.org/pipermail/zope-tests/2012-February/058501.html Looks like PyPI was down during build. [2]FAILED winbot / zc.ngi_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-February/058495.html File c:\buildslave\zc.ngi\build\src\zc\ngi\tests.py, line 374, in zc.ngi.tests.async_handling_iteration_errors Failed example: listener.close() Exception raised: Traceback (most recent call last): File c:\Python26_32\lib\doctest.py, line 1253, in __run compileflags, 1) in test.globs File doctest zc.ngi.tests.async_handling_iteration_errors[8], line 1, in module listener.close() File c:\buildslave\zc.ngi\build\src\zc\ngi\async.py, line 707, in close self.implementation.call_from_thread(lambda : self._close(handler)) File c:\buildslave\zc.ngi\build\src\zc\ngi\async.py, line 69, in call_from_thread self.notify_select() File c:\buildslave\zc.ngi\build\src\zc\ngi\async.py, line 882, in pull_trigger self.trigger.send('x') File c:\Python26_32\lib\socket.py, line 167, in _dummy raise error(EBADF, 'Bad file descriptor') error: [Errno 9] Bad file descriptor Maybe a network problem, too. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.tal release
Am 20.02.2012 um 00:01 schrieb David Glick: I made a fix [1] in zope.tal so that it won't raise NestingErrors while parsing script tags that contain markup as part of the script. Could someone make a new release or give me (davisagli on PyPI) access to? davisagli has already the Owner role for this package. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 4, OK: 40
Am 15.02.2012 um 02:00 schrieb Zope tests summarizer: [...] [1]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-February/058108.html [2]FAILED ZTK 1.0dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-February/058110.html The latest change in zope.sendmail (Adding a name to the QueueProcessorThread in r124392) seems to be not compatible with Python 2.4 and 2.5. @Marius: Any ideas? [3]FAILED winbot / zope.app.server_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-February/058100.html Traceback (most recent call last): File c:\buildslave\zope.app.server\build\src\zope\app\server\tests\test_accesslog.py, line 23, in module class TestAccessLogging(test_logger.LoggingTestBase): AttributeError: 'module' object has no attribute 'LoggingTestBase' The fix for this was to downgrade the testtools version, right? [4]FAILED winbot / zope.testrunner_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-February/058102.html File c:\buildslave\zope.testrunner\build\src\zope\testrunner\testrunner-subunit.txt, line 331, in testrunner-subunit.txt Failed example: testrunner.run_internal(defaults) Exception raised: Traceback (most recent call last): File c:\Python26_32\lib\doctest.py, line 1253, in __run compileflags, 1) in test.globs File doctest testrunner-subunit.txt[23], line 1, in module File c:\buildslave\zope.testrunner\build\src\zope\testrunner\__init__.py, line 43, in run_internal runner.run() File c:\buildslave\zope.testrunner\build\src\zope\testrunner\runner.py, line 136, in run feature.global_setup() File c:\buildslave\zope.testrunner\build\src\zope\testrunner\find.py, line 454, in global_setup self.runner.options.output.import_errors(self.import_errors) File c:\buildslave\zope.testrunner\build\src\zope\testrunner\formatter.py, line 902, in import_errors error.module, self.TAG_IMPORT_ERROR, error.exc_info) File c:\buildslave\zope.testrunner\build\src\zope\testrunner\formatter.py, line 779, in _emit_error self._subunit.addError(test, exc_info) File c:\eggs\python_subunit-0.0.7-py2.6.egg\subunit\__init__.py, line 626, in addError self._addOutcome(error, test, error=error, details=details) File c:\eggs\python_subunit-0.0.7-py2.6.egg\subunit\__init__.py, line 687, in _addOutcome for line in self._exc_info_to_unicode(error, test).splitlines(): AttributeError: 'TestProtocolClient' object has no attribute '_exc_info_to_unicode' Same solution like above? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] [Checkins] SVN: Zope/trunk/versions.cfg Make 'elementtree' version explicit.
Am 09.02.2012 um 17:44 schrieb Tres Seaver: Log message for revision 124344: Make 'elementtree' version explicit. Changed: U Zope/trunk/versions.cfg -=- Modified: Zope/trunk/versions.cfg === --- Zope/trunk/versions.cfg 2012-02-09 15:08:30 UTC (rev 124343) +++ Zope/trunk/versions.cfg 2012-02-09 16:44:49 UTC (rev 124344) @@ -41,3 +41,4 @@ repoze.tm2 = 1.0b1 repoze.who = 2.0 zope.testbrowser = 3.11.1 +elementtree = 1.2.6-20050316 The version pin for elementtree is only needed because of a bug introduced in mr.developer 1.19, see [1]. (ZTK was recently updated to this version.) It was fixed but there is no newer release which contains the fix. I asked the maintainer for a new release. Meanwhile I'd suggest to downgrade to version 1.18. Any objections? [1] https://github.com/fschulze/mr.developer/pull/67 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] [BlueBream] ZAM Demo Documentation
Am 06.02.2012 um 21:35 schrieb Christopher Lozinski: [...] ZAM User Documentation. Nice text. [...] QUESTION: So where should i put this documentation? I think you should put it into the README of zam.skin this is the zam top-level package. The read-me of zam.api and zam.demo might reference it using its PyPI page. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 27, OK: 40
Am 01.02.2012 um 02:00 schrieb Zope tests summarizer: [...] [1]FAILED ZTK 1.0 / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/057143.html [2]FAILED ZTK 1.0 / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/057145.html [3]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/057153.html [4]FAILED ZTK 1.0dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/057155.html [5]FAILED ZTK 1.1 / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/057141.html [6]FAILED ZTK 1.1dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/057152.html [7]FAILED Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/057171.html [8]FAILED Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/057165.html [9]FAILED Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/057173.html [10] FAILED Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/057169.html [11] FAILED Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/057175.html [12] FAILED Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/057172.html [13] FAILED Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/057178.html [14] FAILED Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/057174.html [15] FAILED Zope Buildbot / zopetoolkit-1.1-py2.6 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/057181.html [16] FAILED Zope Buildbot / zopetoolkit-1.1-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/057176.html [17] FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/057185.html [18] FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/057177.html [19] FAILED Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/057188.html [20] FAILED Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/057180.html [22] FAILED winbot / ztk_10 py_254_win32 https://mail.zope.org/pipermail/zope-tests/2012-January/057195.html [23] FAILED winbot / ztk_11 py_254_win32 https://mail.zope.org/pipermail/zope-tests/2012-January/057198.html I fixed the test failure in zope.error, cut a new release and updated all ZTK versions. So these test failures should be gone by tomorrow. [21] FAILED winbot / zope.testing_py_265_32 https://mail.zope.org/pipermail/zope-tests/2012-January/057146.html [24] FAILED winbot / ztk_dev py_265_win32 https://mail.zope.org/pipermail/zope-tests/2012-January/057191.html [25] FAILED winbot / ztk_dev py_265_win64 https://mail.zope.org/pipermail/zope-tests/2012-January/057192.html [26] FAILED winbot / ztk_dev py_270_win32 https://mail.zope.org/pipermail/zope-tests/2012-January/057193.html [27] FAILED winbot / ztk_dev py_270_win64 https://mail.zope.org/pipermail/zope-tests/2012-January/057194.html There seems to be a problem in zope.testing 4.1.0 on Windows. I cannot repoduce this error on Mac OS X: File c:\buildslave\ztk_dev_py_270_win32\build\src\zope.testing\src\zope\testing\wait.txt, line 152, in wait.txt Failed example: @wait(timeout=0) def _(state=[]): if len(state) 1: return True state.append(0) Expected: Traceback (most recent call last): ... ValueError: _ Got: mynow mysleep 0.0001 mynow mysleep 0.0001 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 7, OK: 58
Am 19.01.2012 um 02:00 schrieb Zope tests summarizer: [...] [1]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/056277.html [2]FAILED ZTK 1.0dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/056279.html [3]FAILED ZTK 1.1dev / Python2.5.5 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2012-January/056276.html The recent bugfix in zope.error breaks compatibility with Python 2.4 and 2.5. As the bugfix was security related I think it would be better to fix the code instead of dropping the tests for these older versions. [4]FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/056308.html [5]FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/056299.html [6]FAILED Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu32 https://mail.zope.org/pipermail/zope-tests/2012-January/056312.html [7]FAILED Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2012-January/056301.html I got a timeout while opening these reports. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.app.wsgi.paste doesn't emit a ProcessStarting event
Am 19.01.2012 um 00:50 schrieb Marius Gedminas: [...] I'm confused about this. Latest release refers to what, 3.9.3? or was there a newer version that is now hidden on PyPI? Fixed, I unhid the 3.14.0 release additionally to the 3.9.3zc2 one. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 23, OK: 53
Am 16.12.2011 um 02:00 schrieb Zope tests summarizer: [1]Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 [2]winbot / ZODB_dev py_270_win32 [3]winbot / ZODB_dev py_270_win64 [4]winbot / z3c.form_py_265_32 [5]winbot / zc.configuration_py_265_32 [6]winbot / zope.app.http_py_265_32 [7]winbot / zope.app.principalannotation_py_265_32 [8]winbot / zope.applicationcontrol_py_265_32 [9]winbot / zope.componentvocabulary_py_265_32 [10] winbot / zope.copypastemove_py_265_32 [11] winbot / zope.deprecation_py_265_32 [12] winbot / zope.dottedname_py_265_32 [13] winbot / zope.dublincore_py_265_32 [14] winbot / zope.error_py_265_32 [15] winbot / zope.formlib_py_265_32 [16] winbot / zope.index_py_265_32 [17] winbot / zope.principalannotation_py_265_32 [18] winbot / zope.security_py_265_32 [19] winbot / zope.securitypolicy_py_265_32 [20] winbot / zope.structuredtext_py_265_32 [21] winbot / zope.tales_py_265_32 [22] winbot / ztk_11 py_265_win64 [23] winbot / ztk_11 py_270_win32 Most of them are network failures, so lets wait for tomorrow for a better report. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 4, OK: 60
Am 15.12.2011 um 02:00 schrieb Zope tests summarizer: [1]FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054224.html Py 2.5 vs. zope.schema 4 like yesterday and the day before … [2]FAILED winbot / ztk_dev py_265_win64 https://mail.zope.org/pipermail/zope-tests/2011-December/054231.html [3]FAILED winbot / ztk_dev py_270_win32 https://mail.zope.org/pipermail/zope-tests/2011-December/054232.html [4]FAILED winbot / ztk_dev py_270_win64 https://mail.zope.org/pipermail/zope-tests/2011-December/054233.html Error message: The system cannot find the path specified. Maybe these buildbots need some investigation. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 8, OK: 71
Am 13.12.2011 um 02:00 schrieb Zope tests summarizer: [1]FAILED Zope Buildbot / zope2.13-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054089.html [3]FAILED Zope Buildbot / zope2.13-py2.7 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054088.html [4]FAILED Zope Buildbot / zope2.14-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054097.html [5]FAILED Zope Buildbot / zope2.14-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054091.html [6]FAILED Zope Buildbot / zope2.14-py2.7 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054096.html [7]FAILED Zope Buildbot / zope2.14-py2.7 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054090.html Trying to use version 2.13.5 of AccessControl which was a brown bag release. I think it is fixed in SVN as there are already two new releases. [2]FAILED Zope Buildbot / zope2.13-py2.7 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054106.html Failure in ZCatalog: Failure in test test_scored_search (Products.ZCatalog.tests.test_catalog.TestScoring) Traceback (most recent call last): File /usr/lib/python2.7/unittest/case.py, line 327, in run testMethod() File /home/zope/.buildout/eggs/Products.ZCatalog-2.13.20-py2.7.egg/Products/ZCatalog/tests/test_catalog.py, line 731, in test_scored_search self.assertEqual(brains[0].title, '111') File /usr/lib/python2.7/unittest/case.py, line 509, in assertEqual assertion_func(first, second, msg=msg) File /usr/lib/python2.7/unittest/case.py, line 502, in _baseAssertEqual raise self.failureException(msg) AssertionError: '1' != '111' [8]FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054084.html To be disabled due to Python 2.5 vs. zope.schema 4.0 incompatibility. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 1, OK: 58
Am 14.12.2011 um 02:00 schrieb Zope tests summarizer: […] [1]FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/054154.html py 2.5 vs. zope.schema 4.0 -- asked maintainer in private mail to disable it. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 3, OK: 54, UNKNOWN: 1
Am 09.12.2011 um 02:00 schrieb Zope tests summarizer: [...] [1]UNKNOWN UNKNOWN : Zope-2.10 Python-2.4.6 : Linux https://mail.zope.org/pipermail/zope-tests/2011-December/053840.html Buildbot seems to be broken: Running /usr/local/python2.4/bin/python test.py -q --all Traceback (most recent call last): File test.py, line 96, in ? from zope.testing import testrunner ImportError: No module named testing [2]FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053841.html Should be disabled, due to zope.schema 4.0 the ZTK trunk is no longer compatible with Python 2.5. [3]FAILED winbot / zc.table_py_265_32 https://mail.zope.org/pipermail/zope-tests/2011-December/053815.html Network failure. [4]FAILED winbot / ztk_10 py_254_win32 https://mail.zope.org/pipermail/zope-tests/2011-December/053854.html Strange failure in zope.testing-3.9.7-py2.5.egg\zope\testing\testrunner\testrunner-layers-buff.txt: LAYER FINISHED is expected in output of two assertions but it is not emitted. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 3, OK: 60
Am 08.12.2011 um 02:00 schrieb Zope tests summarizer: [...] [1]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2011-December/053761.html [2]FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053782.html [3]FAILED winbot / ZODB_dev py_254_win32 https://mail.zope.org/pipermail/zope-tests/2011-December/053803.html Same errors like yesterday due to incompatibles with Python 2.4 reps. 2.5. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 17, OK: 51
Am 07.12.2011 um 02:00 schrieb Zope tests summarizer: [...] Non-OK results -- [1]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2011-December/053693.html Backwards incompatible change in zope.configuration 3.8? [2]FAILED ZTK 1.1dev / Python2.7.2 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2011-December/053689.html Runtime timeout. [3]FAILED Zope Buildbot / zope2.12-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053706.html [4]FAILED Zope Buildbot / zope2.13-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053707.html [5]FAILED Zope Buildbot / zope2.13-py2.7 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053708.html [6]FAILED Zope Buildbot / zope2.14-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053709.html [7]FAILED Zope Buildbot / zope2.14-py2.7 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053710.html [8]FAILED Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053711.html [9]FAILED Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053712.html [10] FAILED Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053713.html [11] FAILED Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053714.html [12] FAILED Zope Buildbot / zopetoolkit-1.1-py2.6 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053715.html Network failures. [13] FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053724.html [14] FAILED Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-December/053716.html These buildbots should be dropped as the used zope.schema 4.0.0 is no longer compatible with Python 2.5. [15] FAILED winbot / ZODB_dev py_254_win32 https://mail.zope.org/pipermail/zope-tests/2011-December/053740.html transaction 1.2 makes ZODB trunk incompatible with Python 2.5, this either needs to be fixed or this buildbot has to be dropped. [16] FAILED winbot / ZODB_dev py_270_win32 https://mail.zope.org/pipermail/zope-tests/2011-December/053675.html [17] FAILED winbot / ZODB_dev py_270_win64 https://mail.zope.org/pipermail/zope-tests/2011-December/053679.html Fixed on trunk yesterday, let's wait for tomorrow to disappear. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Python, Pyramid, Plone, Zope - consulting, development, hosting, operations ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 7, OK: 44
Am 21.11.2011 um 02:00 schrieb Zope tests summarizer: [...] [6]FAILED ZTK 1.0dev / Python2.4.6 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2011-November/052942.html Should disappear tomorrow due to a fix checked-in by Gediminas Paulauskas yesterday. [7]FAILED ZTK 1.1dev / Python2.7.2 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2011-November/052935.html Timeout, hopefully temporary. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 8, OK: 39
Am 14.11.2011 um 23:24 schrieb Tres Seaver: [...] I don't understand why r123334 was needed to fix the KGS buildout: I thought the KGS was pinned by virtue of using its 'versions.cfg' file: http://download.zope.org/zope3.4/3.4.1/versions.cfg I think it would be a good idea to extend this file in the zope.release buildout.cfg. (So we can get rid of the lately manually added version pins.) Any objections? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 2, OK: 45
Am 09.11.2011 um 02:00 schrieb Zope tests summarizer: […] Non-OK results -- [1]FAILED Zope 3.4 Known Good Set / py2.4-32bit-linux https://mail.zope.org/pipermail/zope-tests/2011-November/052357.html Buildout which generates the KGS tries to install zope.interface 3.8 which is no longer compatible with Python 2.4. I pinned the version of some packages. [2]FAILED winbot / zope.testing_py_265_32 https://mail.zope.org/pipermail/zope-tests/2011-November/052360.html Seems to be a network failure. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] New ZTK-Release?
Hi all, after having the buildbots green again, I think it would be a good point in time for a series new ZTK releases: * 1.0.5 (yes, there are even on the 1.0 branch version updates), * 1.1.3, * 1.2c1 (a new release branch from the trunk) Who is in charge for the ZTK releases? Is there still the ZTK team? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 8, OK: 31
Am 03.11.2011 um 05:12 schrieb Tres Seaver: [...] [8]FAILED winbot / z3c.form_py_265_32 https://mail.zope.org/pipermail/zope-tests/2011-November/052080.html Same as yesterday (and the day before, and the day before). Is nobody maintaining this package? Roger worked on this package recently. Roger, can you reproduce this failure and fix it? (On Mac OS X I see the same failure.) Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 8, OK: 31
Am 03.11.2011 um 05:12 schrieb Tres Seaver: [...] [7]FAILED ZTK 1.1dev / Python2.7.2 Linux 64bit https://mail.zope.org/pipermail/zope-tests/2011-November/052087.html - - [7] are all the unexpected Data.fs bug in zope/testing/setupstack.txt. Can somebody who cares about that module / feature figure out what is going on? I looked into this failure: - It only happens if the zope.testrunner tests are ran before zope.testing tests (on my laptop z3c.recipe.compattest sorts the tests differently by default.) Strangely I found no references of the string Data.fs in zope.testrunner maybe it changes the current working directory and another test puts the Data.fs there. - zope/testing/setupstack.txt creates a file named Data.fs in a temporary directory, it asserts that is has been gone after stack tear down, but the assertion uses the wrong directory (cwd). - I fixed this test and released zope.testing 3.10.3. So this failure should be gone tomorrow. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.testrunner and nose count doctests differently
Am 03.11.2011 um 08:25 schrieb Chris Withers: Hi All, I'm experimenting with using nose as an alternative to zope.testrunner so I can take advantage of the junit and cobertura compatible xml output offered. [...] I'm paranoid that nose might not be running some tests that zope.testrunner is. Run both test runners with the option -vv to see which tests are run. (I did this for your code and the list of tests seems to be equal.) Though this is no answer to the question which code does the counting. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] [BlueBream] locatability of objects inside a list in bluebream
Am 25.08.2011 um 09:54 schrieb Joshua Immanuel: [...] But I like to know, what is the preferred way of making objects inside the 'my_list' to be locatable. So that I can have an edit page or a display page for the 'IMyListObject' in that list. The list and the objects inside the list both have to implement zope.location.interfaces.ILocation. To traverse to the `my_list` object you might use the ++attribute++ traverser. To traverse from the list to its content objects you might need your own traverser (not sure if it works out of the box). Again an older German blog entry might help: http://blog.gocept.com/benutzung-des-attribute-namespaces-in-zope3 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] [BlueBream] disabling zope.schema constraint check in edit form
Am 18.08.2011 um 09:59 schrieb Joshua Immanuel: Hello all, I use the zope.schema field's constraint parameter to check for the uniqueness of a particular field like this class IMyObject(Interface): def check_for_uniqueness(value): cat = getUtility(ICatalog) results = cat.searchResults(object_name=value) for rslt in results: if rslt.name.lower() == value.lower(): raise NameAlreadyExists(value) return True name = TextLine(title=u'Name', required=True, constraint=check_for_uniqueness) ... This goes well with the zope.formlib's AddForm. As the value does not exist yet. But in edit form if I modify any other field other than the 'name' field I get the 'NameAlreadyExists' error. As you find the object which you are editing in the catalog. Worse case scenario is where I have a cancel action button which just redirects to another page, that too screams for the NameAlreadyExists error. Is there a way to disable the constraint check in the EditForm if the 'name' field isn't modified? Make sure your catalog search does not return the object you are currently editing. What is the preferred way of doing these kind of checks? Some time a ago I wrote a blog post about objects with attributes which are unique in their container [1]. Besides it is written in German you might get the clue from the code examples. [1] http://blog.gocept.com/zope3-objekte-mit-eindeutigen-titeln-innerhalb-eines-ordners Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · Softwareentwickler gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Deutschland http://gocept.com · Tel +49 345 1229889 8 · Fax +49 345 1229889 1 Zope- und Plone-Beratung und -Entwicklung ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zc.recipe.testrunner 1.4.0 no longer supports environment option?
Am 29.07.2011 um 16:06 schrieb Sebastien Douche: On Mon, Dec 13, 2010 at 14:00, Michael Howitz m...@gocept.com wrote: Hi I have a test section in buildout (version 1.5.2) which uses the environment option to get os.environ configs into the test script. But the environment configuration does not show up in the generated script. The recipe I use is zc.recipe.testrunner 1.4.0 and Python 2.5 (virtualenv). Any news on this bug? Sadly no. Not even a bugtracker. (Nag Gary Poster about it [1].) We're upgrading to Buildout 1.5.2 / z3c.recipe.scripts to use eggs from system site-packages, Infortunately, we use environment variables (we create a local postgresql). I personally use collective.xmltestreport [2] version 1.2.1 which is a fork of zc.recipe.testrunner to support xml output. Although I do not need this xml feature, at least using environments works there even together with buildout 1.5.2. [1] https://bugs.launchpad.net/zc.recipe.testrunner [2] http://pypi.python.org/pypi/collective.xmltestreport Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Referring to same interface using zope.schema.Object
Am 22.07.2011 um 15:30 schrieb Robert Niederreiter: Hi, On 22.07.2011 12:59, Joe Steeve wrote: Hello, I am trying to construct an object tree. Take a look at http://pypi.python.org/pypi/node This is probably what you need. or even http://pypi.python.org/pypi/zope.container might be enough. Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · Softwareentwickler gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Deutschland http://gocept.com · Tel +49 345 1229889 8 · Fax +49 345 1229889 1 Zope- und Plone-Beratung und -Entwicklung ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] z3c.form missing *.mo files?
Am 12.07.2011 um 18:19 schrieb Marius Gedminas: On Tue, Jul 12, 2011 at 03:07:47PM +0200, Michael Howitz wrote: There where never .mo files in z3c.form's sdist. That appears not to be the case: http://pypi.python.org/pypi/z3c.form/2.4.3 has a source distribution (z3c.form-2.4.3.zip) which contains a few *.mo files inside. Then I have to correct my statement: There was at least one z3c.form sdist released in the past which did not contain .mo files: The one I used in my last project using z3c.form. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] z3c.form missing *.mo files?
Am 12.07.2011 um 13:39 schrieb Adam GROSZER: On Tue, 12 Jul 2011 14:36:12 +0300 you wrote: On Tue, Jul 12, 2011 at 01:09:14PM +0200, Adam GROSZER wrote: What's the paxis, should gettext mo files be included in the eggs? I've no idea what paxis is, nor whether there should be .mo files in z3c.form's sdist. I've made a z3c.form bugfix release yesterday using zest.releaser from a fresh svn checkout. If there are additional steps required for making a release, and my lack of knowledge of those renders the 2.4.4 sdist somehow incomplete, I will gladly perform release a fixed 2.4.5 as soon as someone tells me what those extra steps are. Regards, Marius Gedminas No worries, huh, I don't want to blame you... I'd say the mo files should be available in the sdist, otherwise you don't really have a chance to compile those. There where never .mo files in z3c.form's sdist. (I think because .mo file are compiled files like .pyc files which are not included as well.) To get the .mo files compiled at runtime you need the following variables in os.environ: os.environ['zope_i18n_compile_mo_files'] = 'True' os.environ['zope_i18n_allowed_languages'] = 'de,en' (You might replace 'de,en' with the languages you need :) Additionally you need to depend on the package 'python-gettext' which contains the compiler. Sadly this is only documented in the source code of zope.i18n.compile and and zope.i18n.config. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] http://wiki.zope.org readonly?
Hi, it seems that http://wiki.zope.org was set to readonly as there are no more edit links (or they require basic authentication). Anyone here who is able to fix this to get the wiki back to r/w again? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Repository cleanup: ZVSL licensed files?
Am 19.04.2011 um 15:29 schrieb Jim Fulton: On Tue, Apr 19, 2011 at 9:23 AM, Jens Vagelpohl j...@dataflake.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/19/11 15:19 , Jim Fulton wrote: On Tue, Apr 19, 2011 at 3:39 AM, Jens Vagelpohl j...@dataflake.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/19/11 08:52 , Michael Howitz wrote: Hello, while making projects in SVN complying to the repository policy I found files which tell that their license is Zope Visible Source License, Version 1.0 (ZVSL). Is this license a valid license in the zope.org repository? If not I'd like to merge the following change in zope.repositorypolicy: http://svn.zope.org/?rev=121436view=rev +1 The ZVSL is a Zope Corporation-specific license that does not meet the requirements for projects hosted by the Zope Foundation. I am surprised you found any files with that license. Those should be in Zope Corporation-owned repositories, or they should be relicensed if ZC agrees. Sorry our (probably my) bad. Those should have been fixed when we moved them from our repo to the zope.org repo. Does the patch fix the files? Or just list them? Hi Jim, It just lists them as part of the weekly repository policy check that flows into the automated test summary email. OK. I normally don't read that mail. I'll check in a week or so and if I see the list, I'll clean them up. I merged the branch to the trunk so, the next run of the of the weekly repository policy check should show the affected packages. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Repository cleanup: ZVSL licensed files?
Hello, while making projects in SVN complying to the repository policy I found files which tell that their license is Zope Visible Source License, Version 1.0 (ZVSL). Is this license a valid license in the zope.org repository? If not I'd like to merge the following change in zope.repositorypolicy: http://svn.zope.org/?rev=121436view=rev Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Repository cleanup: ZVSL licensed files?
Am 19.04.2011 um 15:19 schrieb Jim Fulton: On Tue, Apr 19, 2011 at 3:39 AM, Jens Vagelpohl j...@dataflake.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/19/11 08:52 , Michael Howitz wrote: Hello, while making projects in SVN complying to the repository policy I found files which tell that their license is Zope Visible Source License, Version 1.0 (ZVSL). Is this license a valid license in the zope.org repository? If not I'd like to merge the following change in zope.repositorypolicy: http://svn.zope.org/?rev=121436view=rev +1 The ZVSL is a Zope Corporation-specific license that does not meet the requirements for projects hosted by the Zope Foundation. I am surprised you found any files with that license. Those should be in Zope Corporation-owned repositories, or they should be relicensed if ZC agrees. Sorry our (probably my) bad. Those should have been fixed when we moved them from our repo to the zope.org repo. Does the patch fix the files? Or just list them? Currently it only lists them. I think there are not so many packages, so it might be easier to fix them manually. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-tests - FAILED: 9, OK: 72, UNKNOWN: 2
[10] FAILED winbot / zope.testrunner_py_265_32 https://mail.zope.org/pipermail/zope-tests/2011-April/037643.html This is also a build failure: - --- % - An error occurred when trying to install testtools 0.9.9. Look above this message for any errors that were output by easy_install. error: c:\temp\easy_install-nalecc\testtools-0.9.9\doc/overview.rst: No such file or directory While: Installing test. Getting distribution for 'testtools'. Error: Couldn't install: testtools 0.9.9 - --- % - The 0.9.9 release of testtools is broken. I contacted the author to re-releases an installable version. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] z3c.schema
Am 31.03.2011 um 08:23 schrieb Jan-Jaap Driessen: Hi, I added nl translations to z3c.schema, could someone grant me ('janjaapdriessen') pypi access so I can release this as 0.7.1? Hi, you now have the Owner role in the project. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 73 OK, 12 Failed, 4 Unknown
Am 24.03.2011 um 12:57 schrieb Zope Tests Summarizer: [...] Subject: FAILED : winbot / z3c.recipe.paster_py_265_32 From: buildbot at winbot.zope.org Date: Thu Mar 24 00:02:42 EDT 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-March/036064.html I fixed this test in r121107. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
Am 23.03.2011 um 12:57 schrieb Zope Tests Summarizer: Test failures - [...] Subject: FAILED : Zope 3.4 Known Good Set / py2.4-32bit-linux From: buildbot at pov.lt Date: Tue Mar 22 22:26:52 EDT 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-March/035953.html While: Installing test. Getting distribution for 'ClientForm==0.2.9'. An internal error occured due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): ... File /var/lib/buildbot/slaves/zope-kgs/py2.4-32bit-linux/build/test/eggs/setuptools-0.6c11-py2.4.egg/setuptools/package_index.py, line 553, in _download_to size = int(headers[Content-Length]) ValueError: invalid literal for int(): 102936, 102936 Buildout tries to download ClientForm from sourceforge.net and seems to get a broken content-length header. I see the same problem when using distutils 0.6.14 since the last 3 or 4 days. But when I use wget the header seems to be correct or wget is smart enough to fix it. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 77 OK, 154 Failed, 5 Unknown
Am 17.03.2011 um 13:44 schrieb Adam GROSZER: Hello, On Thu, 17 Mar 2011 12:58:00 +0100 (CET) you wrote: Summary of messages to the zope-tests list. Period Wed Mar 16 12:00:00 2011 UTC to Thu Mar 17 12:00:00 2011 UTC. There were 236 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 157 from buildbot at winbot.zope.org, 8 from ccomb at free.fr, 59 from jdriessen at thehealthagency.com. Seems like zope.testrunner fails badly and that takes all packages with it. Fixed it yesterday and released it as version 4.0.3. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.contentprovider not useable together with Zope 2.13.4
Am 15.02.2011 um 15:10 schrieb Hanno Schlichting: Hi. Hi, sorry for the long delay. On Tue, Feb 15, 2011 at 2:46 PM, Michael Howitz m...@gocept.com wrote: I tracked this down to Zope2/App/exclude.zcml where the meta.zcml of the package zope.browserpage gets excluded. Sadly this ZCML file defines the expressiontype directive. What is the current way to use zope.contentprovider in a Zope2 environment? Hhm, I wasn't aware that this was possible at all so far. I thought we only made zope.viewlet available in Zope2 via Products.Five.viewlet. According to my findings, the provider-expression should work in Zope2 PageTemplates (Products.PageTemplates) as it is registered in Products.PageTemplates.Expressions.createZopeEngine. In the project mentioned before Zope3 PageTemplates (zope.pagetemplate and z3c.template) are used, too. Sometimes we had permission problems (UnauthorizedBinding: context) with the Zope2 PageTemplates even with Zope 2.11. Maybe mixing Zope2 and Zope3 PageTemplates is the source of the permission problems. As the outermost template is a z3c.template I doubt fixing the expressiontype declaration will help much in our use case. It will help to get zope.contentprovider running in Zope2 as this package has no reference to a TALES-Engine, everything is done in tales:expressiontype. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.[testing.]testrunner does not handle unexpected successes correctly
Am 16.02.2011 um 10:36 schrieb Michael Howitz: Hi, Python 2.7 added the concept of expectedFailures to unittest. See http://www.voidspace.org.uk/python/articles/unittest2.shtml#more-skipping When a test decorated with @unittest.expectedFailure does not raise an exception, this test is counted as success when running the tests with zope.[testing.]testrunner instead of being counted separately as 'unexpected success'. It should be handled separately as a new result class besides failures and errors. As it would be heavy to implement the whole concept I have a workaround which is supported by Python's unittest: When `addUnexpectedSuccess` on zope.testrunner.runner.TestResult is None, we signal unittest that zope.testrunner ist not able to handle unexpected successes. Although this produces a Warning it counts the unexpected success as failure instead of being ignored. I wrote a bug report: https://bugs.launchpad.net/zope.testing/+bug/719369 and prepared a branch with the described workaround: http://svn.zope.org/zope.testrunner/branches/icemac-lp-719369 If no-one objects I'd like to merge it to the trunk and cut a new release. Hi, as no-one objected, I merged the workaround to the trunk and released zope.testrunner 4.0.1. I adapted the patch to zope.testing.testrunner and released there as 3.9.6. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Acquisition wrapped objects do not behave well on unicode call
Am 15.02.2011 um 14:35 schrieb Michael Howitz: [...] print unicode(a.__of__(app)) __str__ called [...] This happens for Python 2.6 and 2.7 on Zope 2.13.4. Zope 2.12.8 on Python 2.6 breaks the same way as 2.13. But Zope 2.11.7 on Python 2.5 works correctly. So either Python or Acquisition must have changed since than. Any ideas? Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] zope.[testing.]testrunner does not handle unexpected successes correctly
Hi, Python 2.7 added the concept of expectedFailures to unittest. See http://www.voidspace.org.uk/python/articles/unittest2.shtml#more-skipping When a test decorated with @unittest.expectedFailure does not raise an exception, this test is counted as success when running the tests with zope.[testing.]testrunner instead of being counted separately as 'unexpected success'. It should be handled separately as a new result class besides failures and errors. As it would be heavy to implement the whole concept I have a workaround which is supported by Python's unittest: When `addUnexpectedSuccess` on zope.testrunner.runner.TestResult is None, we signal unittest that zope.testrunner ist not able to handle unexpected successes. Although this produces a Warning it counts the unexpected success as failure instead of being ignored. I wrote a bug report: https://bugs.launchpad.net/zope.testing/+bug/719369 and prepared a branch with the described workaround: http://svn.zope.org/zope.testrunner/branches/icemac-lp-719369 If no-one objects I'd like to merge it to the trunk and cut a new release. zope.testing.testrunner has same problem, so I'd like to add the workaround to the 3.9 branch there, too. So it can be used in Zope 2.13.x, which still uses zope.testing.testrunner. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Acquisition wrapped objects do not behave well on unicode call
Hi, When I have an acquisition wrapped object, e. g. my_object and call: unicode(my_object) The method __str__ of my_object is called even when it has an __unicode__ method. See the following bin/zopectl debug session: $ bin/zinstance debug Starting debugger (the name app is bound to the top-level Zope object) import OFS.SimpleItem class A(OFS.SimpleItem.SimpleItem): ... def __str__(self): return '__str__ called' ... def __unicode__(self): return '__unicode__ called' ... a = A() print unicode(a) __unicode__ called print unicode(a.__of__(app)) __str__ called print type(a.__of__(app)) type 'Acquisition.ImplicitAcquisitionWrapper' This happens for Python 2.6 and 2.7 on Zope 2.13.4. Is there a suggested work around? P.S.: I also filed a bug report: https://bugs.launchpad.net/acquisition/+bug/719335 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 77 OK, 18 Failed, 1 Unknown
Am 25.01.2011 um 12:58 schrieb Zope Tests Summarizer: Summary of messages to the zope-tests list. Period Mon Jan 24 12:00:00 2011 UTC to Tue Jan 25 12:00:00 2011 UTC. There were 96 messages: 8 from Zope Tests, 2 from buildbot at pov.lt, 22 from buildbot at winbot.zope.org, 11 from ccomb at free.fr, 53 from jdriessen at thehealthagency.com. Test failures - Subject: FAILED : winbot / ztk_dev py_254_win32 From: buildbot at winbot.zope.org Date: Mon Jan 24 15:18:30 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/029953.html Fixed today in zope.app.wsgi. Released as version 3.11.0 Mit freundlichen Grüßen Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] [Checkins] SVN: zope.testbrowser/tags/3.10.3/src/zope/testbrowser/tests made room for more tests
Am 24.01.2011 um 14:08 schrieb Wichert Akkerman: On 1/24/11 14:03 , Michael Howitz wrote: Log message for revision 119869: made room for more tests Changed: A zope.testbrowser/tags/3.10.3/src/zope/testbrowser/tests/ A zope.testbrowser/tags/3.10.3/src/zope/testbrowser/tests/__init__.py A zope.testbrowser/tags/3.10.3/src/zope/testbrowser/tests/helper.py A zope.testbrowser/tags/3.10.3/src/zope/testbrowser/tests/test_browser.py A zope.testbrowser/tags/3.10.3/src/zope/testbrowser/tests/test_doctests.py D zope.testbrowser/tags/3.10.3/src/zope/testbrowser/tests.py I'm assuming that this should not have happened in a tag. Can you please revert these changes and redo them in trunk or a branch? Done in r119886 and r119887. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] zc.recipe.testrunner 1.4.0 no longer supports environment option?
Hi, I have a test section in buildout (version 1.5.2) which uses the environment option to get os.environ configs into the test script. But the environment configuration does not show up in the generated script. The recipe I use is zc.recipe.testrunner 1.4.0 and Python 2.5 (virtualenv). When running the tests of zc.recipe.testrunner with this Python many of them fail including the test for the environment option. Is it intensional that zc.recipe.testrunner does not run when using a virtualenv'ed Python? P.S.: The Bugtracker of this project https://bugs.launchpad.net/zc.recipe.testrunner is currently disabled, so I was unable to put this there. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 77 OK, 26 Failed
/pipermail/zope-tests/2010-December/026392.html Needs unreleased zope.security version. Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Fwd: FAILED : winbot / zope.generations_py_265_32
Am 11.12.2010 um 13:01 schrieb Adam GROSZER: Hello, One more windows failure. Can we get rid of the part coc? Done. (I had previously added this part during development.) Should I cut a new release, too? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] [Checkins] SVN: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py Don't import site on initialization, as this mitigates the buildout 1.5 way of setting sys.path
Hi, currently the ZTK tests on the trunk do not run successfully in a virtualenv. The errors look like: atom:trunk mac$ bin/test-ztk Running test-ztk-zope.securitypolicy test-ztk-zope.securitypolicy failed with: Traceback (most recent call last): File /Users/mac/Documents/tmp/zopetoolkit/trunk/bin/test-ztk-zope.securitypolicy, line 35, in module import zope.testrunner File /Users/mac/Documents/eggs/zope.securitypolicy-3.7.0-py2.5.egg/zope/__init__.py, line 1, in module __import__('pkg_resources').declare_namespace(__name__) File /Users/mac/Documents/eggs/distribute-0.6.14-py2.5.egg/pkg_resources.py, line 17, in module from urlparse import urlparse, urlunparse ImportError: No module named urlparse ... When I revert the following change, only the test for zope.testing fails (and all zope.app-tests pass): Am 06.10.2010 um 08:40 schrieb Jan-Jaap Driessen: Log message for revision 117268: Don't import site on initialization, as this mitigates the buildout 1.5 way of setting sys.path Changed: U z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py -=- Modified: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py === --- z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py 2010-10-06 06:30:44 UTC (rev 117267) +++ z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py 2010-10-06 06:40:43 UTC (rev 117268) @@ -31,7 +31,7 @@ def start(self): self.start = time.time() self.process = subprocess.Popen( -[sys.executable, self.script, '--exit-with-status'] + self.args, +[sys.executable, '-S', self.script, '--exit-with-status'] + self.args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, But reverting this change does not help to get the tests of z3c.recipe.compattest itself running again. There are the same errors like before. Is it intensional that ZTK tests fail in virtualenv? What needs be done to get the tests running again in virtualenv? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 55 OK, 24 Failed
Am 25.11.2010 um 13:58 schrieb Zope Tests Summarizer: Summary of messages to the zope-tests list. Period Wed Nov 24 13:00:00 2010 UTC to Thu Nov 25 13:00:00 2010 UTC. There were 79 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 19 from buildbot at winbot.zope.org, 9 from ccomb at free.fr, 41 from jdriessen at thehealthagency.com. Test failures - [...] Subject: FAILED : winbot / ztk_dev py_254_win32 From: buildbot at winbot.zope.org Date: Wed Nov 24 15:13:01 EST 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-November/024850.html This (and maybe the other ZTK trunk tests) fails because z3c.recipe.compattest 0.13 needs a recipe those version was not pinned. I added the version pin and committed it to SVN. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes
Am 27.10.2010 um 08:52 schrieb Christian Theune: On 10/27/2010 08:44 AM, Michael Howitz wrote: [...] +1 But the `mapping` attribute should update the existing mapping of the message ID as this would allow to have a partial mapping stored on the message ID and add the other part when translating. Does this use case really appear that often? I think of it as low hanging fruit. I see that there isn't much danger to doing that as the mappings shouldn't be too large anyway and the code that processes them doesn't allow for control structures based on their values so having superfluous values wouldn't hurt and this behaviour would keep old code working. OTOH can you make a feature request for this so I can deal with it separately? https://bugs.launchpad.net/zope.i18n/+bug/668189 (Did not find out how to make a feature request, so filed it as bug.) Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes
Am 29.10.2010 um 08:36 schrieb Christian Theune: [...] OTOH can you make a feature request for this so I can deal with it separately? https://bugs.launchpad.net/zope.i18n/+bug/668189 (Did not find out how to make a feature request, so filed it as bug.) Make a bug and mark it wishlist. I've done that for your. Huh, I'm not allowed to change the importance of this ticket. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?
Am 18.10.2010 um 11:02 schrieb Jan-Wijbrand Kolman: Hi Michael and Marius, Thanks for the feedback and suggestions! This is what I did: On 10/13/10 15:37 , Michael Howitz wrote: Am 13.10.2010 um 13:50 schrieb Jan-Wijbrand Kolman: Then there's no real need for a browser extra, as the browser subpackage does not really have any code (only registrations). Or maybe you meant something different? When someone wants to use the browser package he could use the browser extra to get all the packages needed for the ZCML registrations successfully load. Otherwise he has to find out himself where the ZCML directives are declared. I created two extra_requires: a browser and a test_browser. The first lists the dependencies for the browser subpackage to work. The second for the corresponding tests to run. On 10/13/10 14:42 , Marius Gedminas wrote: On Wed, Oct 13, 2010 at 01:50:39PM +0200, Jan-Wijbrand Kolman wrote: Ah, no it wouldn't help there, as the testrunner would find the tests in the browser subpackage and it would try to run them regardless. You could always conditionally disable them: in each test*.py file have def test_suite(): suite = unittest.TestSuite() if some condition: suite.addTest(unittest.makeSuite(...)) suite.addTest(doctest.DocTestSuite(...)) suite.addTest(doctest.DocFileSuite(...)) return suite I also made the tests.py in the browser subpackage only add tests to the test suite whenever the test_browser dependencies indeed are available. This fixes the situation where a test runner (in my case the test runner of the grok toolkit) finds these tests and would try to run them. The CHANGES.txt contains instructions on how to enable the ZMI views for your project in case you need them. I propose to release this as 1.5.0, which would be a major version release that would indicate: Watch out, potentially backwards incompatible changes ahead!. Right? +1 looks nice. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 35 OK, 6 Failed
Am 14.10.2010 um 03:18 schrieb Marius Gedminas: On Wed, Oct 13, 2010 at 01:58:29PM +0200, Zope Tests Summarizer wrote: Summary of messages to the zope-tests list. Period Tue Oct 12 12:00:00 2010 UTC to Wed Oct 13 12:00:00 2010 UTC. There were 41 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 20 from buildbot at winbot.zope.org, 11 from ccomb at free.fr. Test failures - Subject: FAILED : winbot / ztk_dev py_254_win32 From: buildbot at winbot.zope.org Date: Tue Oct 12 16:19:06 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021426.html Let's fix them, there aren't many left. [...] In short, I fixed those. Yeah! Will ZTK trunk pick them up, or does somebody need to make a zope.testrunner release and edit some version pins in the ZTK? Some buildbots test released eggs instead of svn check-outs so a new release might be needed. Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?
Am 13.10.2010 um 10:02 schrieb Jan-Wijbrand Kolman: On 10/6/10 08:08 , Michael Howitz wrote: Am 05.10.2010 um 20:21 schrieb Jan-Wijbrand Kolman: Today I fixed a small bug in zc.catalog (the ftesting.zcml depended on a permission name that has been removed from zope.dublincore). Actually the permission has been renamed (from zope.app.dublincore to zope.dublincore) to get rid of the app part in its name. If I would be pedantic here I'd say there is no such thing as renaming a permission. When the old name is gone, it is gone. There's no mechanism similar to the BBB imports for the permission ids. Not pedantic enough as there is a mechanism to rename a permission, see http://pypi.python.org/pypi/zope.dublincore/3.8.0#id3 In version 3.7.0 the backward compatible renaming was removed. This made me realize that zc.catalog contains ZMI code in the browser subpackage. Are people still using this ZMI code from zc.catalog? Would it be an idea to move the ZMI code out of the package (a bit similar to how various zope.app.* package have been refactored)? It would make maintaining this package in respect to the ZTK easier. zc.catalog has only test dependencies on zope.app.* packages. So you do not install these dependencies when using zc.calalog as a library. The zope.app.* dependencies might need a bit polishing. But I do not see a big win moving the browser part into a separate package. Especially as zc.catalog should depend on this new package for backward compatibility reasons (at least for a while). Actually, it is more than just a test dependency. The toplevel configure.zcml conditionally configures the browser subpackage whenever zope.app.form is available. This zope.app.form conditional is not even enough, as sometimes you can still have zope.app.form on your path, but zcml directives like addMenuItem and editForm used in zc.catalog.browser's configure.zcml might not have been configured. I could imagine we change zc.catalog so that the toplevel configure.zcml never includes the browser subpackage's configure.zcml and people that need the ZMI code, need to include the zc.catalog.browser subpackage themselves. This would still leave the test dependency (which is annoying but alas), but at least make the zc.catalog easier to reuse. I'm fine with these suggestions but I'd suggest a new additional browser extra, which declares the dependencies of the browser subpackage. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?
Am 13.10.2010 um 13:50 schrieb Jan-Wijbrand Kolman: On 10/13/10 13:42 , Jan-Wijbrand Kolman wrote: Good idea. This would improve the testing situation. That would definitely help the Grok Toolkit, as it could then run the normal tests in the context of the toolkit, without pulling in the dependencies of the browser tests. Ah, no it wouldn't help there, as the testrunner would find the tests in the browser subpackage and it would try to run them regardless. Then there's no real need for a browser extra, as the browser subpackage does not really have any code (only registrations). Or maybe you meant something different? When someone wants to use the browser package he could use the browser extra to get all the packages needed for the ZCML registrations successfully load. Otherwise he has to find out himself where the ZCML directives are declared. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Moving concrete IAuthenticatorPlugin implementations to zope.pluggableauth
Am 13.10.2010 um 16:05 schrieb Jan-Wijbrand Kolman: Hi, A while ago zope.pluggable split off reusable components from zope.app.authentication. The concrete IAuthenticatorPlugin implementations (principalfolder and groupfolder) however, were left in zope.app.authentication. I think it makes sense to move these IAuthenticatorPlugin implementations to zope.pluggableauth.plugins as well, leaving backwards compatibility imports and the browser code in zope.app.authentication. For both packages I created branches [1][2] for working on this. I moved the components and made sure the tests pass again. If there're no objections I'd like to merge these branches to the respective trunks and eventually release zope.pluggableauth 1.1.0 and zope.app.authentication 3.9.0. +1 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?
Am 05.10.2010 um 20:21 schrieb Jan-Wijbrand Kolman: Hi, Today I fixed a small bug in zc.catalog (the ftesting.zcml depended on a permission name that has been removed from zope.dublincore). Actually the permission has been renamed (from zope.app.dublincore to zope.dublincore) to get rid of the app part in its name. This made me realize that zc.catalog contains ZMI code in the browser subpackage. Are people still using this ZMI code from zc.catalog? Would it be an idea to move the ZMI code out of the package (a bit similar to how various zope.app.* package have been refactored)? It would make maintaining this package in respect to the ZTK easier. zc.catalog has only test dependencies on zope.app.* packages. So you do not install these dependencies when using zc.calalog as a library. The zope.app.* dependencies might need a bit polishing. But I do not see a big win moving the browser part into a separate package. Especially as zc.catalog should depend on this new package for backward compatibility reasons (at least for a while). Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 45 OK, 5 Failed, 3 Unknown
Am 29.09.2010 um 16:37 schrieb Marius Gedminas: On Wed, Sep 29, 2010 at 01:58:33PM +0200, Zope Tests Summarizer wrote: Summary of messages to the zope-tests list. Period Tue Sep 28 12:00:00 2010 UTC to Wed Sep 29 12:00:00 2010 UTC. There were 53 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 20 from buildbot at winbot.zope.org, 11 from ccomb at free.fr, 12 from jdriessen at thehealthagency.com. Test failures - Subject: FAILED : winbot / ztk_dev py_265_win32 From: buildbot at winbot.zope.org Date: Tue Sep 28 16:20:56 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020727.html 2 failure(s): - test-ztk-zope.testrunner - test-ztk-zope.testing Some failures look like line-ending mismatches in test runner output. Hey, isn't ztk-dev supposed to use a newer zope.testing that drops zope.testing.testrunner? Why do I see testrunner failures in both zope.testrunner and zope.testing? branches/3.9 of zope.testing was used in ZTK trunk, I've fixed that. Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: zope.securitypolicy/trunk/ - Added test extra to declare test dependency on ``zope.component [test]``.
Am 25.09.2010 um 14:35 schrieb Tres Seaver: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/25/2010 07:55 AM, Michael Howitz wrote: Log message for revision 116846: - Added test extra to declare test dependency on ``zope.component [test]``. snip Modified: zope.securitypolicy/trunk/src/zope/securitypolicy/configure.zcml === --- zope.securitypolicy/trunk/src/zope/securitypolicy/configure.zcml 2010-09-25 11:34:48 UTC (rev 116845) +++ zope.securitypolicy/trunk/src/zope/securitypolicy/configure.zcml 2010-09-25 11:55:46 UTC (rev 116846) @@ -3,6 +3,10 @@ i18n_domain=zope + include package=zope.component file=meta.zcml / + include package=zope.security file=meta.zcml / + include package=zope.security / + adapter factory=.rolepermission.AnnotationRolePermissionManager provides=.interfaces.IRolePermissionManager That looks like a harder dependency than just testing to me. zope.component and zope.security were already install dependencies of zope.securitypolicy, so the check-in message might be a bit misleading. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 34 OK, 13 Failed, 3 Unknown
Am 22.09.2010 um 21:05 schrieb Gediminas Paulauskas: [...] I would add zope.generations rather than switch to maintenance branch. The independent zope.generations is what contains the code to use by applications. Nothing else apart from the split has changed, compatibility imports and zcml are left in place, so it should be safe to have the two packages in ZTK 1.0. What does the ZTK release team think about this suggestion? If zope.generations should be added, should I add it to ztk.cfg or zopeapp.cfg? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 34 OK, 11 Failed, 3 Unknown
Am 23.09.2010 um 13:58 schrieb Zope Tests Summarizer: Summary of messages to the zope-tests list. Period Wed Sep 22 12:00:00 2010 UTC to Thu Sep 23 12:00:00 2010 UTC. There were 48 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 21 from buildbot at winbot.zope.org, 11 from ccomb at free.fr, 6 from jdriessen at thehealthagency.com. Test failures - [...] Subject: FAILED : ZTK 1.0dev / Python2.5.5 Linux 64bit From: ccomb at free.fr Date: Wed Sep 22 23:14:54 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020436.html Now I put zope.app.zopeappgenerations to the maintenance branch, too, so it no longer requires zope.generations. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 42 OK, 12 Failed
Am 21.09.2010 um 15:43 schrieb Hanno Schlichting: On Tue, Sep 21, 2010 at 3:39 PM, Michael Howitz m...@gocept.com wrote: @Hanno: Could you please decide in the ZTK release team, whether zope.testing 3.10 is a goal for the ZTK trunk. If so, I could merge the branch to the trunk and we could start fixing the tests. But maybe we should do this after the 1.0 final release. It's a goal for ZTK 1.1 (trunk) to use zope.testing 3.10 / zope.testrunner. It's definitely outside the scope for ZTK 1.0. If we already have lots of failing tests in the current state on trunk anyways, I'd be fine with you going ahead and merging the branch. We can fix all the other packages in the coming days. If we have an almost stable trunk, I'd prefer the work to be done on a branch first and only get it merged once the tests pass again. Okay, then I'll do the work on the branch as the trunk currently seems to be quite stable. There seems to be only the zope.app.authentication vs. zope.app.securitypolicy issue left to be fixed on trunk. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 34 OK, 13 Failed, 3 Unknown
Am 22.09.2010 um 13:58 schrieb Zope Tests Summarizer: Summary of messages to the zope-tests list. Period Tue Sep 21 12:00:00 2010 UTC to Wed Sep 22 12:00:00 2010 UTC. There were 50 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 21 from buildbot at winbot.zope.org, 11 from ccomb at free.fr, 8 from jdriessen at thehealthagency.com. Test failures - [...] Subject: FAILED : ZTK 1.0dev / Python2.5.5 Linux 64bit From: ccomb at free.fr Date: Tue Sep 21 23:15:02 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020388.html This failure is due to missing zope.generations which is needed by zope.app.generations 3.7. So I switched to a maintenance branch of zope.app.generations. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 42 OK, 12 Failed
Am 20.09.2010 um 17:22 schrieb Tres Seaver: [...] Right, and we should be adding zope.testrunner to the ZTK trunk. Done in r116694. But this change might lead to other problems: When updating to zope.testing 3.10.0 in ztk-versions.cfg I get the following error when running buildout: The version, 3.10.0, is not consistent with the requirement, 'zope.testing=3.6.0,3.10.0'. While: Installing. Getting section test-ztk. Initializing section test-ztk. Installing recipe z3c.recipe.compattest. Error: Bad version 3.10.0 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 42 OK, 12 Failed
Am 21.09.2010 um 13:58 schrieb Gediminas Paulauskas: 2010/9/21 Michael Howitz m...@gocept.com: Am 20.09.2010 um 17:22 schrieb Tres Seaver: [...] Right, and we should be adding zope.testrunner to the ZTK trunk. Done in r116694. But this change might lead to other problems: When updating to zope.testing 3.10.0 in ztk-versions.cfg I get the following error when running buildout: The version, 3.10.0, is not consistent with the requirement, 'zope.testing=3.6.0,3.10.0'. While: Installing. Getting section test-ztk. Initializing section test-ztk. Installing recipe z3c.recipe.compattest. Error: Bad version 3.10.0 Need to update zc.recipe.testrunner to 1.3.0 that is compatible with zope.testing 3.10. The patch doing that is attached. Gediminas ztk-versions-using-zope.testing-3.10.diff I used this patch and checked it in into a branch: http://svn.zope.org/zopetoolkit/branches/zope.testing-3.10/ The reason why I did not check it in into trunk is that it breaks 17 packages in the ZTK mainly because zope.testing test dependency is not declared or the packages are not yet compatible with zope.testing no longer containing testrunner. @Hanno: Could you please decide in the ZTK release team, whether zope.testing 3.10 is a goal for the ZTK trunk. If so, I could merge the branch to the trunk and we could start fixing the tests. But maybe we should do this after the 1.0 final release. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 32 OK, 24 Failed
Am 21.09.2010 um 13:58 schrieb Zope Tests Summarizer: Summary of messages to the zope-tests list. Period Mon Sep 20 12:00:00 2010 UTC to Tue Sep 21 12:00:00 2010 UTC. There were 56 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 20 from buildbot at winbot.zope.org, 14 from ccomb at free.fr, 12 from jdriessen at thehealthagency.com. Test failures - Subject: FAILED : ZTK 1.0dev / Python2.5.5 Linux 64bit From: ccomb at free.fr Date: Mon Sep 20 10:32:18 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020298.html I might have fixed this by using branches/3.9 of zope.component which I created out of tags/3.9.5 as the trunk requires zope.testing 3.10 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Blueprint: zope.generations implemented
Hi, I implemented the blue print https://blueprints.launchpad.net/zope.app.generations/+spec/zope.generations I extracted the parts of zope.app.generations which are ZMI independent into a new zope.generations package. Anyone who wants to review what I have done? (Although I already released the new packages as 3.7.0) Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 46 OK, 7 Failed, 2 Unknown
Am 15.09.2010 um 13:58 schrieb Zope Tests Summarizer: [...] Test failures - [...] Subject: FAILED : ZTK 1.0 / Python2.4.6 Linux 64bit From: ccomb at free.fr Date: Wed Sep 15 01:26:59 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020028.html Which SVN-URL does this buildbout use for buildout? Sorry, I did not find any hint in the buildbot UI. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 46 OK, 7 Failed, 2 Unknown
Am 16.09.2010 um 13:33 schrieb Patrick Gerken: I believe, nobody had yet the chance to change the configuration to follow the branch. that buildbot still follows the trunk. The name is ZTK 1.0 so it should test the branch or change its name and drop testing py24 as this is no longer supported by ZTK trunk. On Thu, Sep 16, 2010 at 13:12, Michael Howitz m...@gocept.com wrote: Am 15.09.2010 um 13:58 schrieb Zope Tests Summarizer: [...] Test failures - [...] Subject: FAILED : ZTK 1.0 / Python2.4.6 Linux 64bit From: ccomb at free.fr Date: Wed Sep 15 01:26:59 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020028.html Which SVN-URL does this buildbout use for buildout? Sorry, I did not find any hint in the buildbot UI. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope ) Mit freundlichen Grüßen -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.dublincore and zope.copypastemove not compatible?
Am 19.08.2010 um 15:43 schrieb Michael Howitz: Am 19.08.2010 um 11:56 schrieb Michael Howitz: Am 06.02.2010 um 17:43 schrieb Michael Howitz: Hi, I found something strange in metadata when copying a persistent object. My situation is the following: I have a container with some elements inside. I create a copy of this container using zope.copypastemove.ObjectCopier(my_container).copyTo(my_container.__parent__) (Actually I use zope.copypastemove.interfaces.IObjectCopier(my_container) but this calls the adapter mentioned above.) Side note: Is this the right way to copy an persistent object nowadays? This happens tho dublin core metadata then: As zope.dublincore.timeannotators.CreatedAnnotator is subscribed to zope.lifecycleevent.IObjectCreatedEvent it gets called as the ObjectCopiedEvent is a subclass of ObjectCreatedEvent. The copy of the container gets a new creation date set in its metadata. But zope.copypastemove.dispatchToSublocations calls the subscribers for the sublocations using zope.component.subscribers((sub, event), None) So the zope.dublincore.timeannotators.CreatedAnnotator does not get called as it is not registered for (object, event) but only for (event,). This leads to a strange situation: the metadata of the copied container get updated but not the metadata of its contents. This behavior has not changed since version 3.4.0 which was about 2,5 years ago. I think this is a long-standing bug and it should it be fixed in zope.dublincore by registering the subscribers for (object, event)? (Additionally or exclusively, I'm not sure.) Any thoughts? As there were no replies I this bug into launchpad: https://bugs.launchpad.net/zope.copypastemove/+bug/620353 I implemented a solution, see comment https://bugs.launchpad.net/zope.copypastemove/+bug/620353/comments/1 Could someone please review the solution before I merge it into trunk? Thanks in advance. As there were no comments, I merged the changes into trunk and released zope.dublincore 3.8.0 and zope.copypastemove 3.8.0 today. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Bug day reports
Am 24.08.2010 um 17:12 schrieb Christian Theune: Hi everyone, last week was a bug day and I'd like to repeat the exercise from last time: it would be nice if everyone who was involved in some way to speak up and say what they worked on. Hi, I did the following: - wrote a blueprint: https://blueprints.launchpad.net/zope.app.generations/+spec/zope.generations - wrote a ticket and added a solution for review: https://bugs.launchpad.net/zope.copypastemove/+bug/620353 https://bugs.launchpad.net/zope.copypastemove/+bug/620353/comments/1 - rejected a ticket: https://bugs.launchpad.net/zope.catalog/+bug/189783 - released some packages, which contain the permission renaming from zope.app.dublincore.* to zope.dublincore.* zope.dublincore zope.app.file zope.app.container - updated migration documentation in ZTK accordingly: http://docs.zope.org/zopetoolkit/releases/overview-1.0a3.html#zope-dublincore-permission-renaming Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Blueprint: zope.generations
Am 24.08.2010 um 15:08 schrieb Jim Fulton: On Tue, Aug 24, 2010 at 2:32 AM, Michael Howitz m...@gocept.com wrote: Am 23.08.2010 um 15:52 schrieb Jim Fulton: ... I think this is an issue for the individual zope.generations plug ins. Does zope.generations itself use this? No it does not use it itself. Then this is easy. :) zope.app.publication should not be a dependency of zope.generations. It should be a dependency of anything that uses it, The anything that uses it are the applications written on top of Zope. There is nothing in between. I do not think that every application which uses a root folder should implement this function separately. So you really suggest to put this little function into a separate package? including some zope.generations plugins. I'm not aware of any of those plug-ins and did not find any on PyPI. So I'm not sure what you mean by zope.generations plugins. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Persistent principal folder?
Am 23.08.2010 um 13:50 schrieb Souheil CHELFOUH: The code you're interested in is in dolmen.authentication, dolmen.app.x are UI packages This package only contains some interfaces and an adapter but no principal folder implementation. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Blueprint: zope.generations
Am 23.08.2010 um 15:52 schrieb Jim Fulton: On Mon, Aug 23, 2010 at 3:41 AM, Michael Howitz m...@gocept.com wrote: [...] The database opened event from zope.processlifetime is already used, zope.app.publication is needed for this function in zope.app.generations.utility: def getRootFolder(context): return context.connection.root().get( zope.app.publication.zopepublication.ZopePublication.root_name, None) I think this function is needed in every generation script. Hm, this depends on a particular application (as defined by zope.app). Is there another way to get the root folder? Some apps probably don't use a root folder. But most apps do so, I think. I moved the getRootFolder function to zope.app.generations from zope.app.zopeappgenerations some months ago as it was the only reason I needed the zope.app.zopeappgenerations package. What about a condition? Only when zope.app.publication is available, the function gets defined. So we could get rid of it as a dependency and do not need a separate package for this function. Should the root_name be hard coded here instead of importing it? I think this is an issue for the individual zope.generations plug ins. Does zope.generations itself use this? No it does not use it itself. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Blueprint: zope.generations
Am 22.08.2010 um 15:09 schrieb Tres Seaver: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Howitz wrote: Am 19.08.2010 um 15:52 schrieb Jim Fulton: On Thu, Aug 19, 2010 at 4:05 AM, Michael Howitz m...@gocept.com wrote: Hi, I wrote a blue print to extract the parts of zope.app.generations into a new zope.generations package. See: https://blueprints.launchpad.net/zope.app.generations/+spec/zope.generations Any opinions? +1 in general. Can you add to the proposal a list of what you think the dependencies of zope.generations will be? This is the list: (I also added it to the proposal.) - ZODB - transaction - zope.app.publication (only needed in a utility function to get the database root folder) - zope.component - zope.interface - zope.processlifetime It seems like we should be able to remove the zope.app.publication dependency: don't the processlifetime events include a database opened event we could use? The database opened event from zope.processlifetime is already used, zope.app.publication is needed for this function in zope.app.generations.utility: def getRootFolder(context): return context.connection.root().get( zope.app.publication.zopepublication.ZopePublication.root_name, None) I think this function is needed in every generation script. Is there another way to get the root folder? Should the root_name be hard coded here instead of importing it? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Persistent principal folder?
Am 21.08.2010 um 00:11 schrieb Vincent Fretin: [...] Hi, Souheil Chelfouh initially extracted the pluggable auth utility from zope.app.authentication to zope.pluggableauth to not have all the browser views and this principalfolder implementation. In Dolmen http://www.dolmen-project.org/ (set of libraries you can use with Grok to build a small CMS), we have our own principal folder plugin implementation http://pypi.python.org/pypi/dolmen.app.authentication which is based on dolmen.authentication and zope.pluggableauth. Hi, I looked at dolmen.app.authentication, but it contains UI code, too and it has many grok resp. dolmen dependencies, so it is not really better than zope.app.authentication for my use case. And you have an example of a User content type in: http://gitweb.dolmen-project.org/menhir.contenttype.user.git Same here. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Persistent principal folder?
Hi, I need to store persistent principals in a folder in the ZODB. I do not need any UI for the principal nor the principal folder. I'd like to use zope.pluggableauth to authenticate them. zope.app.authentication.principalfolder does nearly exactly what I need. But I do not like to use it as it has many bad dependencies only needed for ZMI. Even z3c.authenticator seems to do too much as it contains UI code, too. Is there something else like zope.app.authentication.principalfolder.PrincipalFolder? Or what is the way nowadays to store persistent principals? Could it be a solution to extract zope.app.authentication.principalfolder into a new package like `zope.principalfolder` or even zope.pluggableauth? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Blueprint: zope.generations
Am 19.08.2010 um 15:52 schrieb Jim Fulton: On Thu, Aug 19, 2010 at 4:05 AM, Michael Howitz m...@gocept.com wrote: Hi, I wrote a blue print to extract the parts of zope.app.generations into a new zope.generations package. See: https://blueprints.launchpad.net/zope.app.generations/+spec/zope.generations Any opinions? +1 in general. Can you add to the proposal a list of what you think the dependencies of zope.generations will be? This is the list: (I also added it to the proposal.) - ZODB - transaction - zope.app.publication (only needed in a utility function to get the database root folder) - zope.component - zope.interface - zope.processlifetime Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Blueprint: zope.generations
Hi, I wrote a blue print to extract the parts of zope.app.generations into a new zope.generations package. See: https://blueprints.launchpad.net/zope.app.generations/+spec/zope.generations Any opinions? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.dublincore and zope.copypastemove not compatible?
Am 06.02.2010 um 17:43 schrieb Michael Howitz: Hi, I found something strange in metadata when copying a persistent object. My situation is the following: I have a container with some elements inside. I create a copy of this container using zope.copypastemove.ObjectCopier(my_container).copyTo(my_container.__parent__) (Actually I use zope.copypastemove.interfaces.IObjectCopier(my_container) but this calls the adapter mentioned above.) Side note: Is this the right way to copy an persistent object nowadays? This happens tho dublin core metadata then: As zope.dublincore.timeannotators.CreatedAnnotator is subscribed to zope.lifecycleevent.IObjectCreatedEvent it gets called as the ObjectCopiedEvent is a subclass of ObjectCreatedEvent. The copy of the container gets a new creation date set in its metadata. But zope.copypastemove.dispatchToSublocations calls the subscribers for the sublocations using zope.component.subscribers((sub, event), None) So the zope.dublincore.timeannotators.CreatedAnnotator does not get called as it is not registered for (object, event) but only for (event,). This leads to a strange situation: the metadata of the copied container get updated but not the metadata of its contents. This behavior has not changed since version 3.4.0 which was about 2,5 years ago. I think this is a long-standing bug and it should it be fixed in zope.dublincore by registering the subscribers for (object, event)? (Additionally or exclusively, I'm not sure.) Any thoughts? As there were no replies I this bug into launchpad: https://bugs.launchpad.net/zope.copypastemove/+bug/620353 Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Blueprint: zope.generations
Am 19.08.2010 um 14:36 schrieb Tres Seaver: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Howitz wrote: Hi, I wrote a blue print to extract the parts of zope.app.generations into a new zope.generations package. See: https://blueprints.launchpad.net/zope.app.generations/+spec/zope.generations Any opinions? I see the blueprint, but it doesn't have any writeup linked: did you intend to link something? I had put everything in the summary. But now I added a proposal in the wiki and linked it to the blue print. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.dublincore and zope.copypastemove not compatible?
Am 19.08.2010 um 11:56 schrieb Michael Howitz: Am 06.02.2010 um 17:43 schrieb Michael Howitz: Hi, I found something strange in metadata when copying a persistent object. My situation is the following: I have a container with some elements inside. I create a copy of this container using zope.copypastemove.ObjectCopier(my_container).copyTo(my_container.__parent__) (Actually I use zope.copypastemove.interfaces.IObjectCopier(my_container) but this calls the adapter mentioned above.) Side note: Is this the right way to copy an persistent object nowadays? This happens tho dublin core metadata then: As zope.dublincore.timeannotators.CreatedAnnotator is subscribed to zope.lifecycleevent.IObjectCreatedEvent it gets called as the ObjectCopiedEvent is a subclass of ObjectCreatedEvent. The copy of the container gets a new creation date set in its metadata. But zope.copypastemove.dispatchToSublocations calls the subscribers for the sublocations using zope.component.subscribers((sub, event), None) So the zope.dublincore.timeannotators.CreatedAnnotator does not get called as it is not registered for (object, event) but only for (event,). This leads to a strange situation: the metadata of the copied container get updated but not the metadata of its contents. This behavior has not changed since version 3.4.0 which was about 2,5 years ago. I think this is a long-standing bug and it should it be fixed in zope.dublincore by registering the subscribers for (object, event)? (Additionally or exclusively, I'm not sure.) Any thoughts? As there were no replies I this bug into launchpad: https://bugs.launchpad.net/zope.copypastemove/+bug/620353 I implemented a solution, see comment https://bugs.launchpad.net/zope.copypastemove/+bug/620353/comments/1 Could someone please review the solution before I merge it into trunk? Thanks in advance. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Request for review: z3c.recipe.i18n (branch: baijum-zcml-path)
Am 09.08.2010 um 09:38 schrieb Baiju M:[...]Incidentally, can you usezcml = include file="/absolute/path/name" /without specifying a package? In other words, is this just syntacticsugar for something that's already possible, or a way to do somethingthat wasn't possible before?Thanks for the review!I can use "file" option without specifying the package.So, I am not going to merge my branch.But could you please document this in the package for the next one who wants this feature?Thanks in advance.Yours sincerely,--Michael Howitz · m...@gocept.com · software developergocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germanyhttp://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1Zope and Plone consulting and development___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Changelog of differences between ztk 1.0a1 and 1.0a2?
Hi, is there a change log showing the differences between versions 1.0a1 and the lately released 1.0a2 of the ztk? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )