[Zope-dev] The test suite is not registered in setup.py of zope.i18n

2010-09-16 Thread Robin Lee
The test suite is not registered in setup.py of zope.i18n.

Robin
___
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] Survey: most obscure errors

2010-09-16 Thread Patrick Gerken
Hi

It doesn't happen to me any longer, cause I learned my lesson,
but in the beginning I was always confused about the error message
when an exception happened in the __init__ method of a view.

The Exception gets caught, and interpreted as if the object object/view
does not exist. I then always checked if I made a mistake in my
zcml declaration or did something wrong with names.
It never occured to me that the url was correct, but the __init__
method threw errors.

Best regards,

Patrick

On Tue, Sep 14, 2010 at 12:00, Marius Gedminas mar...@gedmin.as wrote:
 What are the most obscure error conditions you've encountered while
 developing Zopeish[1] applications?

  [1] ZTK, Grok, Bluebream, the old Zope 3.x KGSes all qualify.

 I'm talking about situations where the error message/traceback are
 disconnected from the actual cause.  For example, forgetting to add a
 security declaration in ZCML can cause TraversalError (because
 ForbiddenAttribute is a subclass of AttributeError), which leads the
 developer off to a wild goose chase looking for why the attribute is
 missing (was it misspelled? did it come from an old database?) the first
 few times this kind of error happens.

 One of the goals we came up with in the Zope Summit in Halle was to
 identify the most annoying of these kinds of error messages and fix
 them.  I need your help for the identifying part!

 Marius Gedminas
 --
 http://pov.lt/ -- Zope 3/BlueBream consulting and development

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)

 iEYEARECAAYFAkyPR7UACgkQkVdEXeem14+KfQCdEk2D4poDir5CKqL+0+svjHRV
 YWsAnjndhGiLGatmmjje08lcj2pYkCyE
 =XE/L
 -END PGP SIGNATURE-

 ___
 Zope-Dev maillist  -  zope-...@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 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

2010-09-16 Thread Michael Howitz
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

2010-09-16 Thread Patrick Gerken
I believe, nobody had yet the chance to change the configuration to
follow the branch.
that buildbot still follows the trunk.

Best regards,

   Patrick

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-...@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 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: 38 OK, 10 Failed

2010-09-16 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Wed Sep 15 12:00:00 2010 UTC to Thu Sep 16 12:00:00 2010 UTC.
There were 48 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 20 from 
buildbot at winbot.zope.org, 11 from ccomb at free.fr, 7 from jdriessen at 
thehealthagency.com.


Test failures
-

Subject: FAILED : winbot / ztk_dev py_244_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 16:19:39 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020033.html

Subject: FAILED : winbot / ztk_10 py_244_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 16:52:42 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020037.html

Subject: FAILED : winbot / zc_buildout_dev py_244_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 17:21:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020041.html

Subject: FAILED : winbot / zc_buildout_dev py_265_win64
From: buildbot at winbot.zope.org
Date: Wed Sep 15 17:57:50 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020044.html

Subject: FAILED : winbot / zc_buildout_dev py_270_win64
From: buildbot at winbot.zope.org
Date: Wed Sep 15 18:23:23 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020046.html

Subject: FAILED : ZTK 1.0dev / Python2.4.6 Linux 64bit
From: ccomb at free.fr
Date: Wed Sep 15 23:16:13 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020072.html

Subject: FAILED : ZTK 1.0dev / Python2.5.5 Linux 64bit
From: ccomb at free.fr
Date: Wed Sep 15 23:16:17 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020073.html

Subject: FAILED : ZTK 1.0dev / Python2.6.5 Linux 64bit
From: ccomb at free.fr
Date: Wed Sep 15 23:16:18 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020074.html

Subject: FAILED : ZTK 1.0 / Python2.4.6 Linux 64bit
From: ccomb at free.fr
Date: Thu Sep 16 01:27:21 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020077.html

Subject: FAILED : winbot / ztk_dev py_270_win32
From: buildbot at winbot.zope.org
Date: Thu Sep 16 07:57:37 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020080.html


Tests passed OK
---

Subject: OK : winbot / ztk_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 16:28:46 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020034.html

Subject: OK : winbot / ztk_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 16:37:36 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020035.html

Subject: OK : winbot / ztk_dev py_265_win64
From: buildbot at winbot.zope.org
Date: Wed Sep 15 16:46:29 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020036.html

Subject: OK : winbot / ztk_10 py_254_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 16:58:23 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020038.html

Subject: OK : winbot / ztk_10 py_265_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 17:03:51 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020039.html

Subject: OK : winbot / ztk_10 py_265_win64
From: buildbot at winbot.zope.org
Date: Wed Sep 15 17:09:07 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020040.html

Subject: OK : winbot / zc_buildout_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 17:32:55 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020042.html

Subject: OK : winbot / zc_buildout_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 17:45:33 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020043.html

Subject: OK : winbot / zc_buildout_dev py_270_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 18:10:50 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020045.html

