[Zope] Delivery failure notification
Mail Delivery System
postmaster@MAINCF2M.CF.AC.UK
Wed, 13 Jun 2001 22:38:32 GMT0BST
--Part_Boundary-20162F3
Content-type: Text/plain; charset=US-ASCII
Content-description: Mail delivery failure report
Content-disposition: Inline
With reference to your message with the subject:
"Zope digest, Vol 1 #1451 - 48 msgs"
The local mail transport system has reported the following problems
it encountered while trying to deliver your message:
-------------------------------------------------------------------
User mail.zope.co.uk not known at this site.
-------------------------------------------------------------------
Your mail message is being returned to you in the next part of this
message.
Should you need assistance, please mail postmaster@MAINCF2M.CF.AC.UK .
--Part_Boundary-20162F3
Content-type: Message/RFC822
Content-description: Contents of original mail message
Received: from MAINCF3M/SpoolDir by MAINCF3M.CF.AC.UK (Mercury 1.48)
for <Wmljan.STF.MEDIA.DACS.CM@MAINCF3M.CF.AC.UK>; 13 Jun 01 18:27:12 GMT0BST
Resent-from: Wmljan.STF.MEDIA.DACS.CM@MAINCF3M.CF.AC.UK
Resent-to: mail.zope.co.uk
Resent-Date: Wed, 13 Jun 2001 18:27:12 GMT0BST
X-Autoforward: 1
Return-path: <zope-admin@zope.org>
Received: from stork2.cf.ac.uk (131.251.0.30) by UWCMCM1M.UWCM.AC.UK (Mercury 1.48) with ESMTP;
9 Jun 01 09:00:13 GMT0BST
Received: from mail.python.org ([63.102.49.29])
by stork2.cf.ac.uk with esmtp (Exim 3.22 #1)
id 158dfA-0001RY-00
for nichollsja@cf.ac.uk; Sat, 09 Jun 2001 09:00:04 +0100
Received: from localhost.localdomain ([127.0.0.1] helo=mail.python.org)
by mail.python.org with esmtp (Exim 3.21 #1)
id 158deD-000394-00; Sat, 09 Jun 2001 03:59:05 -0400
From: zope-request@zope.org
Subject: Zope digest, Vol 1 #1451 - 48 msgs
Reply-to: zope@zope.org
X-Mailer: Mailman v2.0.5 (101270)
MIME-version: 1.0
Content-type: text/plain
To: zope@zope.org
Sender: zope-admin@zope.org
Errors-To: zope-admin@zope.org
X-BeenThere: zope@zope.org
X-Mailman-Version: 2.0.5 (101270)
Precedence: bulk
List-Help: <mailto:zope-request@zope.org?subject=help>
List-Post: <mailto:zope@zope.org>
List-Subscribe: <http://lists.zope.org/mailman/listinfo/zope>,
<mailto:zope-request@zope.org?subject=subscribe>
List-Id: Users of the Z Object Publishing Environment <zope.zope.org>
List-Unsubscribe: <http://lists.zope.org/mailman/listinfo/zope>,
<mailto:zope-request@zope.org?subject=unsubscribe>
List-Archive: <http://lists.zope.org/pipermail/zope/>
Message-Id: <E158deD-000394-00@mail.python.org>
Date: Sat, 09 Jun 2001 03:59:05 -0400
X-Error-Diagnostic: 01/06/09 9:00, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 9:02, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 9:33, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 10:03, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 10:33, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 11:03, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 11:33, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 12:06, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 12:35, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 13:04, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 13:36, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 14:05, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 14:35, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 15:05, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 15:36, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 16:07, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 16:37, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 17:07, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 17:37, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 18:07, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 18:37, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 19:08, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 19:37, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 20:07, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 20:38, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 21:07, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 21:38, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 22:09, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 22:38, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 23:08, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/09 23:39, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 0:09, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 0:40, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 1:09, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 1:40, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 2:11, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 2:46, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 3:18, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 3:40, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 4:11, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 4:45, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 5:11, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 5:44, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 6:12, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 6:42, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 7:13, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 7:42, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 8:13, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 8:42, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 9:13, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 9:42, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 10:13, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 10:44, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 11:13, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 11:43, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 12:15, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 12:44, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 13:15, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 13:45, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 14:14, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 14:45, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 15:16, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 15:46, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 16:16, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 16:45, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 17:17, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 17:46, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 18:17, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 18:46, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 19:17, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 19:47, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 20:19, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 20:48, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 21:19, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 21:48, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 22:18, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 22:48, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 23:20, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/10 23:49, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 0:20, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 0:49, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 1:19, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 1:50, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 2:20, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 2:51, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 3:22, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 3:52, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 4:22, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 4:51, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 5:22, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 5:52, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 6:22, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 6:53, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 7:23, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 7:52, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 8:28, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 12:17, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 14:35, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 17:42, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 20:15, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 21:55, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/11 23:25, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 0:57, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 2:30, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 4:02, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 7:17, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 10:38, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 13:20, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 17:46, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 20:51, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/12 22:58, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/13 1:17, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/13 3:36, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/13 5:58, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/13 8:19, Error getting mailbox information for Wmljan.STF.MEDI.
X-Error-Diagnostic: 01/06/13 10:48, Error getting mailbox information for Wmljan.STF.MEDI.
X-Retry: 117
X-Error-Diagnostic: 01/06/13 13:00, Error getting mailbox information for Wmljan.STF.MEDI.
Send Zope mailing list submissions to
zope@zope.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.zope.org/mailman/listinfo/zope
or, via email, send a message with subject or body 'help' to
zope-request@zope.org
You can reach the person managing the list at
zope-admin@zope.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Zope digest..."
Today's Topics:
1. Re: More ZSyncer stuff (Tim Cook)
2. Tuple unpacking in DTML (Daniel Fairs)
3. Re: I have tried everything!!! Isn't it possible to
host several domains in 1 Zope and have apache running ???? (Sherwood Robinson)
4. Re: processing checkbox parameters - browser differences (Tim Cook)
5. Re: I have tried everything!!! Isn't it possible to
host several domains in 1 Zope and have apache running ???? (Sherwood Robinson)
6. RE: transaction control from Zope to Postgresql? (Farrell, Troy)
7. RE: hash and username variables (Konstantinos Margaritis)
8. Re: ZEO and Zope 2.4.0a1 help (Chris McDonough)
9. PAM + ZOPE (Damir Bartakovic)
10. Re: More ZSyncer stuff (Andy McKay)
11. Re: More ZSyncer stuff (Andy McKay)
12. Re: Re: [Proiektor] Setup Dependencies (Stephan Richter)
13. Re: Re: [Proiektor] Setup Dependencies (Sherwood Robinson)
14. Re: I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ???? (Joachim Werner)
15. Re: PAM + ZOPE (Joachim Werner)
16. Re: transaction control from Zope to Postgresql? (Reinoud van Leeuwen)
17. Re: I have tried everything!!! Isn't it possible to
host several domains in 1 Zope and have apache running ???? (Gitte Wange)
18. Re: I have tried everything!!! Isn't it possible to
host several domains in 1 Zope and have apache running ???? (Sherwood Robinson)
19. ZSql Method with like. (After Dark)
20. Re: processing checkbox parameters - browser differences (Thomas B. Passin)
21. Re: I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ???? (Thomas B. Passin)
22. RE: Help with LoginManager (Farrell, Troy)
23. Re: ZSql Method with like. (Thomas B. Passin)
24. Getting calling folder data into a ZClass addForm (complaw@hal-pc.org)
25. Re: I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ???? (Evan Simpson)
26. Browsers Differences Again (Tim Cook)
27. Re: I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ???? (Mike Renfro)
28. Re: ZClass with binary fields (Dieter Maurer)
29. Re: FSSession trouble (Dieter Maurer)
30. Re: Using REQUEST only in a limited fashion (Dieter Maurer)
31. Re: processing checkbox parameters - browser differences (Dieter Maurer)
32. Re: Return success or fail from ZSQL method (Dieter Maurer)
33. RE: Browsers Differences Again (Jeff Peterson)
34. RE: Browsers Differences Again (kosh@aesaeion.com)
35. Re: Browsers Differences Again (Tim Cook)
36. Re: Browsers Differences Again (Thomas B. Passin)
37. Getting info about a newly created object (Philippe Jadin)
38. Re: any way to set default DTML document content? (Ron O'Hara)
39. Re: Browsers Differences Again (Tim Cook)
40. Re: [Zope]How to display uploaded file sizes in Zwiki? (Simon Michael)
41. Re: How to link inline graphics on a Zwiki page? (Simon Michael)
42. VirtualHostMonster (Ricardo Newbery)
43. Will WikiForNow be released as a product? (Brad Clements)
44. Re: Getting info about a newly created object (Oleg Broytmann)
--__--__--
Message: 1
Date: Fri, 08 Jun 2001 11:01:08 -0500
From: Tim Cook <twcook@iswt.com>
Reply-To: tim@freepm.org
Organization: Free Practice Management, Inc.
To: Andy <andy@agmweb.ca>
CC: Paul Zwarts <paz@oratrix.com>, Zope <zope@zope.org>
Subject: Re: [Zope] More ZSyncer stuff
Andy wrote:
> No thats fine, glad its being used.
I have 'big' plans for it also. <s>
The problem right now is time of course. Thankfully Paul is
helping get the kinks out. :-)
> > 4) Sometimes in root, a folder will be green, but you know there are
> > contents that are not. Go into that folder and you have some items that
> are
> > yellow.
>
> Yes folders again. If you change an object in folder, the object becomes out
> of date. However since you have not changed the folder, it is still green.
> Now if you rename, add, delete, copy, cut into / out of that folder (ie
> change the number of objects) the folder has changed. Hence the folder is
> now out of date.
Could you not mark an objects container out of date when the
object is out of date?
Thousands of object would probably create a lot of wasted
overhead so you could set a falg if the container was already
marked?
> The problem is we are comparing date / times on objects and sometimes they
> just appear to be plain wrong. Especially if you are syncing to a box in a
> different time zone! What is needed is something me and Gregor are talking
> about, a version number on each object, similar to CVS. By comparing the
> number of a version, we eliminate this problem.
>
This sounds like a much better solution. Can you do this with
DTML Methods, Python Scripts ...?
--
Tim Cook, President - FreePM,Inc.
http://www.FreePM.com Office: (731) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM
--__--__--
Message: 2
From: "Daniel Fairs" <daniel.fairs@spiderplant.net>
To: <zope@zope.org>
Date: Fri, 8 Jun 2001 17:00:37 +0100
Subject: [Zope] Tuple unpacking in DTML
Hi,
How do you unpack a tuple in DTML?
I have a python method getEntries that returns a list of tuples. Each tuple
is of the form: (doc_text, doc_title, doc_date)
The list is generated with:
for thisDoc in documents:
docText = thisDoc.document_src()
newText = string.replace(docText, '\n', '<br />')
docSequence.append((newText, thisDoc.bobobase_modification_time()))
I want to display this data using the following code:
<dtml-in getEntries reverse>
<dtml-let expr="sEntry,sTitle,oTime=_.getitem('sequence-item')">
<tr>
<td><dtml-var oTime fmt=aCommon></td>
<td><dtml-var title></td>
<tr>
<td valign="top" colspan="2"><dtml-var sEntry></td>
</tr>
</dtml-let>
</dtml-in>
However, Zope barfs whenever I try to save this, giving:
Expression (Python) Syntax error:
invalid syntax
, for tag <dtml-let expr="sEntry,sTitle,oTime=_.getitem('sequence-item')">,
on line 10 of contentPanel
What am I doing wrong? Why can't I use the tuple unpacking syntax in DTML?
Or am I going about this completely the wrong way? ;)
I would just do a normal <dtml-var document> etc. to publish the date, but I
want to replace all the newlines with <br /> tags.
Many thanks,
Dan
_________________________________________________________________
Daniel Fairs | daniel.fairs@spiderplant.net | www.spiderplant.net
--__--__--
Message: 3
Date: Fri, 08 Jun 2001 12:03:58 -0400
To: "Jeff Sasmor" <jeff@janix.com>,"Gitte Wange" <gitte@mmmanager.org>,
<zope@zope.org>
From: Sherwood Robinson <srobinson@fredericksburg.com>
Subject: Re: [Zope] I have tried everything!!! Isn't it possible to
host several domains in 1 Zope and have apache running ????
Jeff beet me to a reply and I noticed he is using the Rewrite Module so I
will modify his settings to work with ProxyPass to save time.
Thanks Jeff
At 11:50 AM 6/8/2001 -0400, Jeff Sasmor wrote:
>ject Publishing Environment <zope.zope.org>
>List-Unsubscribe: <http://lists.zope.org/mailman/listinfo/zope>,
> <mailto:zope-request@zope.org?subject=unsubscribe>
>List-Archive: <http://lists.zope.org/pipermail/zope/>
>Date: Fri, 8 Jun 2001 11:50:46 -0400
>
>I install a virtual host monster in the Zope root folder and add the
>following to
>my httpd.conf:
Yup got to have that VHM in root
>-----------------------
>NameVirtualHost 64.19.147.24:80
>
><VirtualHost www.becept.com>
>ServerName www.becept.com
>ServerAdmin jeff@janix.com
>RewriteEngine On
>RewriteLog "/var/log/apache/rewrite_log"
>RewriteLogLevel 1
>RewriteRule ^/(.*)
>http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/Virtu
>alHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>UseCanonicalName off
></VirtualHost>
>
<VirtualHost www.becept.com>
ServerName www.becept.com
ServerAdmin jeff@janix.com
ProxyPass /
http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/VirtualHostRoot/
ProxyPassReverse /
http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/VirtualHostRoot/
ProxyPass /misc_ http://64.19.147.24:8080/misc_
ProxyPass /p_ http://64.19.147.24:8080/p_
Repeat this replacing with the proper domain information.
GL
SR
><VirtualHost www.yellowbrain.com>
>ServerName www.yellowbrain.com
>ServerAdmin jeff@janix.com
>RewriteEngine On
>RewriteLog "/var/log/apache/rewrite_log"
>RewriteLogLevel 1
>RewriteRule ^/(.*)
>http://64.19.147.24:8080/VirtualHostBase/http/www.yellowbrain.com:80/yb/Virt
>ualHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>UseCanonicalName off
></VirtualHost>
>
>
><VirtualHost www.othink.com>
>ServerName www.othink.com
>ServerAdmin jeff@janix.com
>RewriteEngine On
>RewriteLog "/var/log/apache/rewrite_log"
>RewriteLogLevel 1
>RewriteRule ^/(.*)
>http://64.19.147.24:8080/VirtualHostBase/http/www.othink.com:80/othink/Virtu
>alHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>UseCanonicalName off
></VirtualHost>
>
>
>Listen 64.19.147.24:80
>
>
>----------------------
>some notes:
> z2.py should be set with the correct IP address, not 64.19.147.24
> Your system must be responding to that IP, I use Webmin (www.webmin.com)
>to set up all that.
> the dir used for the rewrite_log should be writable by apache - that user
>may be 'nobody' I believe
> the rewrite rule might be folded onto 2 lines - it should include
>[e=HTTP_CGI_AUTHORIZATION:%1,P]
> the stuff in [] might need to be changed depending on what you need to do
> I figured this out with a lot of digging and etc. I am by no means an
>Apache expert so I can't provide more help than this.
>
>good luck!
>
>jeff sasmor
>-------------------------------------------------------------------------
>
>
>
>----- Original Message -----
>From: "Gitte Wange" <gitte@mmmanager.org>
>To: <zope@zope.org>
>Sent: Friday, June 08, 2001 11:07 AM
>Subject: [Zope] I have tried everything!!! Isn't it possible to host several
>domains in 1 Zope and have apache running ????
>
>
> > Hello,
> >
> > Maybe I am stupid but really ..
> > Every site I have visited that runs Zope doesn't have the ugly :8080
>present
> > in the URL.
> > Have do you do it ????
> >
> > And how do I host several domains in one Zope ???
> >
> > I have read - and tried - almost every howto on Zope.org but they are very
> > confusing. On thing I have descovered is that SiteRoot is a "mean"
>product -
> > or I j
>ust don't know how to use it.
> >
> > Please .. help ...
> >
> > Gitte
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
----------------------------------------------------
Sherwood Robinson
Hostmaster
The Free Lance-Star/Internet Department
srobinson@fredericksburg.com
http://www.fredericksburg.com
616 Amelia St.
Fredericksburg, VA 22401
540-374-5000 ext. 5657
--__--__--
Message: 4
Date: Fri, 08 Jun 2001 11:12:51 -0500
From: Tim Cook <twcook@iswt.com>
Reply-To: tim@freepm.org
Organization: Free Practice Management, Inc.
To: Sandy Britain <a.britain@bangor.ac.uk>
CC: zope@zope.org
Subject: Re: [Zope] processing checkbox parameters - browser differences
Sandy Britain wrote:
> ------------------------------------------
> Here is the code that instantiates the checkbox:
>
> <TD> <input type=checkbox name=<dtml-var id> value=1></TD>
>
> Anyone know how to deal with this?
>
Not sure if this will fix the problem in IE but I enclosed the
values in quotes and it works:
<TD> <input type="checkbox" name="<dtml-var id>" value="1"></TD>
HTH,
--
Tim Cook, President - FreePM,Inc.
http://www.FreePM.com Office: (731) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM
--__--__--
Message: 5
Date: Fri, 08 Jun 2001 12:15:14 -0400
To: "Jeff Sasmor" <jeff@janix.com>,"Gitte Wange" <gitte@mmmanager.org>,
<zope@zope.org>
From: Sherwood Robinson <srobinson@fredericksburg.com>
Subject: Re: [Zope] I have tried everything!!! Isn't it possible to
host several domains in 1 Zope and have apache running ????
Dont forget to close your virtualhost.... I did in my example below for
the proxypass settings... at the end of each host place
</VirtualHost>
I corrected it below
SR
At 12:03 PM 6/8/2001 -0400, Sherwood Robinson wrote:
>stinfo/zope>,
> <mailto:zope-request@zope.org?subject=subscribe>
>List-Id: Users of the Z Object Publishing Environment <zope.zope.org>
>List-Unsubscribe: <http://lists.zope.org/mailman/listinfo/zope>,
> <mailto:zope-request@zope.org?subject=unsubscribe>
>List-Archive: <http://lists.zope.org/pipermail/zope/>
>Date: Fri, 08 Jun 2001 12:03:58 -0400
>
>Jeff beet me to a reply and I noticed he is using the Rewrite Module so I
>will modify his settings to work with ProxyPass to save time.
>
>Thanks Jeff
>
>At 11:50 AM 6/8/2001 -0400, Jeff Sasmor wrote:
>>ject Publishing Environment <zope.zope.org>
>>List-Unsubscribe: <http://lists.zope.org/mailman/listinfo/zope>,
>> <mailto:zope-request@zope.org?subject=unsubscribe>
>>List-Archive: <http://lists.zope.org/pipermail/zope/>
>>Date: Fri, 8 Jun 2001 11:50:46 -0400
>>
>>I install a virtual host monster in the Zope root folder and add the
>
>>following to
>>my httpd.conf:
>
>Yup got to have that VHM in root
>
>
>>-----------------------
>>NameVirtualHost 64.19.147.24:80
>>
>><VirtualHost www.becept.com>
>>ServerName www.becept.com
>>ServerAdmin jeff@janix.com
>>RewriteEngine On
>>RewriteLog "/var/log/apache/rewrite_log"
>>RewriteLogLevel 1
>>RewriteRule ^/(.*)
>>http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/Virtu
>>alHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>>UseCanonicalName off
>></VirtualHost>
>
><VirtualHost www.becept.com>
>ServerName www.becept.com
>ServerAdmin jeff@janix.com
>
>ProxyPass /
>http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/VirtualHostRoot/
>ProxyPassReverse /
>http://64.19.147.24:8080/VirtualHostBase/http/www.becept.com:80/becept/VirtualHostRoot/
>ProxyPass /misc_ http://64.19.147.24:8080/misc_
>ProxyPass /p_ http://64.19.147.24:8080/p_
</VirtualHost>
>Repeat this replacing with the proper domain information.
>
>GL
>
>SR
>
>
>
>><VirtualHost www.yellowbrain.com>
>
>>ServerName www.yellowbrain.com
>>ServerAdmin jeff@janix.com
>>RewriteEngine On
>>RewriteLog "/var/log/apache/rewrite_log"
>>RewriteLogLevel 1
>>RewriteRule ^/(.*)
>>http://64.19.147.24:8080/VirtualHostBase/http/www.yellowbrain.com:80/yb/Virt
>>ualHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>>UseCanonicalName off
>></VirtualHost>
>>
>>
>><VirtualHost www.othink.com>
>>ServerName www.othink.com
>>ServerAdmin jeff@janix.com
>>RewriteEngine On
>>RewriteLog "/var/log/apache/rewrite_log"
>>RewriteLogLevel 1
>>RewriteRule ^/(.*)
>>http://64.19.147.24:8080/VirtualHostBase/http/www.othink.com:80/othink/Virtu
>>alHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]
>>UseCanonicalName off
>></VirtualHost>
>>
>>
>>Listen 64.19.147.24:80
>>
>>
>>----------------------
>>some notes:
>> z2.py should be set with the correct IP address, not 64.19.147.24
>> Your system must be responding to that IP, I use Webmin (www.webmin.com)
>>to set up all that.
>> the dir used for
>the rewrite_log should be writable by apache - that user
>>may be 'nobody' I believe
>> the rewrite rule might be folded onto 2 lines - it should include
>>[e=HTTP_CGI_AUTHORIZATION:%1,P]
>> the stuff in [] might need to be changed depending on what you need to do
>> I figured this out with a lot of digging and etc. I am by no means an
>
>>Apache expert so I can't provide more help than this.
>>
>>good luck!
>>
>>jeff sasmor
>>-------------------------------------------------------------------------
>>
>>
>>
>>----- Original Message -----
>>From: "Gitte Wange" <gitte@mmmanager.org>
>>To: <zope@zope.org>
>>Sent: Friday, June 08, 2001 11:07 AM
>>Subject: [Zope] I have tried everything!!! Isn't it possible to host several
>>domains in 1 Zope and have apache running ????
>>
>>
>> > Hello,
>> >
>> > Maybe I am stupid but really ..
>> > Every site I have visited that runs Zope doesn't have the ugly :8080
>>present
>> > in the URL.
>> > Have do you do it ????
>> >
>> > And how do I host several domains in one Zope ???
>> >
>> > I have read - and tried - almost every howto on Zope.org but they are very
>> > confusing. On thing I have descovered is that SiteRoot is a "mean"
>>product -
>> > or I j
>>ust don't know how to use it.
>> >
>> > Please .. help ...
>> >
>> > Gitte
>> >
>> > _______________________________________________
>> > Zope maillist - Zope@zope.org
>> > http://lists.zope.org/mailman/listinfo/zope
>> > ** N
>o cross posts or HTML encoding! **
>> > (Related lists -
>> > http://lists.zope.org/mailman/listinfo/zope-announce
>> > http://lists.zope.org/mailman/listinfo/zope-dev )
>> >
>>
>>
>>_______________________________________________
>>Zope maillist - Zope@zope.org
>>http://lists.zope.org/mailman/listinfo/zope
>>** No cross posts or HTML encoding! **
>>(Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>----------------------------------------------------
>Sherwood Robinson
>Hostmaster
>The Free Lance-Star/Internet Department
>srobinson@fredericksburg.com
>http://www.fredericksburg.com
>
>616 Amelia St.
>Fredericksburg, VA 22401
>540-374-5000 ext. 5657
>
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
>http://lists.zope.org/mailman/listinfo/zope-dev )
----------------------------------------------------
Sherwood Robinson
Hostmaster
The Free Lance-Star/Internet Department
srobinson@fredericksburg.com
http://www.fredericksburg.com
616 Amelia St.
Fredericksburg, VA 22401
540-374-5000 ext. 5657
--__--__--
Message: 6
From: "Farrell, Troy" <troy.farrell@wcg.com>
To: 'Reinoud van Leeuwen' <reinoud@xs4all.nl>, zope@zope.org
Subject: RE: [Zope] transaction control from Zope to Postgresql?
Date: Fri, 8 Jun 2001 11:32:31 -0500
What DA are you using? I use PoPy and ZPoPyDA. It appears (I haven't
verified it) that it rolls back all the ZSQLMethods executed between
pageviews.
Troy
-----Original Message-----
From: Reinoud van Leeuwen [mailto:reinoud@xs4all.nl]
Sent: Friday, June 08, 2001 6:40 AM
To: zope@zope.org
Subject: [Zope] transaction control from Zope to Postgresql?
Hello world,
I am in need for a way to explicitely contral transaction behaviour for a
group of inserts in a postgresql database. The DTML script I use first
inserts a header record and after that some detail records. The postgresql
function that does the inserts might return an errorstring. So I tried the
following code (simplified for readability)
<dtml-try>
<dtml-call "sql_to_insert_head_record (some_parameters)">
<dtml-in "a_loop_over_detail_lines">
<dtml-if "check_detail_line">
<dtml-raise required_attribute_missing> errormessage </dtml-raise>
</dtml-if>
<dtml-call "sql_to_insert_detail_line">
<dtml-if "check_returncode">
<dtml-raise inserterror> error inserting! </dtml-raise>
</dtml-if>
</dtml-in>
<dtml-except>
insert failed (error: <dtml-var error_value>)
<dtml-else>
object added to database
</dtml-try>
What I would like to do is that all the SQL executed between dtml-try and
dtml-except is rolled back when the exception is raised. I tried
sending "begin" and "rollback" to the database, but that does not work
because Zope sends some transaction control by itself.
I tried getting get_transaction().begin() and get_transaction().abort() to
work, but I cannot reach that function from dtml not python script.
Anyone has some clues to spare?
Have a nice weekend,
Reinoud
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 7
Date: Fri, 8 Jun 2001 19:24:58 +0300 (EEST)
From: Konstantinos Margaritis <markos@debian.org>
To: zope@zope.org
Subject: RE: [Zope] hash and username variables
Hi,
After a lot of experiments I finally found out how to do this.
I am describing the process here in case someone is interested.
It really is very simple, but for some reason I could not use the builtin
hash() function/methond of zope.
Thanks for all the help.
a) First create a Python script method (I named it make_key) with 1
argument the object which to hash (I called it text):
# make_key(text)
# return the positive hash of the input argument
return abs(hash(text))
Then in any methond you want to call the hash method, include the
following:
<dtml-var "make_key(insert_text_argument_here)">
That's it. It really saved me trying to create a database with unique
objects (such as big texts) that I could not really use the indexing on
them. I know I could use the ZCatalog class, but that will be in a next
version :-) I still am in the process of learning zope. May I say that it
is the greatest application server I ever saw? Congratulations!
Regards
Konstantinos Margaritis
--__--__--
Message: 8
Date: Fri, 08 Jun 2001 12:30:58 -0400
From: Chris McDonough <chrism@digicool.com>
To: Norman Khine <norman@khine.net>
CC: Zope Mailing List <zope@zope.org>
Subject: Re: [Zope] ZEO and Zope 2.4.0a1 help
Was the ZEO server started and listening on zeo.soc?
I'm not sure about the MySQLDA issue. I am able to add a Gadfly
connection in the latest trunk... so I'm not sure about that either.
Norman Khine wrote:
>
> Sorry,
>
> I'll will keep to the list.
>
> One other thing, with 2-4-0a1, is there a problem with the database
> adapters? I added MySQLDA and it shows under the Products directory, is not
> broken. And also with ZGadfly -- I can see the Product but I am not able to
> add it from the drop-down menu?!
>
> Also I did as you suggested, and after I stated zope with ./start & I got
>
> 2001-06-08T15:43:55 INFO(0) client Trying to connect to server:
> '/usr/home/dsuk5/zope/2-4-0a1/var/zeo.soc'
> ------
> 2001-06-08T15:44:00 INFO(0) client Trying to connect to server:
> '/usr/home/dsuk5/zope/2-4-0a1/var/zeo.soc'
> ------
> 2001-06-08T15:44:10 INFO(0) client Trying to connect to server:
> '/usr/home/dsuk5/zope/2-4-0a1/var/zeo.soc'
> ------
> 2001-06-08T15:44:30 INFO(0) client Trying to connect to server:
> '/usr/home/dsuk5/zope/2-4-0a1/var/zeo.soc'
> ------
> 2001-06-08T15:45:10 INFO(0) client Trying to connect to server:
> '/usr/home/dsuk5/zope/2-4-0a1/var/zeo.soc'
> ------
> 2001-06-08T15:46:30 INFO(0) client Trying to connect to server:
> '/usr/home/dsuk5/zope/2-4-0a1/var/zeo.soc'
>
> and keeps on trying....
>
> -----Original Message-----
> From: Chris McDonough [mailto:chrism@digicool.com]
> Sent: Friday, June 08, 2001 4:12 PM
> To: Norman Khine; zope@zope.org
> Subject: Re: [Zope] ZEO and Zope 2.4.0a1 help
>
> Please try to keep this stuff on the list.. thanks.
>
> I think having the if..else in custom_zodb.py is a recipe for total
> confusion. Remove the FileStorage stuff so that the custom_zodb.py file
> just reads:
>
> import ZEO.ClientStorage
> Storage=ZEO.ClientStorage.ClientStorage(
> os.path.join(INSTANCE_HOME, 'var', 'zeo.soc'),
> name="ZEO Storage",
> storage="1",
> )
>
> That's it. Then start the ZEO server with the -U switch that points to
> the zeo.soc file as you did before, then start Zope via "start".
>
> - C
>
> Norman Khine wrote:
> >
> > Hello Chris,
> > This is what I have in my custom_zodb.py file
> >
> > import ZEO.ClientStorage
> > Storage=ZEO.ClientStorage.ClientStorage(
> > os.path.join(INSTANCE_HOME, 'var', 'zeo.soc'),
> > # If no name is given, then connection info will be shown:
> > name="ZEO Storage",
> > # You can specify the storage name, which defaults to "1":
> > storage="1",
> > )
> >
> > else:
> >
> > # Default FileStorage
> > import ZODB.FileStorage
> > Storage=ZODB.FileStorage.FileStorage(
> > os.path.join(INSTANCE_HOME, 'var', 'Data.fs'),
> > )
> >
> > I don't have an external storage database, I just want to try to
> understand
> > how it works before I try it out with external storage.
> >
> > Also I am using it all on the same machine -- both client and server.
> >
> > So, what will be the procedure of starting the ZEO client and Zope.
> >
> > Ta
> >
> > Norman
> >
> > -----Original Message-----
> > From: Chris McDonough [mailto:chrism@digicool.com]
> > Sent: Friday, June 08, 2001 3:39 PM
> > To: Norman Khine
> > Cc: Zope Mailing List
> > Subject: Re: [Zope] ZEO and Zope 2.4.0a1 help
> >
> > It appears that the Zope Book docs are wrong. The -E option to z2.py
> > doesn't exist. I think the -E option might serve as some sort of
> > stand-in for custom_zodb.py in some alternate reality, but not in this
> > one. This is broken documentation (I've submitted it to the docs guys).
> >
> > The answer is to not try to use the -E switch. Instead, modify the
> > Storage= line in custom_zodb.py file to be (untested):
> >
> > Storage=ZEO.ClientStorage.ClientStorage('/path/to/var/zeo.soc')
> >
> > - C
> >
> > Norman Khine wrote:
> > >
> > > Hello I am trying to run Zope and ZEO on the same server, but I am
> unsure
> > if
> > > it is working correctly.
> > >
> > > I have followed the http://www.zope.org/Members/michel/ZB/ZEO.html setup
> > > instructions
> > >
> > > but get an error when I type:
> > >
> > > $ python z2.py -D -E var/zeo.soc
> > >
> > > Error:
> > > getopt.GetoptError: option -E not recognized
> > >
> > > but if I type
> > >
> > > $ python z2.py -D -F var/zeo.soc
> > >
> > > then I get this as my output
> > >
> > > 2001-06-08T13:45:26 INFO(0) ZServer HTTP server started at Fri Jun 8
> > > 14:45:26 2001
> > > Hostname: localhost
> > > Port: 8080
> > > ------
> > > 2001-06-08T13:45:26 INFO(0) ZServer FTP server started at Fri Jun 8
> > > 14:45:26 2001
> > > Hostname: localhost
> > > Port: 8021
> > > ------
> > > 2001-06-08T13:45:26 INFO(0) ZServer FastCGI Server (V1.0) started at Fri
> > Jun
> > > 8 14:45:26 2001
> > > IP :
> > > Port : None
> > > Socket path : var/zeo.soc
> > >
> > > my confusion is that on the
> http://www.zope.org/Members/michel/ZB/ZEO.html
> > > the output should be
> > >
> > > ------
> > > 2000-10-04T20:43:11 INFO(0) client Trying to connect to server
> > > ------
> > > 2000-10-04T20:43:11 INFO(0) ClientStorage Connected to storage
> > > ------
> > > 2000-10-04T20:43:12 PROBLEM(100) ZServer Computing default pinky
> > > ------
> > > 2000-10-04T20:43:12 INFO(0) ZServer Medusa (V1.19) started at Wed
> > Oct
> > > 4 15:43:12 2000
> > > Hostname: pinky.zopezoo.org
> > > Port:8080
> > >
> > > ------
> > > 2000-10-04T20:43:12 INFO(0) ZServer FTP server started at Wed Oct
> 4
> > > 15:43:12 2000
> > > Authorizer:None
> > > Hostname: pinky
> > > Port: 8021
> > > ------
> > > 2000-10-04T20:43:12 INFO(0) ZServer Monitor Server (V1.9) started
> on
> > > port 8099
> > >
> > > Am I missing something, and how do I check if ZEO is working from the
> > > localhost.
> > >
> > > Also when I access the management folder I don't seem to have ZGadfly
> > > database from the Add products drop-down selection, althogh in the
> > Products
> > > folder is showing as an installed product.
> > >
> > > Thanks
> > >
> > > Norman
> > >
> > > =========================================
> > > "Eternity is Time
> > > Time, eternity
> > > To see the two as opposite
> > > Is Man's Perversity"
> > >
> > > The Book of Angelus Silesius
> > >
> > > _______________________________________________
> > > Zope maillist - Zope@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope
> > > ** No cross posts or HTML encoding! **
> > > (Related lists -
> > > http://lists.zope.org/mailman/listinfo/zope-announce
> > > http://lists.zope.org/mailman/listinfo/zope-dev )
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 9
From: "Damir Bartakovic" <db@konsylo.com>
To: <zope@zope.org>
Date: Fri, 8 Jun 2001 18:33:57 +0200
Subject: [Zope] PAM + ZOPE
Salve,
I just trying to figure out if PAM (Pluggable Authentication Modules) + Zope
is working. I am especially interested in the combination with LDAP.
Anybody tried this already?
The only thing I could find is quite old:
http://lists.zope.org/pipermail/zope-dev/1999-October/001831.html
cheers
Damir
--__--__--
Message: 10
From: "Andy McKay" <andym@ActiveState.com>
To: "Paul Zwarts" <paz@oratrix.com>
Cc: "Zope" <zope@zope.org>
Subject: Re: [Zope] More ZSyncer stuff
Date: Fri, 8 Jun 2001 09:46:36 -0700
> Agreable, but regarding one point that if things are a bit funny, dont use
> it. It's either useable or not in this context, so is there anything you
can
> add as far as the risks involved?
Thats open source for ya. Remember I just released ZSyncer for the heck of
it from an internal project where it works just fine...
> Let me state a scenario:
>
> A subfolder you have entered in ZSync has almost ALL items as out of date
> but you know only one or two are ACTUALLY out of date. What could happen
if
> you sync the in-date, out of date items? From the way I see it, it only
> refreshes the copy of the object to be (theoretically) the same as it was
> before the update... (follow me?)
The same as it always does. It will replace the copy on the destination
server with the one on your source server.
> Is it possible that this misnomered sync could cause garbage to go in, or
> clear the contents of the object or....
Nope, it will replace the copy on the destination server with the one on
your source server.
> From what you say that only the datetime is compared, than if the site
you
> are working on is fully functional, then a misnomered sync in fact doesnt
do
> anything, except for update the datetime to what it understands as
'proper'
It will replace the copy on the destination... etc. A by product of this
sync is to reset the date.
> Have I confused you sufficiently? ; )
Im sufficiently confused everyday anyway...
--
Andy McKay.
--__--__--
Message: 11
From: "Andy McKay" <andym@ActiveState.com>
To: <tim@freepm.org>
Cc: "Paul Zwarts" <paz@oratrix.com>, "Zope" <zope@zope.org>
Subject: Re: [Zope] More ZSyncer stuff
Date: Fri, 8 Jun 2001 09:52:49 -0700
> I have 'big' plans for it also. <s>
> The problem right now is time of course. Thankfully Paul is
> helping get the kinks out. :-)
Great, me and Gregor Heine are slowly getting around to getting a
Sourceforge project up and running for this...
http://sourceforge.net/projects/zsyncer not much there yet.
> Could you not mark an objects container out of date when the
> object is out of date?
> Thousands of object would probably create a lot of wasted
> overhead so you could set a falg if the container was already
> marked?
Hmm... you couldnt really set a flag since that means changing the
containers behavour.
But the you could figure it out programmatically from looking at the
containing objects. But the destination server would have to report more
information back to the source to calculate this (since my destination
servers are production servers I like to keep this to a minimum) and
secondly how about sub-sub-folders, if there is something 5 levels down that
has changed, how many containerish objects up should it go saying its
changed. If im not careful I will be doing a very expensive comparison of
the whole ZODB.... hmmmm.
> This sounds like a much better solution. Can you do this with
> DTML Methods, Python Scripts ...?
It is, theres the thing... a patch to SimpleItem, ObjectManager and half of
Zope and we are away.
Cheers.
--
Andy McKay.
--__--__--
Message: 12
Date: Fri, 08 Jun 2001 12:11:50 -0500
To: Sherwood Robinson <srobinson@fredericksburg.com>,
Stephan Richter <srichter@cbu.edu>, proiektor@imail.iuveno-net.de
From: Stephan Richter <srichter@iuveno-net.de>
Subject: Re: [Zope] Re: [Proiektor] Setup Dependencies
Cc: zope@zope.org
>The only _pg anything I can find on my harddrive is the _pgmodule.dll that
>I created when I compiled the PyGreSQLDA.
Ok, this file contains _pg. Now, I think it is not in the correct Python
directory. No clue, where it must go though.
Regards,
Stephan
Stephan Richter
iuveno AG - Technical Design and Implementation
Technical Design and Development
--__--__--
Message: 13
Date: Fri, 08 Jun 2001 13:23:34 -0400
To: Stephan Richter <srichter@iuveno-net.de>,
Stephan Richter <srichter@cbu.edu>,proiektor@imail.iuveno-net.de
From: Sherwood Robinson <srobinson@fredericksburg.com>
Subject: Re: [Zope] Re: [Proiektor] Setup Dependencies
Cc: zope@zope.org
You lost me with this one? Did you attach a file and it didn't show
up? or modify a zip?
At 12:11 PM 6/8/2001 -0500, Stephan Richter wrote:
>>The only _pg anything I can find on my harddrive is the _pgmodule.dll
>>that I created when I compiled the PyGreSQLDA.
>
>Ok, this file contains _pg. Now, I think it is not in the correct Python
>directory. No clue, where it must go though.
>
>Regards,
>Stephan
>
>Stephan Richter
>iuveno AG - Technical Design and Implementation
>Technical Design and Development
----------------------------------------------------
Sherwood Robinson
Hostmaster
The Free Lance-Star/Internet Department
srobinson@fredericksburg.com
http://www.fredericksburg.com
616 Amelia St.
Fredericksburg, VA 22401
540-374-5000 ext. 5657
--__--__--
Message: 14
From: "Joachim Werner" <joe@iuveno-net.de>
To: "Gitte Wange" <gitte@mmmanager.org>, <zope@zope.org>
Subject: Re: [Zope] I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ????
Date: Fri, 8 Jun 2001 19:26:19 +0200
Organization: iuveno AG
> And this is exactly what I have tried to do.
> Writing the ProxyPass rules i easy.
>
> It's the part of the SiteRoot I don't understand (and that's the place I
fail
> everytime *S*)
It's really easy. Even easier than the other posts suggest.
Let's say the site is called http://www.gitte.de on the IP 212.6.156.161
and your zope server runs on zope1:8080:
The Apache virtual host definitions would be:
<VirtualHost 212.6.156.161>
ServerName www.gitte.de
ServerAdmin webmaster@gitte.de
ProxyPass / http://212.6.156.163:8080/
ProxyPassReverse / http://212.6.156.163:8080/
TransferLog /var/log/gitte.log
</VirtualHost>
If you don't need separate logging, you can skip the TransferLog line ...
AFAIK you will not need the /p_ and /misc_ ones any more. Just try.
Then you go to your zope1:8080 and add a SiteRoot in the Root with following
entries:
Title: Whateveryouwant
Base: http://www.gitte.de
Path: /
That's all. It will work the same if Zope does run on the same machine. Then
it is not "zope1:8080" but "www.gitte.de:8080". If you want to point to a
subdirectory, add the SiteRoot there and change the above ProxyPass lines,
e.g. make it "ProxyPass / http://212.6.156.163:8080/gitte/".
Just make sure that you don't add or remove any "/", e.g. "ProxyPass /
http://212.6.156.163:8080" would not work. The Zope server has to run in
"standalone" mode with ZServer, not as a CGI module. Otherwise this would
not work as advertised.
BTW: Of course you have to have a DNS server configured to point
www.gitte.de to the IP 212.6.156.161. But I guess you know that one ... ;-)
Cheers
Joachim
--__--__--
Message: 15
From: "Joachim Werner" <joe@iuveno-net.de>
To: <zope@zope.org>
Subject: Re: [Zope] PAM + ZOPE
Date: Fri, 8 Jun 2001 19:31:56 +0200
Organization: iuveno AG
> I just trying to figure out if PAM (Pluggable Authentication Modules) +
Zope
> is working. I am especially interested in the combination with LDAP.
> Anybody tried this already?
We are using SuSE email Server II, which uses LDAP-based authentication with
PAM and also manages the users of the IMAP server via the LDAP directory. It
was quite straightforward to use LDAPUserFolder with this. Just point to the
right LDAP tree, and off you go! I guess it is much more complicated to get
the other things (LDAP and PAM) running than to plug Zope in ...
I don'T know anything about using unix-style password files with Zope, but
LDAP is the better choice anyway.
Cheers
Joachim
--__--__--
Message: 16
From: reinoud@xs4all.nl (Reinoud van Leeuwen)
To: zope@zope.org
Subject: Re: [Zope] transaction control from Zope to Postgresql?
Date: Fri, 08 Jun 2001 17:30:38 GMT
Organization: Not organized in any way
Reply-To: reinoud@xs4all.nl
On Fri, 8 Jun 2001 11:32:31 -0500, you wrote:
>What DA are you using? I use PoPy and ZPoPyDA. It appears (I haven't
>verified it) that it rolls back all the ZSQLMethods executed between
>pageviews.
>
I use the PygreSQL connector. Do you expect that they behave
different? Th documentation suggests that Zope is the one that is
doing transaction control...
(but I'll try it against PoPy and ZPoPyDA)
--=20
__________________________________________________
"Nothing is as subjective as reality"
Reinoud van Leeuwen reinoud@xs4all.nl
http://www.xs4all.nl/~reinoud
__________________________________________________
--__--__--
Message: 17
Date: Fri, 08 Jun 2001 19:47:06 +0200
To: zope@zope.org
From: Gitte Wange <gitte@mmmanager.org>
Subject: Re: [Zope] I have tried everything!!! Isn't it possible to
host several domains in 1 Zope and have apache running ????
At 19:26 08-06-2001 +0200, you wrote:
>> And this is exactly what I have tried to do.
>> Writing the ProxyPass rules i easy.
>>
>> It's the part of the SiteRoot I don't understand (and that's the place I
>fail
>> everytime *S*)
>
>It's really easy. Even easier than the other posts suggest.
>
>Let's say the site is called http://www.gitte.de on the IP 212.6.156.161
>
>and your zope server runs on zope1:8080:
>
>The Apache virtual host definitions would be:
>
><VirtualHost 212.6.156.161>
> ServerName www.gitte.de
> ServerAdmin webmaster@gitte.de
> ProxyPass / http://212.6.156.163:8080/
> ProxyPassReverse / http://212.6.156.163:8080/
> TransferLog /var/log/gitte.log
></VirtualHost>
>
>If you don't need separate logging, you can skip the TransferLog line ...
>
>AFAIK you will not need the /p_ and /misc_ ones any more. Just try.
>
>Then you go to your zope1:8080 and add a SiteRoot in the Root with following
>entries:
>
>Title: Whateveryouwant
>Base: http://www.gitte.de
>Path: /
>
>That's all. It will work the same if Zope does run on the same machine. Then
>it is not "zope1:8080" but "www.gitte.de:8080". If you want to point to a
>subdirectory, add the SiteRoot there and change the above ProxyPass lines,
>e.g. make it "ProxyPass / http://212.6.156.163:8080/gitte/".
>
>Just make sure that you don't add or remove any "/", e.g. "ProxyPass /
>http://212.6.156.163:8080" would not work. The Zope server has to run in
>"standalone" mode with ZServer, not as a CGI module. Otherwise this would
>not work as advertised.
>
>BTW: Of course you have to have a DNS server configured to point
>www.gitte.de to the IP 212.6.156.161. But I guess you know that one ... ;-)
>
>Cheers
>
>Joachim
Well ..
I also have some php scripts that I still need to be able to use.
They are stored in (if I use you example) www.gitte.de/zopefuncs.
How do I make a ProxyPass rule so that every request for
www.gitte.de/zopefuncs goes to the apache server ?
Gitte
--__--__--
Message: 18
Date: Fri, 08 Jun 2001 13:56:43 -0400
To: Gitte Wange <gitte@mmmanager.org>,zope@zope.org
From: Sherwood Robinson <srobinson@fredericksburg.com>
Subject: Re: [Zope] I have tried everything!!! Isn't it possible to
host several domains in 1 Zope and have apache running ????
There are 2 ways that you can handle this.
Create a another VH that you proxy pass the folder to before the proxy pass
for your site.
or place the alias above the proxypass statement.
<IfModule mod_alias.c>
Alias /zopefuncs/ /path/to/folder/zopefuncs/
</IfModule>
GL...
At 07:47 PM 6/8/2001 +0200, Gitte Wange wrote:
>stinfo/zope>,
> <mailto:zope-request@zope.org?subject=unsubscribe>
>List-Archive: <http://lists.zope.org/pipermail/zope/>
>Date: Fri, 08 Jun 2001 19:47:06 +0200
>
>At 19:26 08-06-2001 +0200, you wrote:
> >> And this is exactly what I have tried to do.
> >> Writing the ProxyPass rules i easy.
> >>
> >> It's the part of the SiteRoot I don't understand (and that's the place I
> >fail
> >> everytime *S*)
> >
> >It's really easy. Even easier than the other posts suggest.
> >
> >Let's say the site is called http://www.gitte.de on the IP 212.6.156.161
> >
> >and your zope server runs on zope1:8080:
> >
> >The Apache virtual host definitions would be:
> >
> ><VirtualHost 212.6.156.161>
> > ServerName www.gitte.de
> > ServerAdmin webmaster@gitte.de
> > ProxyPass / http://212.6.156.163:8080/
> > ProxyPassReverse / http://212.6.156.163:8080/
> > TransferLog /var/log/gitte.log
> ></VirtualHost>
> >
> >If you don't need separate logging, you can skip the TransferLog line ...
> >
> >AFAIK you will not need the /p_ and /misc_ ones any more. Just try.
> >
> >Then you go to your zope1:8080 and add a SiteRoot in the Root with following
> >entries:
> >
> >Title: Whateveryouwant
> >Base: http://www.gitte.de
> >Path: /
> >
> >That's all. It will work the same if Zope does run on the same machine. Then
> >it is not "zope1:8080" but "www.gitte.de:8080". If you want to point to a
> >subdirectory, add the SiteRoot there and change the above ProxyPass lines,
> >e.g. make it "ProxyPass / http://212.6.156.163:8080/gitte/".
> >
> >Just make sure that you don't add or remove any "/", e.g. "ProxyPass /
> >http://212.6.156.163:8080" would not work. The Zope server has to run in
> >"standalone" mode with ZServer, not as a CGI module. Otherwise this would
> >not work as advertised.
> >
> >BTW: Of course you have to have a DNS server configured to point
> >www.gitte.de to the IP 212.6.156.161. But I guess you know that one ... ;-)
> >
> >Cheers
> >
> >Joachim
>
>Well ..
>I also have some php scripts that I still need to be able to use.
>They are stored in (if I use you example) www.gitte.de/zopefuncs.
>How do I make a ProxyPass rule so that every request for
>www.gitte.de/zopefuncs goes to the apache server ?
>
>Gitte
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
----------------------------------------------------
Sherwood Robinson
Hostmaster
The Free Lance-Star/Internet Department
srobinson@fredericksburg.com
http://www.fredericksburg.com
616 Amelia St.
Fredericksburg, VA 22401
540-374-5000 ext. 5657
--__--__--
Message: 19
From: "After Dark" <afterz@zipmail.com>
To: zope@zope.org
Date: Fri, 08 Jun 2001 13:59:05 -0400
Subject: [Zope] ZSql Method with like.
How should I do to use 'like' with ZSql Method? Similar to
the example:
Ex.:
SELECT field1 FROM table WHERE field2 LIKE '%test%'
I tryed this: --> arq is an argument
select field1 from table where field2 like '%<dtml-sqlvar
arg type=string>%'
Then I get this: select field1 from table where field2 like
'%'agx'%'
I need to put the char '%' with the var.
Thanks.
--
--Ricardo Kohler
Costa
________________________________________________
Don't E-Mail, ZipMail! http://www.zipmail.com/
--__--__--
Message: 20
From: "Thomas B. Passin" <tpassin@mitretek.org>
To: <zope@zope.org>
Subject: Re: [Zope] processing checkbox parameters - browser differences
Date: Fri, 8 Jun 2001 14:19:49 -0400
With any problem like this, the first thing to do is to make sure what
exactly the form is returning. You can use something like <dtml-var
"REQUEST.form">. If that seems OK, then do the <dtml-in> iteration but just
display the value rather than passing it to some other method or object.
IE 5 will return check box values just fine. You should also check the html
that the browser sees to make sure that it is exactly what you wanted.
Also, if you have more than one check box with the same name, that can
confuse your code (though I don't see why it would be different for IE vs
NS).
If the html isn't working right, hard code the html and work with it until
it works right. Then rewrite your dtml to create that same html.
If you have to ask the list about this after taking these steps, please show
what the form's html looks like (remove any unnecessary elements), including
encoding, method, and action.
Cheers,
Tom P
[Sandy Britain]
>
> I have a dtml method needs to pick up the values ONLY of checked
> checkboxes in an html
> form whose names are the ID's of objects users want to edit or delete.
...
>
> This works great in netscape 4.x but it doesn't work in IE 5 - it
> doesn't appear to be returning
> the checkboxes with the REQUEST - or perhaps not picking up that any are
>
> checked.
>
> Here is the code from the method that processes the form' action:
>
> <dtml-in "REQUEST.form.items()">
> <dtml-let request_item_id=sequence-key>
>
> <dtml-in "objectValues('myObjectType')">
> <dtml-if expr="id == request_item_id">
>
> ...
--__--__--
Message: 21
From: "Thomas B. Passin" <tpassin@mitretek.org>
To: <zope@zope.org>
Subject: Re: [Zope] I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ????
Date: Fri, 8 Jun 2001 14:26:27 -0400
I usually just hack z2.py, although really you can set the port with a
command-line parameter in the startup script. Just read the script to find
out the command-line syntax.
If you are on Win NT/2000 Server, remember that it will probably start the
IIS server on port 80 by default, and you have to turn that off so it
doesn't conflict with Zope. On Win 98/Me, you might have Microsoft's
Personal Web Server on port 80, depending on how you installed the system.
Tom P
[Gitte Wange]
Maybe I am stupid but really ..
Every site I have visited that runs Zope doesn't have the ugly :8080 present
in the URL.
Have do you do it ????
--__--__--
Message: 22
From: "Farrell, Troy" <troy.farrell@wcg.com>
To: 'Jeremiah White' <miah34@msn.com>, zope@zope.org
Subject: RE: [Zope] Help with LoginManager
Date: Fri, 8 Jun 2001 13:36:51 -0500
Become familiar with the procedure for installing a product. You will do it
many times when using zope.
First, check for a folder in Program
Files/Zopesite/lib/python/Products/LoginManager/. It should have been
created by unpacking LM. You will also need ZPatterns which comes with LM
IIRC. ZPatterns needs DynPersist.dll, which you can get pre compiled for
win32 platforms here:
http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/CF999B6A9B3C5C68
If after you do this and restart Zope, you still have problems, let us know.
Troy
-----Original Message-----
From: Jeremiah White [mailto:miah34@msn.com]
Sent: Thursday, June 07, 2001 8:52 PM
To: zope@zope.org
Subject: [Zope] Help with LoginManager
I am a new Zope user and I'm having trouble installing LoginManager. I am
running Windows ME.
First, I can't even unpack 0.8.8b1, so I used 0.8.6. I then unpacked
LoginManager in my ZopeFolder... and then I was lost. I'm sorry this is
such a basic question, but I can't seem to find any help for this.
Thanks,
Jeremiah
--__--__--
Message: 23
From: "Thomas B. Passin" <tpassin@mitretek.org>
To: <zope@zope.org>
Subject: Re: [Zope] ZSql Method with like.
Date: Fri, 8 Jun 2001 14:33:09 -0400
Try
SELECT field1 FROM table WHERE field2 LIKE '%'+<dtml-sqlvar
arg type=string>+'%'
(I haven't tested this). Or use <dtml-var> instead of <dtml-sqlvar>.
Tom P
[After Dark]
How should I do to use 'like' with ZSql Method? Similar to
the example:
Ex.:
SELECT field1 FROM table WHERE field2 LIKE '%test%'
I tryed this: --> arq is an argument
select field1 from table where field2 like '%<dtml-sqlvar
arg type=string>%'
Then I get this: select field1 from table where field2 like
'%'agx'%'
I need to put the char '%' with the var.
--__--__--
Message: 24
To: zope@zope.org
From: complaw@hal-pc.org
Date: Fri, 8 Jun 2001 18:41:01 GMT
Subject: [Zope] Getting calling folder data into a ZClass addForm
Is there any way for the addForm DTML Method for a ZClass to know what folder it
was called from so that some DTML logic can be implemented to load certain data
(for properties) into the input elements of the HTML form used to load the
initial data into the soon-to-be created object instance?
Is the context object available in the standard ZClass addForm?
I want to make a generalized ZClass that references other class instances that
exist within the calling folder (and no where else). The references,
preferrably, would be stored in a list property of the object.
The alternative is to make ZClasses for each specific folder (with boolean
properties relating indicating relationship with the other object(s) in the
folder). I would like to avoid the alternative because it is more maintenance.
Does anyone use a mechanism for maintaining relationships between some (but not
all) objects in a folder in some object for dynamic referencing?
When you think about it, there is a lot of utility if someone can work out this
trick.
Thanks in advance,
Ron
--__--__--
Message: 25
Date: Fri, 08 Jun 2001 15:11:43 -0400
From: Evan Simpson <evan@4-am.com>
To: Gitte Wange <gitte@mmmanager.org>
CC: zope@zope.org
Subject: Re: [Zope] I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ????
Let's see if I understand your setup:
- Zope behind Apache
- Some content from Zope, some from Apache
- More than one domain
In this case, I recommend using Apache's mod_proxy and mod_rewrite
modules together with Zope's VirtualHostMonster. This requires the
following steps:
1. Set up Apache so that it has mod_proxy and mod_rewrite enabled.
2. Set up Zope, and choose a port number for it to serve requests on.
Port 8080 is the default, and will be used in the examples below.
3. Add a VirtualHostMonster to the root of your Zope. Make up a unique
name for it, and read the Add screen, but don't worry about it otherwise.
4. For each domain:
4a. Create a Folder in your Zope root named after the domain (this
name is used in step 4e).
4b. Create a <VirtualHost> section in your Apache setup.
4c. In this section, turn on rewriting and set up rewrite logging.
4d. For each path that you want Apache to serve, add a rule that
matches the path, leaves it unchanged, and stops rewriting. It will
look like this:
RewriteRule /apache_content - [L]
4e. Finally, add a rule that matches all remaining paths, rewrites
them for the VirtualHostMonster, and sends them through mod_proxy. It
will look like this:
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/
http/www.gitte.com:80/
gitte.com/VirtualHostRoot/$1 [P,L]
*This is one line, not three, with no space between parts!*
That's all. If your Zope isn't on the same machine as Apache, or isn't
on port 8080, change the "localhost:8080". If you name your Zope Folder
"www.gitte.com" or "gitte", use that instead of "gitte.com". If you
make a <VirtualHost> for access through SSL, change the second part to
"https/www.gitte.com:443/".
Cheers,
Evan @ digicool & 4-am
--__--__--
Message: 26
Date: Fri, 08 Jun 2001 14:38:11 -0500
From: Tim Cook <twcook@iswt.com>
Reply-To: tim@freepm.org
Organization: Free Practice Management, Inc.
To: Zope List <zope@zope.org>
Subject: [Zope] Browsers Differences Again
Someone emailed me (bashing my demo) about
http://www.freepm.org:8080/FreePM/scheduling
not working.
It worked fine with NS (we try to test with IE too, but it's so
painful <s>).
Anyway, I discovered that this code in the index_html (a DTML
Method):
------------------------------------
<html>
<head><title>FreePM Scheduling</title>
</head>
<dtml-let this_year="_.DateTime().year()">
<frameset rows="50,*" marginheight="2">
<frame src="menu" name="sched_menu">
<frame src="<dtml-var this_year>" name="sched_main">
</frameset>
</frameset>
</dtml-let>
<NOFRAMES>
FreePM requires a frames capable browser for proper operation.
</NOFRAMES>
</html>
---------------------------------
Didn't work in IE, but does in NS. this_year resolves to a OFS
Folder ID.
If I explicitly point the frame sources like this it works fine
in both browsers:
<frame src="/FreePM/scheduling/menu" name="sched_menu">
<frame src="/FreePM/scheduling/<dtml-var this_year>/index_html"
name="sched_main">
BTW: the error was Not Found in both frames.
Why does IE not resolve those objects correctly?
--
Tim Cook, President - FreePM,Inc.
http://www.FreePM.com Office: (731) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM
--__--__--
Message: 27
Date: Fri, 8 Jun 2001 14:41:06 -0500
From: Mike Renfro <renfro@tntech.edu>
To: Joachim Werner <joe@iuveno-net.de>
Cc: Gitte Wange <gitte@mmmanager.org>, zope@zope.org
Subject: Re: [Zope] I have tried everything!!! Isn't it possible to host several domains in 1 Zope and have apache running ????
On Fri, Jun 08, 2001 at 07:26:19PM +0200, Joachim Werner wrote:
> It's really easy. Even easier than the other posts suggest.
And just to throw one more alternative in, I've written a howto at
http://www.zope.org/Members/mwr on this sort of thing. Make comments
if there's an error or if you have any other suggestions.
--
Mike Renfro / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
--__--__--
Message: 28
From: Dieter Maurer <dieter@handshake.de>
Date: Fri, 8 Jun 2001 20:34:53 +0200 (CEST)
To: Klaus Herrmann <klaus.herrmann@goelz.com>
Cc: zope@zope.org
Subject: Re: [Zope] ZClass with binary fields
Klaus Herrmann writes:
> .... how can i create a ZClass with a field for binary data?
Make your ZClass folderish (derive from "ObjectManager" or "Folder")
and use "File" for your binary objects.
Dieter
--__--__--
Message: 29
From: Dieter Maurer <dieter@handshake.de>
Date: Fri, 8 Jun 2001 20:27:41 +0200 (CEST)
To: "Peter Bengtsson" <mail@peterbe.com>
Cc: <zope@zope.org>
Subject: Re: [Zope] FSSession trouble
Peter Bengtsson writes:
> ... FSSession initialized twice ==> bindings lost ...
That's quite normal.
We use a small DTML Method for initialization: "initializeSession"
<dtml-unless SessionInitialized__>
<dtml-call FSSession>
<dtml-call "REQUEST.set('SessionInitialized__',1)">
</dtml-unless>
This way, we can call "initializeSession" whenever we think, we
may access session data without worring whether it has already been
done.
Dieter
--__--__--
Message: 30
From: Dieter Maurer <dieter@handshake.de>
Date: Fri, 8 Jun 2001 20:18:26 +0200 (CEST)
To: Anders Schneiderman <schneida@seiu.org>
Cc: zope@zope.org
Subject: Re: [Zope] Using REQUEST only in a limited fashion
Anders Schneiderman writes:
> ... determining that an object has an unacquired attribute ...
This is currently not easy.
You can try:
<dtml-if "_.has_key(aq_explicit,'front_page')">
...
This will often work, but sometimes give false "true" results.
A safe method is to write an External Method "has" with the following code:
def has(object,attr):
object= getattr(object,'aq_base',object)
return hasattr(object,attr)
and use is as follows:
<dtml-if "has(this(),'font_page')">
...
Dieter
--__--__--
Message: 31
From: Dieter Maurer <dieter@handshake.de>
Date: Fri, 8 Jun 2001 20:33:23 +0200 (CEST)
To: Sandy Britain <a.britain@bangor.ac.uk>
Cc: zope@zope.org
Subject: Re: [Zope] processing checkbox parameters - browser differences
Sandy Britain writes:
> ... checked checkboxes part of submitted data ...
> This works great in netscape 4.x but it doesn't work in IE 5 - it
> doesn't appear to be returning
> the checkboxes with the REQUEST - or perhaps not picking up that any are
> checked.
I do not believe this.
In fact, I tested code today on Netscape and IE 5.5,
that uses this feature and it worked perfectly for
both browsers.
> Here is the code from the method that processes the form' action:
>
> <dtml-in "REQUEST.form.items()">
> <dtml-let request_item_id=sequence-key>
>
> <dtml-in "objectValues('myObjectType')">
> <dtml-if expr="id == request_item_id">
Are you sure, the "id" of your objects is a member and not a method?
Try replacing "id" with "_['id']" or "_.render(id)".
Dieter
--__--__--
Message: 32
From: Dieter Maurer <dieter@handshake.de>
Date: Fri, 8 Jun 2001 20:23:20 +0200 (CEST)
To: Sion Morris <s.morris@bangor.ac.uk>
Cc: zope@zope.org
Subject: Re: [Zope] Return success or fail from ZSQL method
Sion Morris writes:
> How do I return a success or failure flag from the ZSQLMethod to DTML
> Method x? Does the ZSQL Method return anything once it has done it's
> operation?
I know of only a single way, a Z SQL Method can signal failure:
it raises an exception
This exception is propagated until it hits an exception
handler.
There is an exception handler in ZPublisher.
It will turn the exception into a 500 HTTP response (internal server error).
If you do not like this failure indication, you need to catch
the exception earlier. You will need the "try: ... except:..."
clause in Python script or the "dtml-try" tag in DTML.
See (e.g.)
URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html
for details.
Dieter
--__--__--
Message: 33
Reply-To: <jpeterso@the-bridge.net>
From: "Jeff Peterson" <jpeterso@the-bridge.net>
To: "Zope@Zope. Org" <zope@zope.org>,
<tim@freepm.org>
Subject: RE: [Zope] Browsers Differences Again
Date: Fri, 8 Jun 2001 15:13:13 -0500
Well, I tried it in all my available browsers, on PC: IE 5.5 SP1, Opera
5.11, Mozilla 0.9, Netscape 4.7, Netscape 6 and on Mac: IE 4.5. Outside of
being way too wide, it renders as I expected, the links all went somewhere,
I didn't see a problem.
What version of IE did you test with?
Jeff.
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tim
> Cook
> Sent: Friday, June 08, 2001 2:38 PM
> To: Zope List
> Subject: [Zope] Browsers Differences Again
>
>
> Someone emailed me (bashing my demo) about
> http://www.freepm.org:8080/FreePM/scheduling
>
> not working.
>
> It worked fine with NS (we try to test with IE too, but it's so
> painful <s>).
>
> Anyway, I discovered that this code in the index_html (a DTML
> Method):
> ------------------------------------
> <html>
> <head><title>FreePM Scheduling</title>
> </head>
>
> <dtml-let this_year="_.DateTime().year()">
>
> <frameset rows="50,*" marginheight="2">
> <frame src="menu" name="sched_menu">
> <frame src="<dtml-var this_year>" name="sched_main">
> </frameset>
> </frameset>
>
> </dtml-let>
>
> <NOFRAMES>
> FreePM requires a frames capable browser for proper operation.
> </NOFRAMES>
>
> </html>
>
> ---------------------------------
>
> Didn't work in IE, but does in NS. this_year resolves to a OFS
> Folder ID.
>
> If I explicitly point the frame sources like this it works fine
> in both browsers:
> <frame src="/FreePM/scheduling/menu" name="sched_menu">
> <frame src="/FreePM/scheduling/<dtml-var this_year>/index_html"
> name="sched_main">
>
> BTW: the error was Not Found in both frames.
>
> Why does IE not resolve those objects correctly?
>
> --
> Tim Cook, President - FreePM,Inc.
> http://www.FreePM.com Office: (731) 884-4126
> ONLINE DEMO: http://www.freepm.org:8080/FreePM
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 34
Date: Fri, 8 Jun 2001 14:24:44 -0600 (MDT)
From: <kosh@aesaeion.com>
To: Jeff Peterson <jpeterso@the-bridge.net>
Cc: "Zope@Zope. Org" <zope@zope.org>, <tim@freepm.org>
Subject: RE: [Zope] Browsers Differences Again
A good way to find the problems is to check the page in validator.w3.org .
An obvious error I see is the lack of a doctype for this I would suggest
html 4 transitional. w3c.org has information on the doctypes and how to
use them in the html 4 spec.
Remember as web developers it is your responsibility to know these specs
and to use them. That is how it got as bad as it is now with pages being
written in any old way and mostly for IE because people did not know the
spec.
Designing the webpages of tomorrow http://webme-eng.com
Designing the MMORPGS of tomorrow http://worldforge.org
On Fri, 8 Jun 2001, Jeff Peterson wrote:
> Well, I tried it in all my available browsers, on PC: IE 5.5 SP1, Opera
> 5.11, Mozilla 0.9, Netscape 4.7, Netscape 6 and on Mac: IE 4.5. Outside of
> being way too wide, it renders as I expected, the links all went somewhere,
> I didn't see a problem.
>
> What version of IE did you test with?
>
> Jeff.
>
> > -----Original Message-----
> > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tim
> > Cook
> > Sent: Friday, June 08, 2001 2:38 PM
> > To: Zope List
> > Subject: [Zope] Browsers Differences Again
> >
> >
> > Someone emailed me (bashing my demo) about
> > http://www.freepm.org:8080/FreePM/scheduling
> >
> > not working.
> >
> > It worked fine with NS (we try to test with IE too, but it's so
> > painful <s>).
> >
> > Anyway, I discovered that this code in the index_html (a DTML
> > Method):
> > ------------------------------------
> > <html>
> > <head><title>FreePM Scheduling</title>
> > </head>
> >
> > <dtml-let this_year="_.DateTime().year()">
> >
> > <frameset rows="50,*" marginheight="2">
> > <frame src="menu" name="sched_menu">
> > <frame src="<dtml-var this_year>" name="sched_main">
> > </frameset>
> > </frameset>
> >
> > </dtml-let>
> >
> > <NOFRAMES>
> > FreePM requires a frames capable browser for proper operation.
> > </NOFRAMES>
> >
> > </html>
> >
> > ---------------------------------
> >
> > Didn't work in IE, but does in NS. this_year resolves to a OFS
> > Folder ID.
> >
> > If I explicitly point the frame sources like this it works fine
> > in both browsers:
> > <frame src="/FreePM/scheduling/menu" name="sched_menu">
> > <frame src="/FreePM/scheduling/<dtml-var this_year>/index_html"
> > name="sched_main">
> >
> > BTW: the error was Not Found in both frames.
> >
> > Why does IE not resolve those objects correctly?
> >
> > --
> > Tim Cook, President - FreePM,Inc.
> > http://www.FreePM.com Office: (731) 884-4126
> > ONLINE DEMO: http://www.freepm.org:8080/FreePM
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
--__--__--
Message: 35
Date: Fri, 08 Jun 2001 15:42:52 -0500
From: Tim Cook <twcook@iswt.com>
Reply-To: tim@freepm.org
Organization: Free Practice Management, Inc.
To: jpeterso@the-bridge.net
CC: "Zope@Zope. Org" <zope@zope.org>, tim@freepm.org
Subject: Re: [Zope] Browsers Differences Again
Jeff Peterson wrote:
>
> Well, I tried it in all my available browsers, on PC: IE 5.5 SP1, Opera
> 5.11, Mozilla 0.9, Netscape 4.7, Netscape 6 and on Mac: IE 4.5. Outside of
> being way too wide, it renders as I expected, the links all went somewhere,
> I didn't see a problem.
>
Thanks for the run through. <s>
I should have explained better taht I had already fixed it. My
question was why does IE not find the objects without the
explicit path like the other browsers do?
Most of FreePM does not have explicit path information in it and
I have not seen this problem before.
Another note that I did not think about before is that the
index_html in the year folder contains javascript that
automatically loads the current month in the bottom frame. Maybe
that's the culprit?
But then, my fix really wouldn't make sense.
???
--
Tim Cook, President - FreePM,Inc.
http://www.FreePM.com Office: (731) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM
--__--__--
Message: 36
From: "Thomas B. Passin" <tpassin@mitretek.org>
To: "Zope@Zope. Org" <zope@zope.org>
Subject: Re: [Zope] Browsers Differences Again
Date: Fri, 8 Jun 2001 17:05:42 -0400
[Tim Cook]
>
> Thanks for the run through. <s>
> I should have explained better taht I had already fixed it. My
> question was why does IE not find the objects without the
> explicit path like the other browsers do?
>
What do you mean, "without the explicit path"? How about showing the actual
HTML BEFORE you fixed it, maybe we can figure it out. If you mean a
"relative" path, IE works fine using a relative path.
Tom P
--__--__--
Message: 37
From: "Philippe Jadin" <philippe.jadin@123piano.com>
To: <zope@zope.org>
Date: Sat, 9 Jun 2001 00:11:55 +0200
Subject: [Zope] Getting info about a newly created object
[newbie with a lot of questions - thanks]
Hello,
On a site I want to allow users to add files. I created a simple form that
has <input type="file"> on it. This form calls a python script with :
context.manage_addProduct['OFSP'].manage_addFile(file)
This doesn't work : it needs two arguments instead of one. It works when I
give an id. What I'd like is to have the id generated based on the given
filename. This is how the file product works. How can I "generate" this id ?
After this, how can I redirect the user to another form that would let him
add some metadata to his file?
I need to know the id of the object I just created (does manage_addFile()
return something?), and append something like /MyEditForm to the url to be
redirected.
How can I do this in the python script?
Another question : what would be the best option to choose wether to create
an image or a file object? Based on content type submited by the browser, or
file extensions?
I feel a bit like reinventing the wheel, but I guess it's the only way to
give the user customized management screens (or did I miss something?).
Anyway thanks in advance !
Philippe Jadin
--__--__--
Message: 38
From: "Ron O'Hara" <rono@sentuny.com.au>
Reply-To: rono@sentuny.com.au
To: "Farrell, Troy" <troy.farrell@wcg.com>
Subject: Re: [Zope] any way to set default DTML document content?
Date: Sat, 9 Jun 2001 09:19:57 +1000
Cc: zope@zope.org
FYI ... I just downloaded HotFix_TopFramHttps.tgz (using Konqueror) and
although its a '.tgz' filename, it's not actuall gziped... it's just a tar
file. Might confuse a few people
Regards
Ron O'Hara
On Saturday 09 June 2001 01:18, you wrote:
> <plug class="shameless" comment="I seem to be doing this a lot lately.">
> Take a look at "ZMI Top Frame HTTPS reminder" to see an example of using
> hotfixes to modify the interface.
> http://www.zope.org/Members/tfarrell/Hotfix_TopFrameHttps/
> </plug>
>
> Troy
>
> -----Original Message-----
> From: Chris McDonough [mailto:chrism@digicool.com]
> Sent: Friday, June 08, 2001 9:54 AM
> To: Chris Withers
> Cc: Chris Ryland; zope@zope.org
> Subject: Re: [Zope] any way to set default DTML document content?
>
>
> You could actually modify the "default_dm_html" attribute of the
> lib/python/OFS/DTMLMethod.py module to something different than it is
> right now if you wanted.
>
> Chris Withers wrote:
> > Chris Ryland wrote:
> > > Thanks. Actually, I wanted to modify the DTML document content that's
> > > automatically instantiated when you create a new DTML document from the
> > > management interface.
> >
> > Ah, then the answer, sadly, is no :-S
> >
> > cheers,
> >
> > Chris
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--
---------------------------------------------------------
email: rono@sentuny.com.au
Mobile: +61 419 873 801
PH: +613 9844 1758
Fax: +613 9844 1721
---------------------------------------------------------
--__--__--
Message: 39
Date: Fri, 08 Jun 2001 19:10:31 -0500
From: Tim Cook <twcook@iswt.com>
Reply-To: tim@freepm.org
Organization: Free Practice Management, Inc.
To: "Thomas B. Passin" <tpassin@mitretek.org>
CC: "Zope@Zope. Org" <zope@zope.org>
Subject: Re: [Zope] Browsers Differences Again
"Thomas B. Passin" wrote:
>
> What do you mean, "without the explicit path"? How about showing the actual
> HTML BEFORE you fixed it, maybe we can figure it out. If you mean a
> "relative" path, IE works fine using a relative path.
>
I did. The orignal email has the entire index_html code followed
by the two lines that fixed the problem.
Thanks for asking.
--
Tim Cook, President - FreePM,Inc.
http://www.FreePM.com Office: (731) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM
--__--__--
Message: 40
To: "Jason Cunliffe" <jasonic@nomadicsltd.com>
Cc: <zope@zope.org>
From: Simon Michael <simon@joyful.com>
Organization: Joyful Systems
Date: 08 Jun 2001 17:14:16 -0700
Subject: [Zope] Re: [Zope]How to display uploaded file sizes in Zwiki?
"Jason Cunliffe" <jasonic@panix.com> writes:
> New to Zwiki.. I am uploading some various sample animation files,
> python source and example images to a Zwiki site.
>
> How can display the size of these in Zwiki?
Hi Jason,
quick answer.. have a look at RecentChanges, which displays the
modification time of zwiki pages. I think it should be easy to tweak
(call getSize() on objects of meta type 'Image').
Cheers
-Simon
--__--__--
Message: 41
To: <zope@zope.org>
From: Simon Michael <simon@joyful.com>
Organization: Joyful Systems
Date: 08 Jun 2001 17:27:04 -0700
Subject: [Zope] Re: How to link inline graphics on a Zwiki page?
"Jason Cunliffe" <jasonic@panix.com> writes:
> But, is there a way to make relative links works in Zwiki page? like
> this:
>
> <a href ="BigImage"><mig src="LittleImage"></a>
There's several ways to inline graphics, including the ones at bottom
of http://zwiki.org/AdvancedEditOptions, which you've probably found
out about.
Thumbnails - here's one way that works:
<a href="image.png"><img src="thumbnail.png"></a>
assuming your page mode allows html and that your images are sitting
in the wiki folder. With wiki-named images, you might need to begin
the line with ! to avoid problems - I'm not sure.
In your shoes, I would try making a little pythonscript or method that
you would call with one or more arguments, which would generate the
appropriate thumbnail link.
Does this help ?
--__--__--
Message: 42
Date: Fri, 8 Jun 2001 18:25:35 -0700
To: zope@zope.org
From: Ricardo Newbery <newbery@dvgroup.com>
Subject: [Zope] VirtualHostMonster
I've read several different variations on how to set up an
Apache/Zope virtual host and I'm still unsure about the advantages
and disadvantages of each solution. Setting up VirtualHostMonster
and an Apache ProxyPass or RewriteRule appears to be the latest (and
greatest?) method. So what are the advantages and disadvantages of a
ProxyPass vs. a RewriteRule?
ProxyPass / http://localhost:8080/VirtualHostBase/http/hostname:80/
or
RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/hostname:80/$1 [P,L]
Ricardo Newbery
newbery@dvgroup.com
--__--__--
Message: 43
From: "Brad Clements" <bkc@murkworks.com>
Organization: MurkWorks, Incorporated.
To: zope@zope.org
Date: Fri, 8 Jun 2001 23:49:32 -0400
Reply-to: bkc@murkworks.com
Subject: [Zope] Will WikiForNow be released as a product?
It's exactly what I need.. Even better if it works well within CMF..
Brad Clements, bkc@murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
--__--__--
Message: 44
Date: Sat, 9 Jun 2001 11:56:47 +0400 (MSD)
From: Oleg Broytmann <phd@phd.fep.ru>
Reply-To: Oleg Broytmann <phd@phd.fep.ru>
To: Philippe Jadin <philippe.jadin@123piano.com>
cc: <zope@zope.org>
Subject: Re: [Zope] Getting info about a newly created object
On Sat, 9 Jun 2001, Philippe Jadin wrote:
> On a site I want to allow users to add files. I created a simple form that
> has <input type="file"> on it. This form calls a python script with :
>
> context.manage_addProduct['OFSP'].manage_addFile(file)
>
> This doesn't work : it needs two arguments instead of one. It works when I
> give an id. What I'd like is to have the id generated based on the given
> filename.
<untested>
id = file.filename # not sure about this filename
context.manage_addProduct['OFSP'].manage_addFile(id, file=file.read(),
title='XYZ', content_type='text/plain')
</untested>
Oleg.
----
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
--__--__--
_______________________________________________
Zope maillist - Zope@zope.org
End of Zope Digest
--Part_Boundary-20162F3--