Re: [Zope-dev] Using views for exceptions in Zope 2.12?

2009-05-08 Thread Hanno Schlichting
Chris Withers wrote:
 Given that the source of bug #372632 appears to be code related to 
 allowing views on exceptions in Zope 2, I thought I'd try use this method.

Try following the description given in the changelog at
http://svn.zope.org/Zope/branches/2.11/doc/CHANGES.txt?view=markup under
Zope 3-based exception views.

Hanno

___
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] Using views for exceptions in Zope 2.12?

2009-05-08 Thread Chris Withers
Hi All,

Given that the source of bug #372632 appears to be code related to 
allowing views on exceptions in Zope 2, I thought I'd try use this method.

I tried this, without much joy:

   browser:defaultView
   for=exceptions.Exception
   name=error
   /
   browser:page
   for=exceptions.Exception
   template=html/error.html
   name=error
   permission=zope2.Public
   /

So, how should I be wiring in views for exceptions?

Also, is there a base view class for exceptions anywhere that provides 
the following or their equivalents?

 kwargs = {'error_type': error_name,
   'error_value': error_value,
   'error_tb': error_tb,
   'error_traceback': error_tb,
   'error_message': error_message,
   'error_log_url': error_log_url}

Finally, when a view is used to render and exception, is the userthe 
current logged in user (as is the case with standard_error_message) or 
Anonymous (as has annoyingly been the case with Unauthorized exceptions 
in the past)

cheers,

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] Publishing our company internal Zope extensions and fixes

2009-05-08 Thread Andreas Jung
Hi there,

we are currently combing through our company internal Zope (2.11) version
and trying to identify the stuff that is of interest for the public and the
Zope 2 core (including some ZODB extensions/changes). I will create a ticket
on Launchpad (containing a detailed description + patch)
for the interesting items (we have roughly 50 of them) over the next
days. All items are prefixed with [DM].
Everyone is invited to look at the stuff and
comment on it. I also reserve the right merging some of the changes into
the current
trunk until the next Zope 2.12 beta2 release (intentionally breaking the
rule
that no new features should be added within the beta phase).

Andreas
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] buildbot web page

2009-05-08 Thread Martijn Faassen
Hi there,

There are various buildbots running for Zope-related stuff. The problem 
is that they're only mentioned on mailing lists and such so nobody 
remembers where they are, how to use them, and who to contact.

Could someone work with Sebastien Douche who is maintaining one buildbot 
and record what's going on?

http://zope.buildbot.securactive.org/
http://grok.buildbot.securactive.org/
(missing repoze and zc.builout)

You can record it in a page in the zopetoolkit area in SVN.

If you're feeling ambitious you could also look into using snakebite for 
testing some of our packages on a large range of platforms.

Regards,

Martijn

P.S. I'm not in charge of the buildbot story. At all. I'm just trying to 
get others to take some responsibility in documenting it and promoting 
it. I'm not even a user really at this point. I want to be one, but I 
need a web page telling me where to go. :)

___
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] buildbot web page

2009-05-08 Thread Marius Gedminas
On Fri, May 08, 2009 at 11:52:43AM +0200, Martijn Faassen wrote:
 There are various buildbots running for Zope-related stuff. The problem 
 is that they're only mentioned on mailing lists and such so nobody 
 remembers where they are, how to use them, and who to contact.
 
 Could someone work with Sebastien Douche who is maintaining one buildbot 
 and record what's going on?
 
 http://zope.buildbot.securactive.org/
 http://grok.buildbot.securactive.org/
 (missing repoze and zc.builout)
 
 You can record it in a page in the zopetoolkit area in SVN.

http://zope3.pov.lt/buildbot (the Zope 3.4 KGS buildbot) is already
mentioned there, in ./source/process/tools.rst

Incidentally, I spent some time yesterday fiddling with the look and
feel, after the relatively recent upgrade of buildbot to 0.7.8.  Also,
both build slaves now run the same OS version: Ubuntu 8.04, the
difference now is architecture: i386 vs x86_64.

 P.S. I'm not in charge of the buildbot story. At all. I'm just trying to 
 get others to take some responsibility in documenting it and promoting 
 it. I'm not even a user really at this point. I want to be one, but I 
 need a web page telling me where to go. :)

Where is the site maintained in zopetoolkit going to live on the web?

(You can tell I've been skipping some of the threads lately.)

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


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 6 OK, 2 Failed

2009-05-08 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Thu May  7 12:00:00 2009 UTC to Fri May  8 12:00:00 2009 UTC.
There were 8 messages: 8 from Zope Tests.


Test failures
-

Subject: FAILED (errors=1) : Zope-trunk Python-2.4.6 : Linux
From: Zope Tests
Date: Thu May  7 20:49:20 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011653.html

Subject: FAILED (errors=1) : Zope-trunk-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Thu May  7 20:55:25 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011656.html


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu May  7 20:45:16 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011651.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu May  7 20:47:20 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011652.html

Subject: OK : Zope-trunk Python-2.5.4 : Linux
From: Zope Tests
Date: Thu May  7 20:51:23 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011654.html

Subject: OK : Zope-trunk Python-2.6.1 : Linux
From: Zope Tests
Date: Thu May  7 20:53:25 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011655.html

Subject: OK : Zope-trunk-alltests Python-2.5.4 : Linux
From: Zope Tests
Date: Thu May  7 20:57:26 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011657.html

Subject: OK : Zope-trunk-alltests Python-2.6.1 : Linux
From: Zope Tests
Date: Thu May  7 20:59:27 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011658.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 )


Re: [Zope-dev] Publishing our company internal Zope extensions and fixes

2009-05-08 Thread Sidnei da Silva
On Fri, May 8, 2009 at 6:39 AM, Andreas Jung li...@zopyx.com wrote:
 Hi there,

 we are currently combing through our company internal Zope (2.11) version
 and trying to identify the stuff that is of interest for the public and the
 Zope 2 core (including some ZODB extensions/changes). I will create a ticket
 on Launchpad (containing a detailed description + patch)
 for the interesting items (we have roughly 50 of them) over the next
 days. All items are prefixed with [DM].
 Everyone is invited to look at the stuff and
 comment on it. I also reserve the right merging some of the changes into
 the current
 trunk until the next Zope 2.12 beta2 release (intentionally breaking the
 rule
 that no new features should be added within the beta phase).

I've found the [DM] prefix to be very annoying. You could have used
tags instead.

Regardless of that, thanks for putting those improvements out there.
I've looked at the list and at least a couple of them are very
interesting to me.

-- 
Sidnei da Silva
Canonical Ltd.
 Landscape · Changing the way you manage your systems
http://landscape.canonical.com
___
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] Publishing our company internal Zope extensions and fixes

2009-05-08 Thread Andreas Jung
On 08.05.09 15:24, Sidnei da Silva wrote:
 You could have used
 tags instead.
   

I did not know that LP provides tagging support (in fact I hate tags :-))

Andreas
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
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] zc.buildout broken

2009-05-08 Thread Sebastien Douche
On Fri, Apr 24, 2009 at 16:28, Jim Fulton j...@zope.com wrote:
 Do you want a buildbot for zc.buildout? (py2.4, py2.5, py2.6 on linux
 3264, sorry)


 +1

Done:
http://misc.buildbot.securactive.org/waterfall
(sorry, 32 bit slave is down)



-- 
Sebastien Douche sdou...@gmail.com
___
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 )