Oh, to add to my previous message: I am using NixOS 21.05, and am packaging Blink 5.1.6.
If it's useful, my draft PR to Nixpkgs, which shows versions of dependencies, etc, is here: https://github.com/NixOS/nixpkgs/pull/136924/files?diff=unified&w=1#diff-bbfb25e4ac2d6d3e00789bb3536b90cea8e5684878aefaae6b2ed895b09f801d On Tue, Sep 7, 2021 at 12:04 PM Charlie Hanley <[email protected]> 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) > 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. 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 [email protected] https://lists.ag-projects.com/mailman/listinfo/blink
