weird exception : AttributeError: 'module' object has no attribute 'logException'

kepioo nkammah at yahoo.fr
Mon Sep 18 22:08:05 EDT 2006


I am running a script (summary.py) which is calling the method
logException in another module ( pytool).

Yesterday, ard 18:50, all of a sudden summary.py was throwing the
exception :

AttributeError: 'module' object has no attribute 'logException'


What I did to fix it was to delete the compiled version of the pytool
and run again. And it worked again.


I am now trying to understand what happened, working with the network
admin to see who modified the direcory where pytool is stored.

But do you have any idea of what could have happened? All the imports
are working, but no method could be called on the compiled files.


Thanks for your help,

N.




More information about the Python-list mailing list