On Apr 8, 2005 3:20 PM, Jürgen Herrmann <[EMAIL PROTECTED]> wrote:
> TypeError: 'NoneType' object is not callable

This means that one module that needed to be reloaded either did not
get reloaded or was reloaded before the module from where it is

Exactly why this happens is hard to say, but it happens very often
where you have many modules that are dependent on each other. Refresh
basically is a bit of a pain to use on any module who contains some
sort of "core" functionality that other modules use. In principal you
need to refresh every module that uses the module that was refreshed,
and all modules that uses these modules. In the right order.

Quite often, no matter what you try, it will fail. In that case: restart.

The best way to avoid refresh-problems when debugging is to actually
use unit test, and thus avoid the whole issue...

Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to