<div dir="ltr"><div>Oh, to add to my previous message: I am using NixOS 21.05, and am packaging Blink 5.1.6.</div><div><br></div><div>If it's useful, my draft PR to Nixpkgs, which shows versions of dependencies, etc, is here: <a href="https://github.com/NixOS/nixpkgs/pull/136924/files?diff=unified&w=1#diff-bbfb25e4ac2d6d3e00789bb3536b90cea8e5684878aefaae6b2ed895b09f801d">https://github.com/NixOS/nixpkgs/pull/136924/files?diff=unified&w=1#diff-bbfb25e4ac2d6d3e00789bb3536b90cea8e5684878aefaae6b2ed895b09f801d</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 7, 2021 at 12:04 PM Charlie Hanley <<a href="mailto:charlieshanley@gmail.com">charlieshanley@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>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:<br></div><div><br></div><div>ERROR    [sipsimple] Exception occurred while calling <function AddAccountDialog._create_sip_account at 0x7f73a351a8b0> in the 'network-io' thread<br>ERROR    [sipsimple] Traceback (most recent call last):<br>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<br>ERROR    [sipsimple]     event.function(*event.args, **<a href="http://event.kw" target="_blank">event.kw</a>)<br>ERROR    [sipsimple]   File "/nix/store/8mm8p9qwvb8n7s5m724yy68zxjvqs6q2-blink-5.1.6/lib/python3.9/site-packages/blink/accounts.py", line 482, in _create_sip_account<br>ERROR    [sipsimple]     account.tls.certificate = certificate_path<br>ERROR    [sipsimple] AttributeError: 'Account' object has no attribute 'tls'</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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 <a href="https://github.com/gevent/gevent/issues/1016" target="_blank">https://github.com/gevent/gevent/issues/1016</a>. 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)']. <br>WARNING  [python]   _queue_warning(<br>Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.<br>Could not create pixmap from resources/icons/blink.png</div><div><br></div><div>Thanks,</div><div>Charlie<br></div></div>
</blockquote></div>