Re: [Zope] Re: Zeo as a Zeo Client

2006-05-03 Thread Gerhard Schmidt
On Wed, May 03, 2006 at 08:56:28AM +0200, Andreas Jung wrote: > > > --On 3. Mai 2006 08:35:48 +0200 Gerhard Schmidt <[EMAIL PROTECTED]> wrote: > > > > > >It was lost in the 2.6 version of the Zope book i have scanned the Page > >with the Picture. See http://etustar.ze.tum.de/zopebook.jpg > > >

Re: [Zope] Re: Zeo as a Zeo Client

2006-05-03 Thread Andreas Jung
--On 3. Mai 2006 09:15:45 +0200 Gerhard Schmidt <[EMAIL PROTECTED]> wrote: Every major innovation was extremely uncommon bevor it was implemented. So thats not a reason not to do it. Is there a way to get this to work. I Think it whould be a very nice feature. Because it whould increase the

Re: [Zope] Re: Zeo as a Zeo Client

2006-05-03 Thread Gerhard Schmidt
On Wed, May 03, 2006 at 09:19:31AM +0200, Andreas Jung wrote: > > > --On 3. Mai 2006 09:15:45 +0200 Gerhard Schmidt <[EMAIL PROTECTED]> wrote: > > > >Every major innovation was extremely uncommon bevor it was implemented. > >So thats not a reason not to do it. Is there a way to get this to wor

Re: [Zope] Zeo as a Zeo Client

2006-05-03 Thread Chris Withers
Jens Vagelpohl wrote: On 2 May 2006, at 08:52, Gerhard Schmidt wrote: A configuration like that is described in the Zope Book on page 230. I'd like to see that. The proxying you describe is simply not possible, period. He's decribing the dead tree version of the Zope Book. Either Amos or M

Re: [Zope] Zope User in Apache Logs

2006-05-03 Thread Chris Withers
Dieter Maurer wrote: Andreas Pauley wrote at 2006-5-2 15:57 +0200: ... I would like to know how I can get Apache to log the current Zope user. Here's an example from my Apache access_log: 10.0.0.100 - - [02/May/2006:15:32:18 +0200] "GET / HTTP/1.1" 200 35721 Of course, you cannot, unless Apach

Re: [Zope] apache rewrite rules brake plone/zope

2006-05-03 Thread Chris Withers
David Bear wrote: any hints on a rule I've left out? View the page, look for the links to the css and the like, check they are generated with absolute_urls rather than just using fixed paths. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www

[Zope] DTML-In with date/time filter

2006-05-03 Thread Martin Koekenberg
 Hallo, I can create a dtml-in filte with the following code:   return [doc for doc in context.objectValues('DTML Document')  if doc.getProperty('a')!='de']    How can I do the same with a date or time ?   Regards,   Martin Koekenberg     -Original Message-From: Tino Wildenhai

Re: [Zope] DTML-In with date/time filter

2006-05-03 Thread Andreas Jung
--On 3. Mai 2006 12:17:36 +0200 Martin Koekenberg <[EMAIL PROTECTED]> wrote: Hallo, I can create a dtml-in filte with the following code: return [doc for doc in context.objectValues('DTML Document') if doc.getProperty('a')!='de'] Using "return" in DTML does not make sense. Writing such

[Zope] about Zope 2.8.6

2006-05-03 Thread [EMAIL PROTECTED]
Hello! I have a question about Zope. I'm using Zope 2.8.6-final, python 2.3.5 and Plone 2.1.2. I'm trying to show an event in the portal calendar (CMFCalendar 1.5.5). This event has a custom workflow. I've configured the states in /site/portal_calendar/ ,configure tab, but the calendar doesn't sh

Re: [Zope] DTML-In with date/time filter

2006-05-03 Thread Martin Koekenberg
Hello Andreas, I use this code in a Python script and call this script within a DTML-IN statement. What I need is a script to get only items with a date in the future, today or in the past.  The objects are DTML Documents with a date property field.   Regards   Martin Koekenberg    

Re: [Zope] DTML-In with date/time filter

2006-05-03 Thread Jonathan
You are going to have to loop thru the documents and use 'getProperty' to access the date property field on the document. Then you will need to compare the date value (the Zope Book V2.6 has a good description of dates/time usage) to see if it is in the range you need. You could use a python s

[Zope] Re: apache rewrite rules brake plone/zope

2006-05-03 Thread Sascha Welter
(Wed, May 03, 2006 at 09:21:47AM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse: > From: "David Bear" <[EMAIL PROTECTED]> > Subject: [Zope] apache rewrite rules brake plone/zope > I have the following rewrite rules for apache. The intent is all urls that > have http://myhost/z2 in them will be red

Re: [Zope] strange behaviour:can not access source-view.gif but a copy of it

2006-05-03 Thread robert rottermann
thanks for the answer. what I meant is that I only can access the trough its "normal" url (using apache) www.ersigen.ch/view-source.gif never terminates, whereas www.ersigen.ch/ersiweb/ersiweb/view-source.gif immediately returns correctly (/ersiweb/ersiweb is where apache redirects to). www.

Re: [Zope] strange behaviour:can not access source-view.gif but a copy of it

2006-05-03 Thread Cliff Ford
Your second example below never terminates for me, and neither does http://www.ersigen.ch/garbage/view-source.gif I have seen hanging with malformed apache rewrite rules involving http/https protocols. I would check the Apache rewrite rules. Cliff robert rottermann wrote: thanks for the ans

Re: [Zope] DTML-In with date/time filter

2006-05-03 Thread Dieter Maurer
Martin Koekenberg wrote at 2006-5-3 14:47 +0200: >I use this code in a Python script and call this script within a DTML-IN >statement. What I need is a script to get only items with a date in the >future, today or in the past. The objects are DTML Documents with a date >property field. Assumi

Re: [Zope] Zeo as a Zeo Client

2006-05-03 Thread Dieter Maurer
Gerhard Schmidt wrote at 2006-5-3 08:20 +0200: >On Tue, May 02, 2006 at 10:24:29PM +0200, Dieter Maurer wrote: >> Gerhard Schmidt wrote at 2006-5-2 09:52 +0200: >> > ... >> >I try to reduce the load of the line between the backup Computing Center >> >and the Mainsite by having a zeo server as Prox

Re: [Zope] strange behaviour:can not access source-view.gif but a copy of it

2006-05-03 Thread Dieter Maurer
robert rottermann wrote at 2006-5-3 16:10 +0200: >what I meant is that I only can access the trough its "normal" url >(using apache) > >www.ersigen.ch/view-source.gif > >never terminates What does the "wget -S http://www.ersigen.ch/view-source.gif"; gives you? -- Dieter

[Zope] HTTP PUT

2006-05-03 Thread David
Hi I need confirmation (mainly for some peace of mind, but also because reading google results, all sorts of questions from in my head). I have a user messing with a site using HTTP PUT to upload files. The user has access privileges to use a simple CMS (although for the time being now,

[Zope] Questions on ZODB BTrees versus bsddb BTrees

2006-05-03 Thread Terry Jones
I've just read the ZODB/ZEO Programming Guide (Release 3.6.0, A.M. Kuchling, January 5, 2006) and I'd like to ask a few questions. Are the following all correct? - The BTrees supported by ZODB have nothing to do with Berkeley DB Btrees (apart from the fact that they're both implementations of