Re: [Zope-dev] Proposal: zope.app.publisher refactoring
Am 25.08.2009 um 14:39 schrieb Roger Ineichen: [...] I was looking another time at the z3c.layer.pagelet package. I agree that the added authentication support is useful and was missing in the first releases. The loginForm.html pagelet should stay there. But we should move the viewlets to another package since this is optional and another concept which is not really needed by pagelets. e.g. z3c.authviewlet or so. Right. Nice naming idea, I'll put it on my to do list. Another reason for moving this viewlets is that this login/ logout viewlets are useful too without using pagelets. Right, 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] Proposal: Determining packages which are in the ZTK
On 2009-9-21 17:19, Martijn Faassen wrote: Hey, Generally I believe that these rules if strictly applied wouldn't result in a usable ZTK. Hanno already mentions the testing dependencies, which we've barely started analyzing. Documentation in 'docs' would disqualify just about any package (and Reinout brings up a few objections). A number of thoughts: * even without radically pruning the ZTK particular subsets of the ZTK are becoming a lot more useful than when we started, due the dependency refactoring. This refactoring is ongoing. * we need some stability for those apps that already are built on top of Zope 3. These will still be using zope.app* packages for some time. Right now we can test lots of breakages of zope.app* packages by using the ZTK compattests. If we removed them from the ZTK soon, we'd need an equivalent testing infrastructure for an expanded ZTK, and management policy will be harder. I think we could translate these rules from not be part of the ZTK to goals for the ZTK packages: - we should aim for ZTK packages to be used by Zope 3 apps, Zope 2 and Grok. The code in the ZTK should be *used*. - ZTK packages should have narrative documentation. We should actively work to create such narrative documentation. How do you define narrative documentation? Do you consider z3c.form to have narrative documentation for example? Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
good morning everbody! while trying to update my zope 2.12 test installation to 2.12.0c1 via easy_install i ran into problems with zopectl and runzope today. to make sure i didn't screw anything by myself i did a fresh install to a new virtualenv. outcome is reported here: https://bugs.launchpad.net/zope2/+bug/434549 just posting this as not everybody seems to be monitoring bugs on launchbad yet. is this a bad idea to post bugs here also? cheers, jürgen -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)800 XLHOSTDE [0800 95467833] Fax: +49 (0)800 95467830 WEB: http://www.XLhost.de IRC: #xlh...@irc.quakenet.org ___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
On 22.09.09 11:39, Jürgen Herrmann wrote: good morning everbody! while trying to update my zope 2.12 test installation to 2.12.0c1 via easy_install i ran into problems with zopectl and runzope today. to make sure i didn't screw anything by myself i did a fresh install to a new virtualenv. outcome is reported here: You haven't read the docs carefully: http://docs.zope.org/zope2/releases/2.12/INSTALL.html Andreas attachment: lists.vcf___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
On Tue, September 22, 2009 11:54, Andreas Jung wrote: On 22.09.09 11:39, Jürgen Herrmann wrote: good morning everbody! while trying to update my zope 2.12 test installation to 2.12.0c1 via easy_install i ran into problems with zopectl and runzope today. to make sure i didn't screw anything by myself i did a fresh install to a new virtualenv. outcome is reported here: You haven't read the docs carefully: http://docs.zope.org/zope2/releases/2.12/INSTALL.html i read it again, this time following the section Installing Zope using easy_install word by word (except inserting the correct zope2 version number into the easy_install command). here's the outcome: [...@t5-laptop ~]$ virtualenv --no-site-packages my_zope New python executable in my_zope/bin/python2.6 Also creating executable in my_zope/bin/python Installing setuptoolsdone. [...@t5-laptop ~]$ cd my_zope [...@t5-laptop my_zope]$ source bin/activate (my_zope)[...@t5-laptop my_zope]$ bin/easy_install -i http://download.zope.org/Zope2/index/2.12.0c1 Zope2 ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd like to install Zope instance home files such as database files, configuration files, etc. Directory: /home/jh/my_zope Please choose a username and password for the initial user. These will be the credentials you use to initially manage your new Zope instance. Username: admin Password: Verify password: (my_zope)[...@t5-laptop my_zope]$ bin/zopectl fg Traceback (most recent call last): File bin/zopectl, line 8, in module load_entry_point('Zope2==2.12.0c1', 'console_scripts', 'zopectl')() File /home/jh/my_zope/lib/python2.6/site-packages/Zope2-2.12.0c1-py2.6-linux-i686.egg/Zope2/Startup/zopectl.py, line 347, in run exitstatus = main() File /home/jh/my_zope/lib/python2.6/site-packages/Zope2-2.12.0c1-py2.6-linux-i686.egg/Zope2/Startup/zopectl.py, line 303, in main options.realize(args) File /home/jh/my_zope/lib/python2.6/site-packages/Zope2-2.12.0c1-py2.6-linux-i686.egg/Zope2/Startup/zopectl.py, line 122, in realize self.directory = config.instancehome AttributeError: 'NoneType' object has no attribute 'instancehome' what did i miss??? andreas, you could have been a bit more telling in your answer :) regards, jürgen -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)800 XLHOSTDE [0800 95467833] Fax: +49 (0)800 95467830 WEB: http://www.XLhost.de IRC: #xlh...@irc.quakenet.org ___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
On 22.09.09 12:15, Jürgen Herrmann wrote: ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd like to install Zope instance home files such as database files, configuration files, etc. Try to create your instance outside the buildout dir. Andreas attachment: lists.vcf___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
On Tue, September 22, 2009 12:23, Andreas Jung wrote: On 22.09.09 12:15, Jürgen Herrmann wrote: ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd like to install Zope instance home files such as database files, configuration files, etc. Try to create your instance outside the buildout dir. Andreas some further testing shows, that it's still possible to have the instance home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv still is this info missing on http://docs.zope.org/zope2/releases/2.12/INSTALL.html or am i blind? regards, jürgen -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)800 XLHOSTDE [0800 95467833] Fax: +49 (0)800 95467830 WEB: http://www.XLhost.de IRC: #xlh...@irc.quakenet.org ___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
On 22.09.09 13:29, Jürgen Herrmann wrote: On Tue, September 22, 2009 12:23, Andreas Jung wrote: On 22.09.09 12:15, Jürgen Herrmann wrote: ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd like to install Zope instance home files such as database files, configuration files, etc. Try to create your instance outside the buildout dir. Andreas some further testing shows, that it's still possible to have the instance home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv s Better give feedback if it worked or not :-) Andreas attachment: lists.vcf___ 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 Tests: 8 OK
Summary of messages to the zope-tests list. Period Mon Sep 21 12:00:00 2009 UTC to Tue Sep 22 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Mon Sep 21 20:45:17 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012600.html Subject: OK : Zope-2.11 Python-2.4.6 : Linux From: Zope Tests Date: Mon Sep 21 20:47:17 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012601.html Subject: OK : Zope-2.12 Python-2.4.6 : Linux From: Zope Tests Date: Mon Sep 21 20:49:17 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012602.html Subject: OK : Zope-2.12-alltests Python-2.4.6 : Linux From: Zope Tests Date: Mon Sep 21 20:51:17 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012603.html Subject: OK : Zope-2.12 Python-2.6.2 : Linux From: Zope Tests Date: Mon Sep 21 20:53:17 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012604.html Subject: OK : Zope-2.12-alltests Python-2.6.2 : Linux From: Zope Tests Date: Mon Sep 21 20:55:17 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012605.html Subject: OK : Zope-trunk Python-2.6.2 : Linux From: Zope Tests Date: Mon Sep 21 20:57:18 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012606.html Subject: OK : Zope-trunk-alltests Python-2.6.2 : Linux From: Zope Tests Date: Mon Sep 21 20:59:18 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012607.html ___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
On Tue, September 22, 2009 13:31, Andreas Jung wrote: On 22.09.09 13:29, Jürgen Herrmann wrote: On Tue, September 22, 2009 12:23, Andreas Jung wrote: On 22.09.09 12:15, Jürgen Herrmann wrote: ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd like to install Zope instance home files such as database files, configuration files, etc. Try to create your instance outside the buildout dir. Andreas some further testing shows, that it's still possible to have the instance home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv s Better give feedback if it worked or not :-) Andreas well, now it works. as descripted above, my instance home is now /home/xlhost/zope and the virtualenv is in /home/xlhost/zope/virtualenv i found another problem though: Zope2-2.12.0c1-py2.6-linux-i686.egg/Products/PluginIndexes/nterfaces.py is now missing the interfaces ITextIndex and IVocabulary which leads to import errors in Products.GenericSetup why have these been dropped? they were there in 2.12.0b1 and after copying them over everything comes up fine. best regards, jürgen -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)800 XLHOSTDE [0800 95467833] Fax: +49 (0)800 95467830 WEB: http://www.XLhost.de IRC: #xlh...@irc.quakenet.org ___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
On 22.09.09 14:07, Jürgen Herrmann wrote: On Tue, September 22, 2009 13:31, Andreas Jung wrote: On 22.09.09 13:29, Jürgen Herrmann wrote: On Tue, September 22, 2009 12:23, Andreas Jung wrote: On 22.09.09 12:15, Jürgen Herrmann wrote: ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd like to install Zope instance home files such as database files, configuration files, etc. Try to create your instance outside the buildout dir. Andreas some further testing shows, that it's still possible to have the instance home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv s Better give feedback if it worked or not :-) Andreas well, now it works. as descripted above, my instance home is now /home/xlhost/zope and the virtualenv is in /home/xlhost/zope/virtualenv i found another problem though: Zope2-2.12.0c1-py2.6-linux-i686.egg/Products/PluginIndexes/nterfaces.py is now missing the interfaces ITextIndex and IVocabulary which leads to import errors in Products.GenericSetup why have these been dropped? The removal of TextIndex is documented in the release notes. Andreas attachment: lists.vcf___ 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] zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1
On Tue, September 22, 2009 14:10, Andreas Jung wrote: On 22.09.09 14:07, Jürgen Herrmann wrote: On Tue, September 22, 2009 13:31, Andreas Jung wrote: On 22.09.09 13:29, Jürgen Herrmann wrote: On Tue, September 22, 2009 12:23, Andreas Jung wrote: On 22.09.09 12:15, Jürgen Herrmann wrote: ... (my_zope)[...@t5-laptop my_zope]$ bin/mkzopeinstance Please choose a directory in which you'd like to install Zope instance home files such as database files, configuration files, etc. Try to create your instance outside the buildout dir. Andreas some further testing shows, that it's still possible to have the instance home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv s Better give feedback if it worked or not :-) Andreas well, now it works. as descripted above, my instance home is now /home/xlhost/zope and the virtualenv is in /home/xlhost/zope/virtualenv i found another problem though: Zope2-2.12.0c1-py2.6-linux-i686.egg/Products/PluginIndexes/nterfaces.py is now missing the interfaces ITextIndex and IVocabulary which leads to import errors in Products.GenericSetup why have these been dropped? The removal of TextIndex is documented in the release notes. Andreas ok, thanks very much for your help! jürgen -- XLhost.de - eXperts in Linux hosting ® XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)800 XLHOSTDE [0800 95467833] Fax: +49 (0)800 95467830 WEB: http://www.XLhost.de IRC: #xlh...@irc.quakenet.org ___ 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.password
At least on Python 2.6, SSHAPasswordManager().checkPassword(hash, password) fails if hash is unicode, which it always is if stored in some databases. SSHAPasswordManager should encode the hash to utf-8 before trying to un-base64. zope.password is conspicuously missing a DelegatingPasswordManager that parses hashes in the form of {scheme}hash and uses getUtility(IPasswordManager, SCHEME) to check a variety of schemes. Thanks, Daniel Holth ___ 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] Proposal: Determining packages which are in the ZTK
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reinout van Rees wrote: On 2009-09-18, Tres Seaver tsea...@palladion.com wrote: - - Any package which doesn't have real narrative documentation checked into its 'docs' subdirectory, or a commitment from a maintainer to create such docs, should be on probation. This sounds like - It really has to be the docs/ subdir (which keeps it hidden from for instance omelette). I am arguing for a convention of Sphinx-like stuff in the top-level sdit tree, parallel to the source, rather than intermingled with the source. - It should not be a doctest. I meant to write that the docs must be primarily narrative, rather than a set of doctest bricks stitched together with thin pseudo-prose mortar. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKuVLU+gerLs4ltQ4RAgITAKDUvlU3TDOvNFLaaUOaa7z+3SyqXwCdHvc/ +qlzFTf5TpsOLJavqhvuYL4= =YTR6 -END PGP SIGNATURE- ___ 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] Proposal: quit importing zope.app.schema.vocabulare in Products.Five
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Tres Seaver wrote: yuppie wrote: Hi Tres! Tres Seaver wrote: I don't know what the purpose of the following checkin was: http://svn.zope.org/Zope/trunk/?rev=85827view=rev See https://mail.zope.org/pipermail/zope-dev/2008-April/031691.html but the tests all pass if I rip out the import, and Zope starts. I don't know what code in Zope2 expects the ZopeVocabularyRegistry to be registered. Can you remember what needed it? A wrong import in CMFCalendar did mask the problem, but I just fixed that and now you can see some CMF tests failing if that import is removed in Five. Having tests fail becuase of a removed import-for-side-effects doesn't give me a good feeling about the quality of the tests. At any rate, if there is a real feature needed by Zope2 to function correctly, then we should move it from zope.app.schema to zope.schema, and make it possible to configure cleanly (instead of via side effects). (Later) OK, I have copied the ZopeVocabularyRegistry from zope.app.schema.vocabulary into a new module, Products.Five.schema, renaming it to Zope2VocabularyRegistry. I arranged to get it installed insside Five's initialize(). I updated the failing CMFDefault and CMFCalendar doctests to import and install that registry in a new 'setUp', and clear it in 'tearDown'. Ugh, I have the sinking feeling that this fix needs to be backported to the 2.12 branch before we get to a release. Andreas, it is a pretty small change, actually, and removes any dependency on zope.app.schema: can I merge it? Under the Silence is assent principle, done. I also backported the rip out Twisted integration change. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKuYvG+gerLs4ltQ4RAhLvAJ49JvIP3+nlCdWVlwthLeitZdprPQCfekMK O5v8WxQUdThvkIBVZehm8kE= =7pOJ -END PGP SIGNATURE- ___ 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 )