[Zope-dev] Zope Tests: 7 OK, 1 Failed
Summary of messages to the zope-tests list. Period Mon Apr 6 12:00:00 2009 UTC to Tue Apr 7 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Test failures - Subject: FAILED (errors=1) : Zope-trunk-alltests Python-2.6.1 : Linux From: Zope Tests Date: Mon Apr 6 21:02:44 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011410.html Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Mon Apr 6 20:48:34 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011403.html Subject: OK : Zope-2.11 Python-2.4.6 : Linux From: Zope Tests Date: Mon Apr 6 20:50:35 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011404.html Subject: OK : Zope-trunk Python-2.4.6 : Linux From: Zope Tests Date: Mon Apr 6 20:52:38 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011405.html Subject: OK : Zope-trunk Python-2.5.4 : Linux From: Zope Tests Date: Mon Apr 6 20:54:38 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011406.html Subject: OK : Zope-trunk Python-2.6.1 : Linux From: Zope Tests Date: Mon Apr 6 20:56:39 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011407.html Subject: OK : Zope-trunk-alltests Python-2.4.6 : Linux From: Zope Tests Date: Mon Apr 6 20:58:39 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011408.html Subject: OK : Zope-trunk-alltests Python-2.5.4 : Linux From: Zope Tests Date: Mon Apr 6 21:00:41 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011409.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] pytzhon-daemon (was Re: zdaemon is alpha?)
Just curious, are there plans to use python-daemon as the base? http://pypi.python.org/pypi/python-daemon/ It implements PEP 3143 http://www.python.org/dev/peps/pep-3143/ and I'am sure if theres something missing, Ben Finney (the author) will listen and is happy to discuss the issues. greetz Jens -- Jens W. Klein - Klein Partner KEG - BlueDynamics Alliance ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 7 OK, 1 Failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zope Tests Summarizer wrote: Test failures - Subject: FAILED (errors=1) : Zope-trunk-alltests Python-2.6.1 : Linux From: Zope Tests Date: Mon Apr 6 21:02:44 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011410.html This failure is due to a changed (less tolerant) HTMLParser module in Python 2.6. The new module barfs on invalid quasi-numeric entities ('#0a' in our example, which is missing the 'X' to make it valid). Even if I delete the broken case, the test fails again because the 2.6 parser also converts the numeric entities to unicode, injecting Ctrl-A and LF for '#01;' and 'X0a;'! I'm not sure how we should attempt to fix the test, except for a big hammer check of sys.version_info and two different inputs / expected outputs. If nobody has a better idea, I will check that in tomorrow (see attached patch). 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 iD8DBQFJ206/+gerLs4ltQ4RAqpkAKDGS2c66egb0sO3VTUiUlU0LLpp2QCfcf0H Q8HnrOKqduKjuHIiMPlwbUc= =Vwvg -END PGP SIGNATURE- Index: src/zope/tal/tests/test_talinterpreter.py === --- src/zope/tal/tests/test_talinterpreter.py (revision 98974) +++ src/zope/tal/tests/test_talinterpreter.py (working copy) @@ -706,10 +706,16 @@ self.compare(INPUT, EXPECTED) def test_entities(self): -INPUT = ('img tal:define=foo nothing ' - 'alt=a; #1; #x0a; a #45 ; #0a; /') -EXPECTED = ('img alt=a; #1; #x0a; ' -'amp;a amp;#45 amp;; amp;#0a; lt;gt; /') +if sys.version_info (2, 6): +INPUT = ('img tal:define=foo nothing ' +'alt=a; #1; #x0a; a #45 ; #0a; /') +EXPECTED = ('img alt=a; #1; #x0a; ' +'amp;a amp;#45 amp;; amp;#0a; lt;gt; /') +else: +INPUT = ('img tal:define=foo nothing ' +'alt=a; #1; #x0a; a #45 ; /') +EXPECTED = ('img alt=a; \x01 \n ' +'amp;a amp;#45 amp;; lt;gt; /') self.compare(INPUT, EXPECTED) def compare(self, INPUT, EXPECTED): ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] pytzhon-daemon (was Re: zdaemon is alpha?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens W. Klein wrote: Just curious, are there plans to use python-daemon as the base? http://pypi.python.org/pypi/python-daemon/ It implements PEP 3143 http://www.python.org/dev/peps/pep-3143/ and I'am sure if theres something missing, Ben Finney (the author) will listen and is happy to discuss the issues. The PEP[1] notes the following about 'zdaemon': The zdaemon tool [zdaemon] was written for the Zope project. Like [slack-daemon], it differs from this specification because it is used to run another program as a daemon process. In particular, that is what makes the 'zopectl' / 'zeoctl' bit feasible; the 'runzope' / 'runzeo' commands get run in a daemonized environment. The controller process has a different lifetime than the actual daemon, with the two communicating over a private socket. For the appserver, I imagine that we will move to a WSGI-based deployment model, leaving any Zope-specific server implementation behing. If you wanted to experiment with Ben's library, I would therefore focus on the ZEO server. [1] http://www.python.org/dev/peps/pep-3143/ 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 iD8DBQFJ21JA+gerLs4ltQ4RAl2lAJ9QRO2mzhK0Y3F16LMpT2Z72zjwcwCgvAnP RwrkAz5mvnOvtGwHzPhdUKw= =xFzo -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: zope.fixers/trunk/zope/fixers/ Added a fixer for implementsOnly. Currently the decorator is called implementer_only. I'm not happy with
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: Log message for revision 98979: Added a fixer for implementsOnly. Currently the decorator is called implementer_only. I'm not happy with that name, but we can easily change it until we make a first release of a Python 3 compatible zope.interface. Maybe something like 'soleImplementor'? 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 iD8DBQFJ2472+gerLs4ltQ4RAp1sAKClR2lMxuNJQEqkWLd8/SM8/NEELACeNRai C1Wwd3am7kKNGUTwvp5aaVI= =TO6+ -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] pytzhon-daemon (was Re: zdaemon is alpha?)
On Apr 7, 2009, at 7:16 AM, Jens W. Klein wrote: Just curious, are there plans to use python-daemon as the base? http://pypi.python.org/pypi/python-daemon/ No. It implements PEP 3143 http://www.python.org/dev/peps/pep-3143/ and I'am sure if theres something missing, Ben Finney (the author) will listen and is happy to discuss the issues. zdaemon is boring, meaning it works fine the way it is, at least for the use cases it was designed to address. I see no need to make it exciting. :) Jim -- Jim Fulton Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Proposal: Remove the dependency of zope.app.exception on zope.formlib
Hi, zope.app.exception depends on zope.formlib to use the NamedTemplate for the Unauthorized view. As zope.formlib has many dependencies I propose to depend on z3c.template to get a named template. (Even z3c.layer.pagelet depends on zope.app.exception (for the Unauthorized view) and so it depends on zope.formlib.) I implemented the proposal in svn+ssh://svn.zope.org/repos/main/ zope.app.exception/branches/icemac_no_formlib (I also added a minimized patch of my changes to this e-mail.) Any comments on this implementation? Should I do the include include package=z3c.template file=meta.zcml / in zope.app.exception's configure.zcml or only in the ftesting.zcml? no_formlib.patch Description: Binary data 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 http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Proposal: Remove the dependency of zope.app.exception on zope.formlib
On Tuesday 07 April 2009, Michael Howitz wrote: Any comments on this implementation? +1 from me, since I hate having zope.formlib around. However, this might be self-serving and we should hear from people not using newer UI patterns. Should I do the include include package=z3c.template file=meta.zcml / in zope.app.exception's configure.zcml or only in the ftesting.zcml? Just in ftesting.zcml should be fine in my opinion. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope] SSL/https
Good morning, You might remember my asking for help last month with generating a CSR and installing an SSL certificate. I did get that done, and now I have a new problem. If I replace http://; with https://; in the address, I get a file not found error. What do I need to do to make sure our application for admission is secure? I'm sort of out of my league here. Thanks for whatever help you can give me :) Cat - Catherine E. Reinehr Webmaster Director of Publications Huntingdon College 1500 E. Fairview Ave. Montgomery, AL 36106 (334) 833-4429 / Flowers 218B ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] dtml-in pagination
Hi, I'm trying to do pagination with dtml-in; could one of you show my why i can't get the next and previous button from my code below to work? Also, i need to do view per page: 1,2,3,etc. and allow the user select the number of records displayed per page (size) as well. Thanks in advance for any advice. dtml-in getTable(table=table,order_by=order_by,sort=sort) size=10 start=0 dtml-if sequence-end tr td colspan=3 a href=?table=dtml-var tableorder_by=dtml-var order_bysort=dtml-var sortstart=dtml-var previous-sequenceprevious/a a href=?table=dtml-var tableorder_by=dtml-var order_bysort=dtml-var sortstart=dtml-var next-sequencenext/a /td /tr /dtml-if sequence-end /dtml-in ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Mod_Rewrite port 8080
(Mon, Apr 06, 2009 at 10:01:52AM -0700) Bobby wrote/schrieb/egrapse: I want to use mod_rewrite on Apache to redirect http://internal:80/internal to http://internal:8080/internal so that when the user request http://internal:80/internal, the Zope folder foo will be served up. I still want http://internal:80/ to stay intact so that the contents from port 80 will still be served; just the http://internal:80/internal to point to the Zope folder http://internal:8080/internal. Hope that makes sense. Could someone help me out with the syntax? Tried the syntax below but not getting http://wiki.zope.org/zope2/ZopeAndApache for the theory http://betabug.ch/zope/witch for the rewrite rule Regards, Sascha ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] dtml-in pagination
Could someone point me to some documentation on how to do pagination? Thanks. --- On Tue, 4/7/09, Bobby cybercruis...@yahoo.com wrote: From: Bobby cybercruis...@yahoo.com Subject: [Zope] dtml-in pagination To: zope@zope.org Date: Tuesday, April 7, 2009, 10:58 AM Hi, I'm trying to do pagination with dtml-in; could one of you show my why i can't get the next and previous button from my code below to work? Also, i need to do view per page: 1,2,3,etc. and allow the user select the number of records displayed per page (size) as well. Thanks in advance for any advice. dtml-in getTable(table=table,order_by=order_by,sort=sort) size=10 start=0 dtml-if sequence-end tr td colspan=3 a href=?table=dtml-var tableorder_by=dtml-var order_bysort=dtml-var sortstart=dtml-var previous-sequenceprevious/a a href=?table=dtml-var tableorder_by=dtml-var order_bysort=dtml-var sortstart=dtml-var next-sequencenext/a /td /tr /dtml-if sequence-end /dtml-in ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )