[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: Re: [Zope] Re: [Zope3-Users] Cannot view the instances after I refresh
From: Peter Bengtsson <peter () fry-it ! com>
Date: 2007-02-27 16:42:29
Message-ID: 45E45F75.3000203 () fry-it ! com
[Download RAW message or body]
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
>> Zope3-users@zope.org
>> http://mail.zope.org/mailman/listinfo/zope3-users
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 - Zope@zope.org
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 )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic