[Zope3-Users] formlib problem

Stéphane Brault stephane_brault at yahoo.fr
Fri Apr 14 11:00:15 EDT 2006


Hi,
 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 ?
 
 Thanks,
 
 Stéphane




More information about the Zope3-users mailing list