Re: Electrum connection error

2019-05-14 Thread Sid
It works now. Thank you so much.

> > Unfortunately the most recent update of devel/py-aiorpcX to 0.18.0
> > broke finance/electrum. It's even listed in the requirements:
> >
> > $ grep aiorpcx \
> > work-py36/Electrum-3.3.5/contrib/requirements/requirements.txt
> > aiorpcx>=0.17,<0.18
> >
> > A diff between aiorpcx 0.17.0 and 0.18.0 shows that there was quite a
> > churn that can't be easily fixed.
> >
> > For now I've downgraded devel/py-aiorpcX to 0.17.0,1 and bumped the
> > electrum port.
> >
> > Updating the ports tree and updating the two ports manually will solve
> > the issue until the package builders have caught up.
>
> Thank you.
>
> Now I have this error after updating and completely reinstalling electrum:
>
> Traceback (most recent call last):
>   File "/usr/local/bin/electrum", line 321, in 
> config_options['cwd'] = os.getcwd()
> FileNotFoundError: [Errno 2] No such file or directory
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Electrum connection error

2019-05-13 Thread Sid
> Unfortunately the most recent update of devel/py-aiorpcX to 0.18.0
> broke finance/electrum. It's even listed in the requirements:
>
> $ grep aiorpcx \
>   work-py36/Electrum-3.3.5/contrib/requirements/requirements.txt
> aiorpcx>=0.17,<0.18
>
> A diff between aiorpcx 0.17.0 and 0.18.0 shows that there was quite a
> churn that can't be easily fixed.
>
> For now I've downgraded devel/py-aiorpcX to 0.17.0,1 and bumped the
> electrum port.
>
> Updating the ports tree and updating the two ports manually will solve
> the issue until the package builders have caught up.

Thank you.

Now I have this error after updating and completely reinstalling electrum:

Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 321, in 
config_options['cwd'] = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory

[1]Exit 1electrum


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Electrum connection error

2019-05-13 Thread Emanuel Haupt
Sid  wrote:
> Hi,
> 
> I get the following error when running finance/electrum from the
> command line,
> 

[snip]

> aiorpcx.Connector(NotificationSession, AttributeError: module
> 'aiorpcx' has no attribute 'Connector'

Unfortunately the most recent update of devel/py-aiorpcX to 0.18.0
broke finance/electrum. It's even listed in the requirements:

$ grep aiorpcx \
work-py36/Electrum-3.3.5/contrib/requirements/requirements.txt 
aiorpcx>=0.17,<0.18

A diff between aiorpcx 0.17.0 and 0.18.0 shows that there was quite a
churn that can't be easily fixed.

For now I've downgraded devel/py-aiorpcX to 0.17.0,1 and bumped the
electrum port.

Updating the ports tree and updating the two ports manually will solve
the issue until the package builders have caught up.

Sorry for the inconvenience.

Emanuel
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Electrum connection error

2019-05-13 Thread Sid
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.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"