[Blink] Cannot remove account

Huckle Berry huck.berry at gmail.com
Sun Dec 11 04:22:19 CET 2022


If I go to the "Blink" menu > Accounts > Manage Accounts, and select
the "[-]" button to remove an account a confirmation dialog appears.
Regardless of whether I press OK or Cancel, the account is not
removed.

I'm using blink 5.5.0

I see the following error in the logs:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/eventlib/api.py", line 472, in get_hub
    hub = _threadlocal.hub
AttributeError: '_thread._local' object has no attribute 'hub'. Did
you mean: 'Hub'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/blink/preferences.py", line
1190, in _SH_DeleteAccountButtonClicked
    selected_account.delete()
  File "/usr/lib/python3.10/site-packages/sipsimple/account/__init__.py",
line 218, in delete
    self.stop()
  File "/usr/lib/python3.10/site-packages/sipsimple/account/__init__.py",
line 200, in stop
    self._deactivate()
  File "/usr/lib/python3.10/site-packages/sipsimple/account/__init__.py",
line 543, in _deactivate
    proc.waitall([proc.spawn(handler.stop) for handler in handlers])
  File "/usr/lib/python3.10/site-packages/sipsimple/account/__init__.py",
line 543, in <listcomp>
    proc.waitall([proc.spawn(handler.stop) for handler in handlers])
  File "/usr/lib/python3.10/site-packages/eventlib/proc.py", line 554, in spawn
    proc.run(function, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/eventlib/proc.py", line 564, in run
    self.greenlet = spawn_greenlet(self._run, function, args, kwargs)
  File "/usr/lib/python3.10/site-packages/eventlib/proc.py", line 241,
in spawn_greenlet
    g.parent = api.get_hub().greenlet
  File "/usr/lib/python3.10/site-packages/eventlib/api.py", line 478, in get_hub
    hub = _threadlocal.hub = _threadlocal.Hub()
  File "/usr/lib/python3.10/site-packages/eventlib/hubs/twistedr.py",
line 225, in __init__
    BaseTwistedHub.__init__(self, g)
  File "/usr/lib/python3.10/site-packages/eventlib/hubs/twistedr.py",
line 124, in __init__
    raise RuntimeError('%s hub can only be instantiated once' %
type(self).__name__)
RuntimeError: TwistedHub hub can only be instantiated once


More information about the Blink mailing list