Electrum connection error

Sid sid at bsdmail.com
Mon May 13 18:12:45 UTC 2019


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.


More information about the freebsd-ports mailing list