Closed camp0 closed 3 years ago
Just double checking... did you run
. ./activate
sh install-gui.sh
cd chia-blockchain-gui
npm run electron &
Yes I did that before running the command
`(venv) [luis@localhost chia-blockchain-gui]$ pwd /home/luis/repositories/chia-blockchain/chia-blockchain-gui (venv) [luis@localhost chia-blockchain-gui]$ npm run electron & [1] 3725 (venv) [luis@localhost chia-blockchain-gui]$
chia-blockchain@ electron /home/luis/repositories/chia-blockchain/chia-blockchain-gui electron .
/home/luis/repositories/chia-blockchain/app.asar.unpacked/daemon
false
Error loading config - using defaults
/home/luis/repositories/chia-blockchain/app.asar.unpacked/daemon
false
/home/luis/repositories/chia-blockchain/app.asar.unpacked/daemon
false
Running python script
Script ../src/daemon/server.py
child process success
(node:3747) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information
stderr: Traceback (most recent call last):
File "/home/luis/repositories/chia-blockchain/chia-blockchain-gui/../src/daemon/server.py", line 18, in
I Just noticed for fedora there is an
npm run build
step. See here
Just want to confirm you have followed the install instructions as they are stated in the wiki for fedora (in the link above). Looks like there are a few pre requisite steps to get other dependencies for fedora before installing the gui.
Are you running fedora 33 server or workstation? I'm going to try recreating on my local machine. Also can you confirm you are on latest version of chia?
Yes im on the latest version of chia and on fedora33 lxd desktop, just git pull this morning and also run the "npm run build", from my point of view it looks that some path is missing on the running of server.py, trying to fix it but with no success now, keep you up to date if I make some progress there.
Hi All,
(venv) [luis@localhost chia-blockchain-gui]$ cat /etc/redhat-release Fedora release 33 (Thirty Three)
I make it working by adding this line on the server.py file
sys.path.append("/home/luis/repositories/chia-blockchain/chia-blockchain-gui/../") sys.path.append("/home/luis/repositories/chia-blockchain/chia-blockchain-gui/./") from src.cmds.init import chia_init from src.daemon.windows_signal import kill from src.server.server import ssl_context_for
Also I installed some packages that were missing or not installed correctly on the process of installation
pip install click pyyaml blspy clvm clvm_rs clvm_tools cryptography bitstring keyrings.cryptfile aiohttp colorlog concurrent_log_handler
I dont get errors on the python side but got a "start failed" `(venv) [luis@localhost chia-blockchain-gui]$ npm run electron & [1] 7186 (venv) [luis@localhost chia-blockchain-gui]$
chia-blockchain@ electron /home/luis/repositories/chia-blockchain/chia-blockchain-gui electron .
/home/luis/repositories/chia-blockchain/app.asar.unpacked/daemon false Error loading config - using defaults /home/luis/repositories/chia-blockchain/app.asar.unpacked/daemon false /home/luis/repositories/chia-blockchain/app.asar.unpacked/daemon false Running python script Script ../src/daemon/server.py child process success (node:7208) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information No cert Have cert `
Thanks for the fast response :)
@camp0 there is no visible error. Can you share more information? Debug log or something else? Thank you
'This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.'
'This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.'
Describe the bug While executing the command npm run electron some dependencies packages in python are missing, one is websocket that is easiliy solve by installing it "pip install websocket" but later there is a path dependencies that is failing.
Running python script Script ../src/daemon/server.py child process success (node:2940) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information stderr: Traceback (most recent call last): File "/home/luis/repositories/chia-blockchain/chia-blockchain-gui/../src/daemon/server.py", line 18, in
stderr: from src.cmds.init import chia_init
ModuleNotFoundError: No module named 'src'
closing code: 1
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.