Package Details: electron-cash 4.2.11-1

Git Clone URL: https://aur.archlinux.org/electron-cash.git (read-only, click to copy)
Package Base: electron-cash
Description: Lightweight Bitcoin Cash wallet
Upstream URL: http://www.electroncash.org/
Licenses: MIT
Conflicts: electron-cash
Provides: electron-cash
Submitter: 0x647262
Maintainer: 0e4ef622
Last Packager: 0e4ef622
Votes: 31
Popularity: 0.081033
First Submitted: 2017-08-18 15:38 (UTC)
Last Updated: 2022-08-19 21:08 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

ichundes commented on 2022-01-30 04:31 (UTC)

@NetHunter, is python-pathvalidate installed? You might need to explicitly reinstall it for newer Python versions when Arch updates.

NetHunter commented on 2022-01-29 17:33 (UTC)

$ electron-cash

Traceback (most recent call last):
  File "/usr/bin/electron-cash", line 96, in <module>
    from electroncash import bitcoin, util
  File "/usr/lib/python3.10/site-packages/electroncash/__init__.py", line 5, in <module>
    from .network import Network, pick_random_server
  File "/usr/lib/python3.10/site-packages/electroncash/network.py", line 45, in <module>
    from .interface import Connection, Interface
  File "/usr/lib/python3.10/site-packages/electroncash/interface.py", line 38, in <module>
    from pathvalidate import sanitize_filename
ModuleNotFoundError: No module named 'pathvalidate'

mueslo commented on 2022-01-07 13:03 (UTC)

the pkgbuild tries to use the very outdated pycryptodomex==3.6.6 which is not compatible with python 3.10. This is because this constraint is given in electron-cash's tox.ini.

This results in the following error:

.tox/py310/lib/python3.10/site-packages/Cryptodome/Cipher/_mode_ctr.py:37: in <module> from Cryptodome.Util.number import long_to_bytes E File "/tmp/makepkg/electron-cash/src/Electron-Cash-4.2.6/.tox/py310/lib/python3.10/site-packages/Cryptodome/Util/number.py", line 399 E s = pack('>I', n & 0xffffffffL) + s E ^ E SyntaxError: invalid hexadecimal literal

To fix while still running tests, append a specific forced version of pycryptodomex for tox like so:

tox -e py310 --force-dep pycryptodomex~=3.10

0e4ef622 commented on 2021-12-18 16:32 (UTC)

@currantpigeonsty From https://wiki.archlinux.org/title/PKGBUILD#replaces

If providing an alternate version of an already existing package or uploading to the AUR, use the conflicts and provides arrays, which are only evaluated when actually installing the conflicting package.

electron-cash is already in conflicts and provides.

commented on 2021-12-18 14:15 (UTC)

Could you please add electron-cash to Conflicts and Replaces?

0e4ef622 commented on 2021-12-14 15:24 (UTC)

@quest Try rebuilding python-pathvalidate. In general, anytime a Python upgrade happens, you need to rebuild all your AUR python packages.

quest commented on 2021-12-14 09:25 (UTC)

This is broken for me now...

Traceback (most recent call last):
  File "/usr/bin/electron-cash", line 96, in <module>
    from electroncash import bitcoin, util
  File "/usr/lib/python3.10/site-packages/electroncash/__init__.py", line 5, in <module>
    from .network import Network, pick_random_server
  File "/usr/lib/python3.10/site-packages/electroncash/network.py", line 45, in <module>
    from .interface import Connection, Interface
  File "/usr/lib/python3.10/site-packages/electroncash/interface.py", line 38, in <module>
    from pathvalidate import sanitize_filename
ModuleNotFoundError: No module named 'pathvalidate'

ZaZam commented on 2021-12-13 19:31 (UTC) (edited on 2021-12-13 19:50 (UTC) by ZaZam)

py39 needs to be changed to py310 in PKGBUILD because of Python 3.10. And the python dependency should be versioned because of that line. For example:

'python>3.10'
'python<3.11'

ichundes commented on 2021-12-09 17:44 (UTC)

@0e4ef622 @ZaZam i think this was updated early before 4.2.6 was officially released. The 4.2.6 release on Github was replaced with an updated version that contains a fix for the AppImage when run on Debian and others.

ZaZam commented on 2021-12-08 17:43 (UTC)

I get a different sha256sum for electron-cash-4.2.6.tar.gz: 8736d53c17dafb7b35e81c13d26fa38be9f5bb5adaf4808cfcbc067da024df24