[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 shou

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 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 buildout.

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

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

2009-04-07 Thread Chetan Kumar
Benji York wrote: > You should produce a small, self-contained example of the problem so it > can be evaluated. My suspicion is a bug in your buildout config rather > than buildout itself, but I can't tell from here. http://download.zope.org/zope3.4/3.4.0/versions.cfg) the situation is differen

[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 upda

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 build

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 (a

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

2009-04-07 Thread Stephan Richter
On Tuesday 07 April 2009, Martin Aspeli 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! I agree. Regards, Stephan --

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

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 2

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

2009-04-07 Thread Martin Aspeli
Hi Roger, >> What if your list of choices depends on constantly changing >> data? For example, a widget allows you to select a user from >> a userfolder. Later the user gets deleted. > > pang, legacy data created In the real world, this type of of thing happens all the time. It's incredibly

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

2009-04-07 Thread Roger Ineichen
Hi Martin > Betreff: Re: [Zope3-Users] z3c.form: LookupErrors > > Hi Roger, > > >> What if your list of choices depends on constantly > changing data? For > >> example, a widget allows you to select a user from a userfolder. > >> Later the user gets deleted. > > > > pang, legacy data created

[Zope3-Users] Rotating z3.log

2009-04-07 Thread andrew
Hi All, 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 cursory dig into ZConfig it looks like

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

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

2009-04-07 Thread Chetan Kumar
bump!! Chetan Kumar wrote: > 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 a