[Blink] Encountering error in the create account dialogue

Adrian Georgescu ag at ag-projects.com
Wed Sep 15 15:40:49 CEST 2021


This was a bug and is now fixed.

Regards,
Adrian

> On 7 Sep 2021, at 13:04, Charlie Hanley <charlieshanley at gmail.com> wrote:
> 
> Hello,
> 
> I am packaging Blink with Nix to add it to the NIxpkgs repository (Blink 3.2.0 was added to NIxpkgs some time ago but no longer works). After building Blink with Nix, I encounter a runtime error in the create-account process. Specifically, after filling the forms and clicking "add", I think it calls out to a server and gets a response, but raises an error doing something with the response data. Below is the error message that is printed to the console:
> 
> ERROR    [sipsimple] Exception occurred while calling <function AddAccountDialog._create_sip_account at 0x7f73a351a8b0> in the 'network-io' thread
> ERROR    [sipsimple] Traceback (most recent call last):
> ERROR    [sipsimple]   File "/nix/store/829qypvrrwrybds0ad9ca1hgkqak26sy-python3.9-python3-sipsimple-5.2.6/lib/python3.9/site-packages/sipsimple/threading/__init__.py", line 36, in _EH_CallFunctionEvent
> ERROR    [sipsimple]     event.function(*event.args, **event.kw <http://event.kw/>)
> ERROR    [sipsimple]   File "/nix/store/8mm8p9qwvb8n7s5m724yy68zxjvqs6q2-blink-5.1.6/lib/python3.9/site-packages/blink/accounts.py", line 482, in _create_sip_account
> ERROR    [sipsimple]     account.tls.certificate = certificate_path
> ERROR    [sipsimple] AttributeError: 'Account' object has no attribute 'tls'
> 
> Is this error expected, or something that has been encountered before? If not, it is possible that it's happening because I don't have it packaged quite right yet -- perhaps missing a runtime dep, or something. In that case, I'd be grateful for any insight on what might be causing it.
> 
> Also, for transparency, I'm seeing the warnings below printed on startup. I have assumed they're not a problem and unrelated to the issue above, but perhaps that's not right.
> 
> WARNING  [python] /nix/store/3fg4lzpx3658iggakz8n4hbj8xlk37m4-python3.9-gevent-20.9.0/lib/python3.9/site-packages/gevent/monkey.py:1021: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See https://github.com/gevent/gevent/issues/1016 <https://github.com/gevent/gevent/issues/1016>. Modules that had direct imports (NOT patched): ['urllib3.util (/nix/store/586m9nghznq2jqif3gsxklswd1x7i692-python3.9-urllib3-1.26.6/lib/python3.9/site-packages/urllib3/util/__init__.py)', 'urllib3.util.ssl_ (/nix/store/586m9nghznq2jqif3gsxklswd1x7i692-python3.9-urllib3-1.26.6/lib/python3.9/site-packages/urllib3/util/ssl_.py)']. 
> WARNING  [python]   _queue_warning(
> Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
> Could not create pixmap from resources/icons/blink.png
> 
> Thanks,
> Charlie
> _______________________________________________
> Blink mailing list
> Blink at lists.ag-projects.com
> https://lists.ag-projects.com/mailman/listinfo/blink

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20210915/fbf896ad/attachment.htm>


More information about the Blink mailing list