[Zope-dev] Why does Zope move the Error Type and Value and replace with (seeabove)

2002-10-08 Thread Chris Withers
Mark Poole wrote: > (Object: standard_html_header) > KeyError: (see above) A frequent complaint is that people don't include the error type and value when reporting errors from Zope, they just include the traceback. Now, normal python tracebacks include both the error type and error value.

Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-08 Thread Chris Withers
R. David Murray wrote: > > How about "try...then...except"? I like that :-) But it would make the language larger :-( cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or H

Re: [Zope-dev] Why does Zope move the Error Type and Value andreplace with (see above)

2002-10-08 Thread Leonardo Rochael Almeida
On Tue, 2002-10-08 at 11:53, Chris Withers wrote: > Mark Poole wrote: > > (Object: standard_html_header) > > KeyError: (see above) > > A frequent complaint is that people don't include the error type and value when > reporting errors from Zope, they just include the traceback. > > Now, norm

[Zope-dev] How can I find out who visited a URL within my Zope Product?

2002-10-08 Thread Craeg K Strong
Hello: I would like to log the identity of the authenticated user for *every* URL traversal within my Zope Product. For example, let's say that my forms-based web application contains 50 screens. They are all protected such that only authenticated users can view them. Any one of them could be

Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-08 Thread Tim McLaughlin
Much easier and nicer is to use an "Access Rule" (look in the Add drop-down). Tim Craeg K Strong wrote: > Hello: > > I would like to log the identity of the authenticated > user for *every* URL traversal within my Zope Product. > > For example, let's say that my forms-based web application co

Re: [Zope-dev] How can I find out who visited a URL within my Zope Product?

2002-10-08 Thread Andy McKay
> Can anyone think of a way this could be done? Parse your weblogs at the end of each day? -- Andy McKay www.agmweb.ca - Original Message - From: "Craeg K Strong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 2:48 PM Subject: [Zope-dev] How can I find ou

Re: [Zope-dev] How can I find out who visited a URL within my Zope Product?

2002-10-08 Thread Andy McKay
An Access Rule doesnt let you find the authenticated user check this post a few weeks ago: http://lists.zope.org/pipermail/zope-dev/2002-September/017596.html -- Andy McKay www.agmweb.ca - Original Message - From: "Tim McLaughlin" <[EMAIL PROTECTED]> To: "Craeg K Strong" <[EMAIL PRO

Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-08 Thread Craeg K Strong
I figured out a way to do this, although it uses an unpublished method. In my __before_publishing_traverse__ I do the following: if not request.has_key('userId'): # # Get authentication information from the REQUEST, where it # is held in encrypted

[Zope-dev] [Fwd: [Zope-Coders] silly windows request]

2002-10-08 Thread Chris McDonough
I should have sent this request here in the first place... but I didn't. ;-) -Forwarded Message- From: Chris McDonough <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Zope-Coders] silly windows request Date: 08 Oct 2002 19:49:36 -0400 If anybody has Win98/ME (not NT, I have that) wi

Re: [Zope-dev] [Fwd: [Zope-Coders] silly windows request]

2002-10-08 Thread Chris McDonough
Never mind, Tim Peters tried it and it failed miserably. ;-p - C On Tue, 2002-10-08 at 20:01, Chris McDonough wrote: > I should have sent this request here in the first place... but I didn't. > ;-) > > -Forwarded Message- > > From: Chris McDonough <[EMAIL PROTECTED]> > To: [EMAIL PROTE

Re: [Zope-dev] How can I find out who visited a URL within my Zope Product?

2002-10-08 Thread Toby Dickenson
On Tuesday 08 Oct 2002 10:48 pm, Craeg K Strong wrote: > Hello: > > I would like to log the identity of the authenticated > user for *every* URL traversal within my Zope Product. > > For example, let's say that my forms-based web application contains 50 > screens. They are all protected such that

[Zope-dev] Multiple entries in the Index menu ... (Zope 2.6.1 b1)

2002-10-08 Thread Joachim Werner
Hello! I am getting multiple identical entries in the Add menu of the indexes page of my ZCatalogs with Zope 2.6.1 b1. Is it just me? Could be a minor bug with filtering the all_meta_types or filtered_meta_types ... Joachim ___ Zope-Dev maillist -

[Zope-dev] WISH LIST - idea of new, DTMLRelation object

2002-10-08 Thread Jaroslav Lukesh
Hi all, I have an idea of new Zope DTML object with specific things. Dear Zope developers, please take attention to following lines: Imagine folder structure as / /folder1 DTMLMethod DTMLDocument DTMLRelation image.gif /folder11