Re: Re: [Zope3-Users] Cannot view the instances after I refresh the product in ZMI
Peter Bengtsson <peter-mMftuLXk/[email protected]> Tue, 27 Feb 2007 16:42:29 +0000
| Newsgroups | gmane.comp.web.zope.general,gmane.comp.web.zope.chinese |
|---|---|
| Message-ID | <[email protected]> |
You're most likely getting that error because your product is subclassing another product that has been refreshed. Suppose you do this in MyAProduct.py from Products.AnotherProduct.Foo import SomeClass class ThisProduct(SomeClass): bla bla bla If you refresh AnotherProduct, the MyAProduct will break and you'll get the error you mentioned. David Johnson wrote: > Paste the code here. :) > > On Feb 27, 2007, at 6:16 AM, Alex Cheng wrote: > >> Hello, >> >> I have modified my product code and click refresh in ZMI to update the >> product. Unfortunately when I view its instance in zope. The error >> message is follows: >> >> Error Type: TypeError >> Error Value: 'NoneType' object is not callable >> >> Could you help me? >> >> Thanks. >> --powered by python >> _______________________________________________ >> Zope3-users mailing list >> [email protected] >> http://mail.zope.org/mailman/listinfo/zope3-users > > _______________________________________________ > Zope maillist - [email protected] > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists -http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com _______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )