Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Dead listener called #100

Open
bastula opened this issue Feb 18, 2017 · 1 comment
Open

Dead listener called #100

bastula opened this issue Feb 18, 2017 · 1 comment
Assignees

Comments

@bastula
Copy link
Owner

bastula commented Feb 18, 2017

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
Copy link
Owner Author

bastula commented Feb 18, 2017

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 bastula self-assigned this Oct 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant