After updating to the packages in 2024Q2, I'm no longer able to run electrum. $ electrum Traceback (most recent call last): File "/usr/local/bin/electrum", line 89, in <module> check_imports() File "/usr/local/bin/electrum", line 78, in check_imports raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.22.0<=ver<0.23') RuntimeError: aiorpcX version (0, 23, 1) does not match required: 0.22.0<=ver<0.23
I'd like to add that if I forcibly downgrade the devel/py-aiorpcX package, when I'm able to launch but have segfaults when I try to send payments when using 4.5.4. I did not have issues with 4.4.6. I also have the same segfault issues when running 4.5.4 "from source".
The dependency issue was fixed in latest (main) but not in quarterly. See: finance/electrum: https://cgit.FreeBSD.org/ports/commit/?id=91d3badef8f2b9f4ee96f4403d6eee08cbeb5da8 devel/py-aiorpcX-legacy: https://cgit.freebsd.org/ports/commit/?id=f1cceeacf8d1586f6432e68ea10dbf614d5fed05 Could you please switch to latest and check if you get any segfaults there? If it does, could you please open an issue at: https://github.com/spesmilo/electrum with the output of: python -X dev -X tracemalloc /usr/local/bin/electrum -v --testnet
I've just cherry-picked the commits [1] into quarterly but it's going to take some time for the package builders to catch up. You're probably faster building from source. [1] https://cgit.FreeBSD.org/ports/commit/?id=57aa8970c13460403975d9421dc1475ccf112e71 https://cgit.FreeBSD.org/ports/commit/?id=dae61fc2df54676ec7b641defc631fd582e875fb
Thank you! I ended up not getting to this till the packages came to quarterly. While electrum runs now, it stills segfaults when I try to send Bitcoin. Interestingly, it also segfaults when I press tab. Maybe related? I am using Wayland.
Could you kindly open an issue upstream, as noted in this (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278397#c2) comment? Once done, please share the issue number here. Thanks!
My bad! This is done now: https://github.com/spesmilo/electrum/issues/9032