Created attachment 578102 [details] info.txt I can't start Electrum anymore due to the following error: ### BEGIN ERROR MESSAGE ### Traceback (most recent call last): File "/usr/lib/python-exec/python3.6/electrum", line 79, in <module> from electrum.logging import get_logger, configure_logging File "/usr/lib64/python3.6/site-packages/electrum/__init__.py", line 3, in <module> from .wallet import Wallet File "/usr/lib64/python3.6/site-packages/electrum/wallet.py", line 56, in <module> from . import transaction, bitcoin, coinchooser, paymentrequest, ecc, bip32 File "/usr/lib64/python3.6/site-packages/electrum/paymentrequest.py", line 46, in <module> from .network import Network File "/usr/lib64/python3.6/site-packages/electrum/network.py", line 54, in <module> from .interface import (Interface, serialize_server, deserialize_server, File "/usr/lib64/python3.6/site-packages/electrum/interface.py", line 38, in <module> from aiorpcx import RPCSession, Notification, NetAddress ImportError: cannot import name 'NetAddress' ### END ERROR MESSAGE ### Some more info: $ emerge -pv electrum aiorpcX These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-python/aiorpcX-0.10.2::gentoo PYTHON_TARGETS="python3_6" 0 KiB [ebuild R ] net-misc/electrum-3.3.6::gentoo USE="cli ncurses qt5 -audio_modem -coldcard -cosign -digitalbitbox -email -greenaddress_it -qrcode -revealer -safe_t -sync -trustedcoin_com -vkb" L10N="-ar -be -bg -cs -da -de -el -eo -es -fa -fr -hu -hy -id -it -ja -ko -ky -lv -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sv -ta -th -tr -uk -vi -zh-CN -zh-TW" PYTHON_TARGETS="python3_6" 0 KiB Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
Can confirm. Having the same error.
I'm having the same problem. Seems like that NetAddress was added (1) in version 0.17 of dev-python/aiorpcX. Current ebuild in the tree is 0.10.2 1: https://github.com/kyuupichan/aiorpcX/commit/d86913737fc09e7f61800de5fa53d66195451a4c#diff-b21c25c15b1805bef88588b55ce0586b
I can confirm this error. So this ebuild has a missing dependency RDEPEND= .... >=dev-python/aiorpcX-0.17 Please fix that. I will file a version bump request for dev-python/aiorpcX. Question: how is it possible for the maintainer NOT to detect this problem while publishing this ebuild?
Okay this is fixed. For users of this package, please test and let me know if there are any other issues. If not, can someone open a stabilization bug for 3.3.6 in about a week and we'll get the latest version stable.
Yes I will do.
Unfortunately net-misc/electrum-3.3.6 is now starting, but does not connect to network services. console messages are now: martin@bln9716n ~ $ electrum E/i | interface.[elec.luggs.co:443] | Exception in wrapper_func: AttributeError("module 'aiorpcx' has no attribute 'Connector'",) Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/electrum/util.py", line 908, in wrapper return await func(*args, **kwargs) File "/usr/lib64/python3.6/site-packages/electrum/interface.py", line 314, in wrapper_func return await func(self, *args, **kwargs) File "/usr/lib64/python3.6/site-packages/electrum/interface.py", line 334, in run await self.open_session(ssl_context) File "/usr/lib64/python3.6/site-packages/electrum/interface.py", line 420, in open_session async with aiorpcx.Connector(NotificationSession, AttributeError: module 'aiorpcx' has no attribute 'Connector' after some investigation and testing my solution is: RDEPEND= .. =aiorpcX-0.17.0 because this is the only released version with "attribute Connector" and "Netadress" Reference: https://github.com/kyuupichan/aiorpcX/blob/master/docs/changelog.rst "Version 0.18.0 (09 May 2019) ... Unfortunately this required changing several APIs. ... The old Connector and Server classes are gone." I will open a new bug for aiorpcX-0.17.0.
Please reopen this bug.
(In reply to Martin Dummer from comment #6) > > RDEPEND= .. > =aiorpcX-0.17.0 > Before I put 0.17.0 on the tree, can you confirm that you tested with that version and it worked?
(In reply to Anthony Basile from comment #8) > (In reply to Martin Dummer from comment #6) > > > > > RDEPEND= .. > > =aiorpcX-0.17.0 > > > > Before I put 0.17.0 on the tree, can you confirm that you tested with that > version and it worked? Definitely yes, it works with aiorpcX-0.17.0. Didn't I write "after some investigation and testing" ???
(In reply to Martin Dummer from comment #9) > (In reply to Anthony Basile from comment #8) > > (In reply to Martin Dummer from comment #6) > > > > > > > > RDEPEND= .. > > > =aiorpcX-0.17.0 > > > > > > > Before I put 0.17.0 on the tree, can you confirm that you tested with that > > version and it worked? > > Definitely yes, it works with aiorpcX-0.17.0. > > Didn't I write "after some investigation and testing" ??? okay this should be fixed now. please reopen if it is still a problem.
After emerge -C dev-python/aiorpcX net-misc/electrum emerge -av --depclean emerge -v net-misc/electrum the application work without error messages. THX