Subject: OK : winbot / ZODB_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Wed Sep 15 19:19:36 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020047.html

Subject: OK : Zope Buildbot / zope2.12 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Sep 15 19:48:32 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020048.html

Subject: OK : Zope Buildbot / zope2 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Sep 15 19:50:25 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020049.html

Subject: OK : Zope Buildbot / zope2.12 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Sep 15 19:54:00 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020050.html

Subject: OK : Zope Buildbot / ztk slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Sep 15 19:54:09 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-September/020051.html

Subject: OK : 

Re: [Zope-dev] Zope Toolkit - new 1.0 branch

2010-09-16 Thread Adam GROSZER
Hello Hanno,

I fixed the bug in zope.formlib that we were talking about.
I switched the winbot to the below URL.

Tuesday, September 14, 2010, 11:49:21 AM, you wrote:

HS Hi.

HS After the release of the ZTK 1.0c1 I also created a maintenance branch
HS for the ZTK 1.0. The branch can be found at:

HS svn://svn.zope.org/repos/main/zopetoolkit/branches/1.0

HS Please update the buildbots to test this branch under all of Python
HS 2.4, 2.5 and 2.6.

HS The trunk is now open to development of the ZTK 1.1. Please adjust the
HS buildbots to test the trunk on Python 2.5, 2.6 and 2.7. Python 2.4 is
HS no longer supported for the ZTK 1.1 release but we like to get Python
HS 2.7 support.

HS On behalf of the ZTK release team,
HS Hanno

-- 
Best regards,
 Adam GROSZERmailto:agros...@gmail.com
--
Quote of the day:
I'm sorry, sir, that line is busy till Monday.  Would you hold please?

___
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

2010-09-16 Thread Michael Howitz
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] Survey: most obscure errors

2010-09-16 Thread Edwin Grubbs
 From: Marius Gedminas mar...@gedmin.as
 Date: Tue, Sep 14, 2010 at 11:00 AM
 Subject: [Zope-dev] Survey: most obscure errors
 To: zope-dev@zope.org


 What are the most obscure error conditions you've encountered while
 developing Zopeish[1] applications?

  [1] ZTK, Grok, Bluebream, the old Zope 3.x KGSes all qualify.

 I'm talking about situations where the error message/traceback are
 disconnected from the actual cause.  For example, forgetting to add a
 security declaration in ZCML can cause TraversalError (because
 ForbiddenAttribute is a subclass of AttributeError), which leads the
 developer off to a wild goose chase looking for why the attribute is
 missing (was it misspelled? did it come from an old database?) the first
 few times this kind of error happens.

 One of the goals we came up with in the Zope Summit in Halle was to
 identify the most annoying of these kinds of error messages and fix
 them.  I need your help for the identifying part!

 Marius Gedminas


The most common confusing error that I encounter is when some
underlying code has an AttributeError, but zope's traversal code
doesn't tell me about that exception, it just tells me that the
attribute several layers up could not be traversed.

For example, there is a bug in a function like this:

def format_data(foo):
return %d: %s % (foo.id, foo.name)

def baz(foo_id):
foo = load_foo(foo_id)
return format_data(foo)

class FooView:
@property
def my_foo(self):
 return baz(self.context.foo_id)

When the template tries to traverse view/my_foo, if foo doesn't have
the name attribute, it fails, but it only tells you that my_foo
couldn't be found on the view. I used to spend quite a bit of time
trying to figure out whether I changed some configuration that caused
this error. If the attribute was on a context object with a security
wrapper, I would be checking that also. Now, I usually recognize that
I have to add pdb.set_trace() inside of my_foo so that I can see where
the AttributeError is really raised.

I reported the bug two years ago, but I guess I didn't explain the
problem very well.
https://bugs.edge.launchpad.net/zope3/+bug/311062

-Edwin
___
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 Toolkit - new 1.0 branch

2010-09-16 Thread Christophe Combelles
Le 14/09/2010 11:49, Hanno Schlichting a écrit :
 Hi.

 After the release of the ZTK 1.0c1 I also created a maintenance branch
 for the ZTK 1.0. The branch can be found at:

 svn://svn.zope.org/repos/main/zopetoolkit/branches/1.0

just done for http://buildbot.afpy.org/ztk1.0/

btw thanks for releasing 1.0c1!

Christophe


 Please update the buildbots to test this branch under all of Python
 2.4, 2.5 and 2.6.

 The trunk is now open to development of the ZTK 1.1. Please adjust the
 buildbots to test the trunk on Python 2.5, 2.6 and 2.7. Python 2.4 is
 no longer supported for the ZTK 1.1 release but we like to get Python
 2.7 support.

 On behalf of the ZTK release team,
 Hanno


___
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

2010-09-16 Thread Christophe Combelles
Le 16/09/2010 15:06, Michael Howitz a écrit :
 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.


I've just changed it, and svn switched the slaves. Let's wait for the next build




 On Thu, Sep 16, 2010 at 13:12, Michael Howitzm...@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
___
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 )