TypeError thrown in cleanup of fancylogger on SuSE
boegel opened this issue · 2 comments
boegel commented
The error message below occurs whenever a Python session is being terminated on a SuSE system (e.g. and fancylogger was used:
Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef at 0x2de37d0> ignored
This problem occurs on e.g.:
$ cat /etc/SuSE-release
openSUSE 12.3 (x86_64)
VERSION = 12.3
CODENAME = Dartmouth
The message is (mostly) harmless, as it doesn't seem to break anything
stdweird commented
what python version is this? can you give minimal example like
python -c "from vsc import fancylogger;log=fancylogger.getLogger();lon.info('x')"
boegel commented
$ python -V
Python 2.7.3
Can't seem to reproduce it easily, even with using fancylogger.logToScreen(enable=False, stdout=True)
as is done in main.py
...
I ran into this by bootstrapping EasyBuild on my OpenSuSE system, like other people did during the hackathon. I'll try and trigger the problem in another way...