Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2019 20:07:20 +0200
From:      Sid <sid@bsdmail.com>
To:        ehaupt@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   Electrum connection error
Message-ID:  <trinity-932979c9-2849-4c3f-b401-870f24ea45b9-1557770840084@3c-app-mailcom-lxa13>

next in thread | raw e-mail | index | archive | help
Hi,

I get the following error when running finance/electrum from the command line,

 E/i | interface.[****this Internet address changes****:50004] | Exception in wrapper_func: AttributeError("module 'aiorpcx' has no attribute 'Connector'",)
 Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/electrum/util.py", line 908, in wrapper
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/electrum/interface.py", line 306, in wrapper_func
    return await func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/electrum/interface.py", line 321, in run
    ssl_context = await self._get_ssl_context()
  File "/usr/local/lib/python3.6/site-packages/electrum/interface.py", line 289, in _get_ssl_context
    await self._try_saving_ssl_cert_for_first_time(ca_sslc)
  File "/usr/local/lib/python3.6/site-packages/electrum/interface.py", line 246, in _try_saving_ssl_cert_for_first_time
    ca_signed = await self.is_server_ca_signed(ca_ssl_context)
  File "/usr/local/lib/python3.6/site-packages/electrum/interface.py", line 236, in is_server_ca_signed
    await self.open_session(ca_ssl_context, exit_early=True)
  File "/usr/local/lib/python3.6/site-packages/electrum/interface.py", line 412, in open_session
    async with aiorpcx.Connector(NotificationSession,
 AttributeError: module 'aiorpcx' has no attribute 'Connector'


In the Makefile, this may possibly be related:

 # Supports 3.4+ but aiorpcX is 3.6+
 USES=           python:3.6+

This package is py36-electrum-3.3.5 on FreeBSD12.0 RELENG. Electrum runs, but it won't connect to a server. I got this error after building Electrum from ports. Later, I installed everything fresh from packages and got this same error, and still after rebuilding ports.

I sent this to freebsd-ports and to the maintainer. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-932979c9-2849-4c3f-b401-870f24ea45b9-1557770840084>