[Zope] iterating dictionaries with dtml-in

2006-09-02 Thread Ferhat Ayaz
Hi, I know it's a silly question. But I was not able to find an example for this: I have a list of dicts like [ {'name':'John','age':27}, {'name':'Marc','age':17}, {'name':'Susanne','age':19} ] Now I want to iterate each 'name' like John Marc Susanne I want to do this with DTML.

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Jonathan
- Original Message - From: "Ben" <[EMAIL PROTECTED]> To: Sent: Saturday, September 02, 2006 2:13 AM Subject: [Zope] Problems starting ZEO with zeoctl I am receiving error messages when attempting to start ZEO in daemon mode. I have setup ZEO according to: http://plone.org/documenta

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
On 9/2/06, Jonathan <[EMAIL PROTECTED]> wrote: What port is zeo configured to use and what 'user' are you running as when you run zeoctl? ZEO is configured to use port 8100 (the default, I believe). I run 'zeoctl start' as user 'zope' unsucessfully, but I can run 'runzeo' as user 'zope' without

Re: [Zope] iterating dictionaries with dtml-in

2006-09-02 Thread Jonathan
- Original Message - From: "Ferhat Ayaz" <[EMAIL PROTECTED]> To: Sent: Saturday, September 02, 2006 7:40 AM Subject: [Zope] iterating dictionaries with dtml-in Hi, I know it's a silly question. But I was not able to find an example for this: I have a list of dicts like [ {'name':'J

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Jonathan
Please keep all your posts on the list (that way others can help, and others can find these messages for their reference)... - Original Message - From: "Ben" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Sent: Saturday, September 02, 2006 8:18 AM Subject: Re: [Zope] Problems

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
On 9/2/06, Jonathan <[EMAIL PROTECTED]> wrote: As an experiment, can you try running zeoctl as the root user? If this works, then it is definitely a problem with the permissions that your 'zope' user has (the error you described is normally a permissions related error). Running 'zeoctl start'

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Jonathan
- Original Message - From: "Ben" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Saturday, September 02, 2006 8:49 AM Subject: Re: [Zope] Problems starting ZEO with zeoctl On 9/2/06, Jonathan <[EMAIL PROTECTED]> wrote: As an experiment, can you try running zeoctl a

[Zope] ZEO Problem

2006-09-02 Thread beno
Hi; I'm reading the Plone book. It states that for Zope 2.7 (I have 2.78) ZEO is built in by default but must be instantiated thus: cd /opt/Zope-2/7/bin ./mkzeoinstance /var/zeo or some such code. So I tried this: cd /usr/local/zope/278/bin ./mkzeoinstance.py ../../instance2/var/zeo where 27

Re: [Zope] ZEO Problem

2006-09-02 Thread Jonathan
- Original Message - From: "beno" <[EMAIL PROTECTED]> To: Sent: Saturday, September 02, 2006 9:24 AM Subject: [Zope] ZEO Problem Hi; I'm reading the Plone book. It states that for Zope 2.7 (I have 2.78) ZEO is built in by default but must be instantiated thus: cd /opt/Zope-2/7/bi

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Jonathan
- Original Message - From: "Ben" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Sent: Saturday, September 02, 2006 10:02 AM Subject: Re: [Zope] Problems starting ZEO with zeoctl On 9/2/06, Jonathan <[EMAIL PROTECTED]> wrote: The zeo.conf that I am running (Zope 2.9.2) has th

Re: [Zope] ZEO Problem

2006-09-02 Thread beno
I got this working by changing the following in zope.conf: server localhost:7080 to server 202.71.106.119: Apparently, it needs its own port? TIA, beno Jonathan wrote: - Original Message - From: "beno" <[EMAIL PROTECTED]> To: Sent: Saturday, September 02, 2006 9:24 AM Subjec

Re: [Zope] ZEO Problem

2006-09-02 Thread Jonathan
- Original Message - From: "beno" <[EMAIL PROTECTED]> To: Sent: Saturday, September 02, 2006 10:27 AM Subject: Re: [Zope] ZEO Problem I got this working by changing the following in zope.conf: server localhost:7080 to server 202.71.106.119: Apparently, it needs its own por

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
On 9/3/06, Jonathan <[EMAIL PROTECTED]> wrote: If you're running behind a firewall you could set your firewall so that port 8100 is blocked from outside access (ie. only your zeo client and zeo server, running behind the firewall, can communicate on port 8100 - or whatever port you have zeo conf

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Jonathan
- Original Message - From: "Ben" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Saturday, September 02, 2006 10:39 AM Subject: Re: [Zope] Problems starting ZEO with zeoctl On 9/3/06, Jonathan <[EMAIL PROTECTED]> wrote: If you're running behind a firewall you could

Re: [Zope] ZEO Problem

2006-09-02 Thread beno
Jonathan wrote: I got this working by changing the following in zope.conf: server localhost:7080 to server 202.71.106.119: Apparently, it needs its own port? TIA, beno You need to make sure that the entry in your zeo client config file (zope.conf) eg server 194.123.123.123:8100

Re: [Zope] ZEO Problem

2006-09-02 Thread Andreas Jung
--On 2. September 2006 12:15:47 -0400 beno <[EMAIL PROTECTED]> wrote: address 8100 and that your zeo server is running on the ip address specified in the entry in zope.conf That's logical. Why does zeo need its own port? Because every kind of network service needs its own port. -aj

[Zope] Re: Problems starting ZEO with zeoctl

2006-09-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben wrote: > I am receiving error messages when attempting to start ZEO in daemon > mode. > > I have setup ZEO according to: > http://plone.org/documentation/tutorial/robust-installation > I have tried the Plone setup list, but their suggestions (chan

[Zope] SecurityInfo Conflicting security declarations

2006-09-02 Thread beno
Hi; I noticed in my events log the following: 2006-09-02T15:13:50 PROBLEM(100) SecurityInfo Conflicting security declarations for "getViewTOCValue" -- 2006-09-02T15:13:50 PROBLEM(100) SecurityInfo Class "PloneArticleMultiPage" had conflicting security declarations How do I trouble-shoot

Re: [Zope] SecurityInfo Conflicting security declarations

2006-09-02 Thread Andreas Jung
--On 2. September 2006 12:48:49 -0400 beno <[EMAIL PROTECTED]> wrote: Hi; I noticed in my events log the following: 2006-09-02T15:13:50 PROBLEM(100) SecurityInfo Conflicting security declarations for "getViewTOCValue" -- 2006-09-02T15:13:50 PROBLEM(100) SecurityInfo Class "PloneArticleMul

[Zope] Can't stop Zope, machine hanging

2006-09-02 Thread Ken Ara
Hi all, My Zope is stuck like never before. With my server on another continent, 8 hours time difference, and on a Sunday, I am pulling out my few remaining hairs... Our box runs FreeBSD 5, Zope 2.78 (if I remember correctly) and Squid. The ISP has been preparing for a move and shifted some mac

Re: [Zope] Can't stop Zope, machine hanging

2006-09-02 Thread Andreas Jung
--On 2. September 2006 23:43:50 -0700 Ken Ara <[EMAIL PROTECTED]> wrote: Hi all, My Zope is stuck like never before. With my server on another continent, 8 hours time difference, and on a Sunday, I am pulling out my few remaining hairs... Our box runs FreeBSD 5, Zope 2.78 (if I remember corr