Package Details: electron-cash 4.4.1-4

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-10-19 17:14 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

dkaparis commented on 2024-10-17 22:56 (UTC)

QR code scanning with camera does not work without qt5-multimedia installed - should be added to optdepends.

TomZander commented on 2024-10-05 12:43 (UTC)

Probably a missing dependency. After installing this I get this info that is really meant for developers instead of users:

zxing-cpp module missing. Please try installing it with: python3 -m pip install 'zxing-cpp>=2.2.0' --user

TomZander commented on 2024-08-21 18:55 (UTC)

This fails to compile with the following log:

==> Starting build()...
Found 262 files to translate
Generate template
xgettext: The option '--sort-output' is deprecated.
Traceback (most recent call last):
  File "/home/zander/data/pkg/electron-cash/src/Electron-Cash-4.4.1/contrib/make_locale", line 87, in <module>
    zfobj = zipfile.ZipFile(io.BytesIO(s))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/zipfile/__init__.py", line 1349, in __init__
    self._RealGetContents()
  File "/usr/lib/python3.12/zipfile/__init__.py", line 1416, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
==> ERROR: A failure occurred in build().
    Aborting...

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.