[Zope3-Users] Trouble Starting up !!

2009-04-07 Thread Chetan Kumar
Hi Steps 1. zopeproject zx 2. cd zx 3. ./bin/buildout Develop: '/home/zope3/Work/z3w/zx/.' Unused options for buildout: 'download-directory'. Updating app. Updating test. 4. ./bin/zx-debug -- 2009-04-07T11:43:36 WARNING root Developer mode is enabled: this is a security risk and

Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!

2009-04-07 Thread Benji York
On Tue, Apr 7, 2009 at 7:37 AM, Chetan Kumar chetan.ml...@gmail.com wrote: Stephan Richter wrote: For some reason that smells like a circular import problem, Regards, Stephan The reason was the absence of path to zope.viewlet egg from the sys.path. This slippage can surely be attributed to

Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!

2009-04-07 Thread Chetan Kumar
Stephan Richter wrote: For some reason that smells like a circular import problem, Regards, Stephan The reason was the absence of path to zope.viewlet egg from the sys.path. This slippage can surely be attributed to buildout. Also discovered that out of 170 eggs listed in buildout.cfg

[Zope3-Users] z3c.form: LookupErrors

2009-04-07 Thread Martin Aspeli
Hi, In z3c.form (at least with 1.9.0), if you have a Choice field and the vocabulary changes so that an existing value (or the default value on an add form) is no longer valid, you get a LookupError: Module z3c.form.form, line 126, in updateWidgets Module z3c.form.field, line 259, in

Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!

2009-04-07 Thread Chetan Kumar
Made a mistake in posting last time. Posting again for the sake of completeness: The problem started after installation. Without bothering about KGS the result of the installation is here http://paste.plone.org/27456 (./bin/xv-debug show errors at seen at the bottom) With KGS 3.4.0 (using

Re: [Zope3-Users] z3c.form: LookupErrors

2009-04-07 Thread Roger Ineichen
Hi Martin -Ursprüngliche Nachricht- Von: zope3-users-boun...@zope.org [mailto:zope3-users-boun...@zope.org] Im Auftrag von Martin Aspeli Gesendet: Dienstag, 7. April 2009 16:17 An: zope3-users@zope.org Betreff: [Zope3-Users] z3c.form: LookupErrors Hi, In z3c.form (at least

Re: [Zope3-Users] z3c.form: LookupErrors

2009-04-07 Thread Stephan Richter
On Tuesday 07 April 2009, Roger Ineichen wrote: It'd be nicer if z3c.form would catch the error and return field.missing_value or something like that. As it stands, if this happens with a content object, it's impossible to reach the edit form and fix the value! This is a legacy data

Re: [Zope3-Users] z3c.form: LookupErrors

2009-04-07 Thread Roger Ineichen
Hi Stephan -Ursprüngliche Nachricht- Von: Stephan Richter [mailto:srich...@cosmos.phy.tufts.edu] Gesendet: Dienstag, 7. April 2009 19:30 An: zope3-users@zope.org; d...@projekt01.ch Cc: 'Martin Aspeli' Betreff: Re: [Zope3-Users] z3c.form: LookupErrors On Tuesday 07 April 2009,

Re: [Zope3-Users] Rotating z3.log

2009-04-07 Thread Stephan Richter
On Tuesday 07 April 2009, andrew wrote: Does anyone know of a straightforward way of setting up a Zope3 instance to rotate z3.log ? At the moment I have one big file but this is not great for backups. I suppose I could use logrotate (and will have to if there's no Zope solution), but from a