[Blink] Cannot remove account

Tijmen de Mes tijmen at ag-projects.com
Tue Feb 14 19:36:09 CET 2023


Hi,

I can confirm this. It will be fixed in the next version.

Best regards,

Tijmen de Mes
—
AG Projects

> Op 11 dec. 2022, om 04:22 heeft Huckle Berry <huck.berry at gmail.com> het volgende geschreven:
> 
> 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
> _______________________________________________
> Blink mailing list
> Blink at lists.ag-projects.com
> https://lists.ag-projects.com/mailman/listinfo/blink



More information about the Blink mailing list