dicompyler
dicompyler copied to clipboard
Dead listener called
Hi! Running dicompyler sometime I get a "RuntimeError: BUG: Dead Listener called, still subscribed!". The error is linked to "pub.sendMessage('patient.updated.raw_data', value)" into the ImportDicom function.
The error is not deterministically raised, and so I think is in some manner related to the threading stuff. Anyway, apart the "printing", the software works correctly.
Can anyone help me?
Thanks!
from: https://groups.google.com/forum/?hl=en#!topic/dicompyler/gYUFZYyFd5g
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
From the thread, the solution is to add:
pub.unsubscribe(self.OnUpdatePatient, 'patient.updated.raw_data')
at the bottom of the function: OnUpdatePatient
in treeview.py