[Zope3-Users] formlib problem

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Jun 1 15:47:31 EDT 2006


On Friday 14 April 2006 11:00, Stéphane Brault wrote:
>  I'm trying to use formlib but I get a problem :
>  Traceback (most recent call last):
>    File "<pyshell#103>", line 1, in -toplevel-
>      print MyForm(None, request)()
>    File "<pyshell#100>", line 6, in __call__
>      widgets = form.setUpWidgets(self.form_fields, 'form', self.context,
> self.request, ignore_request=ignore_request) File
> "C:\Python24\Lib\site-packages\zope\formlib\form.py", line 255, in
> setUpWidgets IInputWidget)
>    File "C:\Python24\Lib\site-packages\zope\component\__init__.py", line
> 154, in getMultiAdapter raise ComponentLookupError(objects, interface,
> name)
>  ComponentLookupError: ((, http://127.0.0.1>), , u'')
>  
>  This problem occurs with my objects (which are sqlos objects) but also
> when I try the examples of the form.txt. I must be doing something wrong,
> but I can't figure it out, especially since I follow the examples. Any hint
> ?

Without more context, this traceback is not very helpful. Did you copy this 
traceback from the Web site, because the important info in the error message 
is missing?

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list