Package Details: electron-cash 4.4.0-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: 28
Popularity: 0.000000
First Submitted: 2017-08-18 15:38 (UTC)
Last Updated: 2024-03-06 17:50 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

haplo commented on 2024-03-14 15:22 (UTC)

The PKGBUILD is using a tar.gz file that is the full git tree (e.g. https://github.com/Electrum-Abc/Electrum-Abc/archive/4.4.0.tar.gz), which is different than the one published in the release (e.g. https://github.com/Electron-Cash/Electron-Cash/releases/download/4.4.0/Electron-Cash-4.4.0.tar.gz), so the SHA256 doesn't match.

Unless there is something that is needed from the archive version I propose the PKGBUILD is changed to use the release tar.gz, it would make it easier to validate for integrity.

ichundes commented on 2024-03-06 14:03 (UTC)

For version 4.4.0 this should depend on zxing-cpp

TomZander commented on 2023-07-06 18:22 (UTC) (edited on 2023-07-06 18:23 (UTC) by TomZander)

You should be able to avoid users manually doing this with the following diff;

-  'python-pathvalidate'
+  'python-pathvalidate>=3.0.0'

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.

<deleted-account> 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'