Package Details: chia-gui-git 1.1.1.r14.ge7304c59-1

Git Clone URL: https://aur.archlinux.org/chia-gui-git.git (read-only, click to copy)
Package Base: chia-gui-git
Description: A new blockchain and smart transaction platform that is easier to use, more efficient, and secure. - Also installs GUI
Upstream URL: https://www.chia.net/
Licenses: Apache
Conflicts: chia, chia-gui
Provides: chia, chia-gui
Submitter: BenTheTechGuy
Maintainer: None
Last Packager: BenTheTechGuy
Votes: 1
Popularity: 0.000053
First Submitted: 2021-02-25 02:05 (UTC)
Last Updated: 2021-04-26 00:04 (UTC)

Latest Comments

void09 commented on 2021-07-11 14:19 (UTC) (edited on 2021-07-11 14:21 (UTC) by void09)

Anyone else having trouble compiling this at the moment ? I get this error:


npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: chia-blockchain@undefined
npm ERR! Found: react-refresh@0.10.0
npm ERR! node_modules/react-refresh
npm ERR!   dev react-refresh@"^0.10.0" from the root project
npm ERR! 

npm ERR! Could not resolve dependency:
npm ERR! peer react-refresh@">=0.8.3 <0.10.0" from @pmmmwh/react-refresh-webpack-plugin@0.4.3
npm ERR! node_modules/@pmmmwh/react-refresh-webpack-plugin
npm ERR!   dev @pmmmwh/react-refresh-webpack-plugin@"^0.4.3" from the root project

BenTheTechGuy commented on 2021-04-25 23:10 (UTC) (edited on 2021-04-26 00:14 (UTC) by BenTheTechGuy)

Unfortunately the packages it installs are from a custom repo so I can't just install the normal arch ones. Alternatively I could post these packages into the AUR but this could run into problems with versioning, but I'll look into it.

Edit: Looking into it further, the miniupnpc from chia's repo shouldn't be installed as a system package because it conflicts with the normal one. Further, running pip in the package isn't dangerous because it's installed locally in the venv instead of system-wide. The wheel and pip it installs however can be installed system-wide so they have been added to normal depends and their pip install lines have been removed. Now the only packages installed via pip install are the modified miniupnpc and chia's own source code, and they're installed locally in the venv so it is safe. Also your statement about gtk3 is correct. It now replaces gtk in the dependencies.

micwoj92 commented on 2021-04-25 21:09 (UTC)

Also this package uses pip install and that is not a good way to install python dependencies. Please fix.

micwoj92 commented on 2021-04-25 21:07 (UTC)

What it needs is probably gtk3 then, I still have doubts that this package needed gtk which has been obsolete for couple years now. I haven't actually ran the software so I don't know which toolkit it needs.

BenTheTechGuy commented on 2021-04-25 18:47 (UTC)

It shouldn't anymore, it used to but I don't think they depend on gtk anymore and rather everything is packaged into electron. I still need a way to make sure the user has a gui though, there's probably better ways than just having the dependency gtk but I haven't researched them. I could use xorg-server but some people are using wayland, etc etc

micwoj92 commented on 2021-04-25 04:52 (UTC)

Does it still need gtk dependency?

BenTheTechGuy commented on 2021-04-18 02:08 (UTC)

@attilaolah: Thank you for the fixes. They are now integrated into the package along with the new websocket dependency.

attilaolah commented on 2021-04-15 14:41 (UTC)

Also, looks like community/python-websockets should be a (runtime) dependency.

attilaolah commented on 2021-04-15 14:35 (UTC)

FWIW this diff seems to fix the issue for me:

diff --git a/PKGBUILD b/PKGBUILD
index d6cf36c..b4b39be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,8 +34,8 @@ build() {
        . ./activate
        pip install --upgrade pip
        pip install wheel
-       pip install --extra-index-url https://download.chia.net/simple/ miniupnpc==2.1
-       pip install -e . --extra-index-url https://download.chia.net/simple/
+       pip install https://download-chia-net.s3-us-west-2.amazonaws.com/simple/miniupnpc/miniupnpc-2.1.tar.gz
+       pip install -e .
        cd chia-blockchain-gui
        npm install
        npm audit fix

attilaolah commented on 2021-04-15 14:30 (UTC)

miniupnpc==2.1 is not found because the pypi index URL has changed. It is now https://download.chia.net/?prefix=simple/ (but it is dynamically loaded from https://download-chia-net.s3-us-west-2.amazonaws.com/simple/, which does not serve the right conten-type.)

I guess an alternative is to manually install those pypi packages during the build (by modifying pkgbuild).

e3a4 commented on 2021-03-22 17:13 (UTC)

I can't install this due to the following error

ERROR: Could not find a version that satisfies the requirement miniupnpc==2.1 ERROR: No matching distribution found for miniupnpc==2.1 ==> ERROR: A failure occurred in build(). Aborting... error making: chia-gui-git

BunchOfAtoms commented on 2021-03-06 11:42 (UTC)

@ordtrogen: I can confirm the same issue you are reporting.

@BenTheTechGuy: where do you see they are working on a fix?

ordtrogen commented on 2021-03-02 10:34 (UTC) (edited on 2021-03-02 10:34 (UTC) by ordtrogen)

Thanks, I see your point. Installing python-websockets just results in another error however.

stderr: Traceback (most recent call last):
  File "/opt/chia-blockchain/chia-blockchain-gui/../src/daemon/server.py", line 16, in <module>
    from src.cmds.init import chia_init
stderr: ModuleNotFoundError: No module named 'src'
closing code: 1

BenTheTechGuy commented on 2021-02-26 02:59 (UTC)

I believe that's a chia issue rather than an issue with this package, since it has the same dependencies and installation method as their official install guide, and this problem has been reported from other distros as well. The issue is that chia's install script doesn't install all the dependencies it needs right off the bat, so you need to install some manually; they're working on fixing it right now. In the meantime you can install the python-websockets package.

ordtrogen commented on 2021-02-25 11:22 (UTC)

It's truly awesome that you're providing this! I do have a problem when starting. I'll try to install websockets and see if anything improves

Script ../src/daemon/server.py child process success stderr: Traceback (most recent call last): File "/opt/chia-blockchain/chia-blockchain-gui/../src/daemon/server.py", line 15, in <module> from websockets import serve, ConnectionClosedOK, WebSocketException ModuleNotFoundError: No module named 'websockets' closing code: 1