I'm using formish with bfg, and when I use the CheckedPassword widget I get
the following error:

  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/Chameleon-1.2.3-py2.6.egg/chameleon/core/template.py",
line 361, in render
    return super(TemplateFile, self).render(*args, **kwargs)
  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/Chameleon-1.2.3-py2.6.egg/chameleon/zpt/template.py",
line 17, in render
    return super(PageTemplate, self).render(*args, **kwargs)
  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/Chameleon-1.2.3-py2.6.egg/chameleon/core/template.py",
line 209, in render
    return self.cook_and_render(kwargs, utils.emptydict, None, True)
  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/Chameleon-1.2.3-py2.6.egg/chameleon/core/template.py",
line 341, in cook_and_render
    args, slots, macro, global_scope)
  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/Chameleon-1.2.3-py2.6.egg/chameleon/core/template.py",
line 193, in cook_and_render
    return func(econtext, rcontext)
  File "<string>", line 69, in render
  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/dottedish-0.6-py2.6.egg/dottedish/dotteddict.py",
line 25, in __getitem__
    return api.get(self._o, key)
  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/dottedish-0.6-py2.6.egg/dottedish/api.py",
line 40, in get
    return wrap(_get(o, key, default))
  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/dottedish-0.6-py2.6.egg/dottedish/api.py",
line 130, in _get
    return getitem(o, item_key)
  File "build/bdist.linux-i686/egg/simplegeneric.py", line 62, in dispatch
    return f(*args, **kw)
  File
"/home/iamedu/Projects/XMLDevelope/sys/lib/python2.6/site-packages/dottedish-0.6-py2.6.egg/dottedish/dotteddict.py",
line 10, in getitem_dict
    return o[key]
RuntimeError: Caught exception rendering template.
 - Expression: ``request.form()``
 - Filename:
/home/iamedu/Projects/XMLDevelope/bfg/RegPauta/regpauta/templates/access/
register.pt
 - Arguments:  macros: <Macros - at 0xa6244ac>
               renderer_name: regpauta:templates/access/register.pt
               xincludes: <XIncludes - at 0xa61244c>
               context: <AccessSection access at 0xa61254c>
               view: <FormView - at 0xa4ef2ac>
               request: <Request - at 0xa619b8c>
               template: <PageTemplateFile - at 0xa61242c>

KeyError: 'password'
----------------------------------------

If I use CheckedInput it works OK, do you know what it could be thanks?
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to