[Zope3-Users] Re: [Zope] Re: z3c.form 1.4.0, z3c.formui 1.1.0, and z3c.formdemo 1.2.0 released!

Jeff Kowalczyk jtk at yahoo.com
Wed Jul 4 14:21:55 EDT 2007


--- Stephan Richter <srichter at cosmos.phy.tufts.edu> wrote:
> I accidently checked in my development buildout.cfg. I fixed that now and 
> everything should be fine.

Thanks, after the API update there is one class of errors remaining in
AddressBook, with each FormClass occurrence of:

    def updateWidgets(self):
        super(AddressForm, self).updateWidgets()
        for name, widget in self.widgets.items():
            widget.addClass(name)

ERROR SiteError http://localhost:8080/addressbook.html
Traceback (most recent call last):
  File
"/software/formdemo/eggs/tmppf6cGx/zope.publisher-3.4.0b1_r76188-py2.4.egg/zope/publisher/publish.py",
line 133, in publish
  File
"/software/formdemo/eggs/tmpGGl_q_/zope.app.publication-3.4.0a1_2-py2.4.egg/zope/app/publication/zopepublication.py",
line 167, in callObject
  File
"/software/formdemo/eggs/tmppf6cGx/zope.publisher-3.4.0b1_r76188-py2.4.egg/zope/publisher/publish.py",
line 108, in mapply
   - __traceback_info__: <security proxied z3c.pagelet.zcml.AddressBook
instance at 0x8ea1c4c>
  File
"/software/formdemo/eggs/tmppf6cGx/zope.publisher-3.4.0b1_r76188-py2.4.egg/zope/publisher/publish.py",
line 114, in debug_call
  File "/software/formdemo/src/z3c/formdemo/addressbook/browser.py", line 412,
in __call__
    self.update()
  File "/software/formdemo/src/z3c/formdemo/addressbook/browser.py", line 397,
in update
    self.form.update()
  File "/software/formdemo/src/z3c/formdemo/addressbook/browser.py", line 275,
in update
    self.phonesForm.update()
  File "/software/formdemo/src/z3c/formdemo/addressbook/browser.py", line 176,
in update
    form.update()
  File "/software/formdemo/eggs/z3c.form-1.4.0-py2.4.egg/z3c/form/subform.py",
line 55, in update
    super(EditSubForm, self).update()
  File "/software/formdemo/eggs/z3c.form-1.4.0-py2.4.egg/z3c/form/form.py",
line 96, in update
    self.updateWidgets()
  File "/software/formdemo/src/z3c/formdemo/addressbook/browser.py", line 136,
in updateWidgets
    widget.addClass(name)
AttributeError: 'TextWidget' object has no attribute 'addClass'


BTW, is the mailing list the right place to report minor issues with zope3
packages or add-ons like formdemo? This thread was also started crossposted,
should it be zope3-users only?

Thanks.



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433


More information about the Zope3-users mailing list