Re: [Zope3-Users] Wierd import problem

2006-03-01 Thread Darryl Cousins
Hi Florian, To get around the circular import error use a marker interface to suit your code. Best regards. Darryl On Wed, 2006-03-01 at 08:15 -0500, Stephan Richter wrote: > On Tuesday 28 February 2006 06:50, Florian Lindner wrote: > > ImportError: cannot import name UserRegistrationField >

Re: [Zope3-Users] Wierd import problem

2006-03-01 Thread Stephan Richter
On Tuesday 28 February 2006 06:50, Florian Lindner wrote: >     ImportError: cannot import name UserRegistrationField > > > > my views.py has: > > > class UserRegistrationField(TextLine): >     implements(ITextLine) >     >     def _validate(self, value): >         super(UserRegistrationField, self

[Zope3-Users] Wierd import problem

2006-02-28 Thread Florian Lindner
Hello, I've a wierd problem which is supposed to be plain simple but I can't see it... Zope3 gives on startup: File "/home/florian/Desktop/zope/lib/python/CS/user_management/views.py", line 2, in ? from interfaces import IRegistrationForm File "/home/florian/Desktop/zope/lib/python/CS