dicompyler icon indicating copy to clipboard operation
dicompyler copied to clipboard

Dead listener called

Open bastula opened this issue 8 years ago • 1 comments

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.

bastula avatar Feb 18 '17 05:02 bastula

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

bastula avatar Feb 18 '17 05:02 bastula