- Chia Version 1.1.6 (raspbery pi 4) error #5831
- stderr: [814] Failed to execute script start_full_node #2218
- Comments
- laurentbillet commented Apr 20, 2021
- [BUG] Connecting to wallet. #2275
- Comments
- penlion commented Apr 21, 2021
- penlion commented Apr 21, 2021
- hbroer commented Apr 21, 2021
- fullet-tortuga commented Apr 21, 2021
- penlion commented Apr 21, 2021
- hbroer commented Apr 21, 2021
- darkodus commented Apr 21, 2021
- DougieC commented Apr 24, 2021
- MayBankCH commented Apr 24, 2021 •
- DougieC commented Apr 24, 2021
- miron commented Apr 26, 2021 •
- drakunov commented Apr 26, 2021
- q5sys commented Apr 27, 2021
- Ed-Yang commented Apr 29, 2021
- sxpert commented Apr 30, 2021
- oktaysar16 commented Apr 30, 2021 •
- Maritims commented May 2, 2021
- jmcgonegal commented May 3, 2021
- vittorio88 commented May 10, 2021
- farmerer commented May 10, 2021
- Fekha commented May 10, 2021
- tksalarzai commented May 11, 2021
- lyl-freeman commented May 15, 2021
- webaholic123 commented May 16, 2021 •
- jakuba1909 commented May 17, 2021
Chia Version 1.1.6 (raspbery pi 4) error #5831
I have just installed the new version in my raspberry pi 4. (previous version was 1.1.5 and was working perfectly)
after fresh install (tried two times) I keep getting this error when doing:
. ./activate
chia start farmer.
few more details:
/.chia folder has not been altered in any way.
chia init
Chia directory /home/pi/.chia/mainnet
/home/pi/.chia/mainnet already exists, no migration action taken
chia version
1.1.6
Traceback (most recent call last):
File «/home/pi/chia-blockchain/venv/bin/chia_full_node», line 33, in
sys.exit(load_entry_point(‘chia-blockchain’, ‘console_scripts’, ‘chia_full_node’)())
File «/home/pi/chia-blockchain/chia/server/start_full_node.py», line 60, in main
return run_service(**kwargs)
File «/home/pi/chia-blockchain/chia/server/start_service.py», line 226, in run_service
return asyncio.run(async_run_service(*args, **kwargs))
File «/usr/lib/python3.7/asyncio/runners.py», line 43, in run
return loop.run_until_complete(main)
File «/usr/lib/python3.7/asyncio/base_events.py», line 584, in run_until_complete
return future.result()
File «/home/pi/chia-blockchain/chia/server/start_service.py», line 220, in async_run_service
return await service.run()
File «/home/pi/chia-blockchain/chia/server/start_service.py», line 160, in run
await self.start()
File «/home/pi/chia-blockchain/chia/server/start_service.py», line 128, in start
await self._node._start(**kwargs)
File «/home/pi/chia-blockchain/chia/full_node/full_node.py», line 127, in _start
self.blockchain = await Blockchain.create(self.coin_store, self.block_store, self.constants)
File «/home/pi/chia-blockchain/chia/consensus/blockchain.py», line 105, in create
self.pool = ProcessPoolExecutor(max_workers=num_workers)
File «/usr/lib/python3.7/concurrent/futures/process.py», line 542, in init
pending_work_items=self._pending_work_items)
File «/usr/lib/python3.7/concurrent/futures/process.py», line 158, in init
super().init(max_size, ctx=ctx)
File «/usr/lib/python3.7/multiprocessing/queues.py», line 42, in init
self._rlock = ctx.Lock()
File «/usr/lib/python3.7/multiprocessing/context.py», line 67, in Lock
return Lock(ctx=self.get_context())
File «/usr/lib/python3.7/multiprocessing/synchronize.py», line 162, in init
SemLock.init(self, SEMAPHORE, 1, 1, ctx=ctx)
File «/usr/lib/python3.7/multiprocessing/synchronize.py», line 59, in init
unlink_now)
PermissionError: [Errno 13] Permission denied
Traceback (most recent call last):
File «/home/pi/chia-blockchain/venv/bin/chia_wallet», line 33, in
sys.exit(load_entry_point(‘chia-blockchain’, ‘console_scripts’, ‘chia_wallet’)())
File «/home/pi/chia-blockchain/chia/server/start_wallet.py», line 92, in main
return run_service(**kwargs)
File «/home/pi/chia-blockchain/chia/server/start_service.py», line 226, in run_service
return asyncio.run(async_run_service(*args, **kwargs))
File «/usr/lib/python3.7/asyncio/runners.py», line 43, in run
return loop.run_until_complete(main)
File «/usr/lib/python3.7/asyncio/base_events.py», line 584, in run_until_complete
return future.result()
File «/home/pi/chia-blockchain/chia/server/start_service.py», line 220, in async_run_service
return await service.run()
File «/home/pi/chia-blockchain/chia/server/start_service.py», line 160, in run
await self.start()
File «/home/pi/chia-blockchain/chia/server/start_service.py», line 128, in start
await self._node._start(**kwargs)
File «/home/pi/chia-blockchain/chia/wallet/wallet_node.py», line 154, in _start
private_key, self.config, path, self.constants, self.server
File «/home/pi/chia-blockchain/chia/wallet/wallet_state_manager.py», line 145, in create
self.lock,
File «/home/pi/chia-blockchain/chia/wallet/wallet_blockchain.py», line 102, in create
self.pool = ProcessPoolExecutor(max_workers=num_workers)
File «/usr/lib/python3.7/concurrent/futures/process.py», line 542, in init
pending_work_items=self._pending_work_items)
File «/usr/lib/python3.7/concurrent/futures/process.py», line 158, in init
super().init(max_size, ctx=ctx)
File «/usr/lib/python3.7/multiprocessing/queues.py», line 42, in init
self._rlock = ctx.Lock()
File «/usr/lib/python3.7/multiprocessing/context.py», line 67, in Lock
return Lock(ctx=self.get_context())
File «/usr/lib/python3.7/multiprocessing/synchronize.py», line 162, in init
SemLock.init(self, SEMAPHORE, 1, 1, ctx=ctx)
File «/usr/lib/python3.7/multiprocessing/synchronize.py», line 59, in init
unlink_now)
PermissionError: [Errno 13] Permission denied
Exception in thread Thread-2:
Traceback (most recent call last):
File «/home/pi/chia-blockchain/venv/lib/python3.7/site-packages/aiosqlite/core.py», line 109, in run
get_loop(future).call_soon_threadsafe(set_result, future, result)
File «/usr/lib/python3.7/asyncio/base_events.py», line 733, in call_soon_threadsafe
self._check_closed()
File «/usr/lib/python3.7/asyncio/base_events.py», line 480, in _check_closed
raise RuntimeError(‘Event loop is closed’)
RuntimeError: Event loop is closed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «/usr/lib/python3.7/threading.py», line 917, in _bootstrap_inner
self.run()
File «/home/pi/chia-blockchain/venv/lib/python3.7/site-packages/aiosqlite/core.py», line 117, in run
get_loop(future).call_soon_threadsafe(set_exception, future, e)
File «/usr/lib/python3.7/asyncio/base_events.py», line 733, in call_soon_threadsafe
self._check_closed()
File «/usr/lib/python3.7/asyncio/base_events.py», line 480, in _check_closed
raise RuntimeError(‘Event loop is closed’)
RuntimeError: Event loop is closed
Hope someone can help, until fixed my node will stay down.
Источник
stderr: [814] Failed to execute script start_full_node #2218
Comments
laurentbillet commented Apr 20, 2021
Describe the bug
When opening Chia application, creating keys go well but then when starting Full node (see screenShot)
Error message from log:
_Running python executable:
child process success
(node:803) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
No cert
Have cert
stderr: Traceback (most recent call last):
File «chia/server/start_full_node.py», line 65, in
stderr: File «chia/server/start_full_node.py», line 60, in main
File «chia/server/start_service.py», line 211, in run_service
File «asyncio/runners.py», line 44, in run
File «asyncio/base_events.py», line 642, in run_until_complete
File «chia/server/start_service.py», line 205, in async_run_service
File «chia/server/start_service.py», line 150, in run
File «chia/server/start_service.py», line 121, in start
File «chia/full_node/full_node.py», line 115, in _start
File «chia/consensus/blockchain.py», line 105, in create
File «chia/consensus/blockchain.py», line 117, in _load_chain_from_store
File «chia/full_node/block_store.py», line 317, in get_peak_height_dicts
stderr: File «aiosqlite/cursor.py», line 65, in fetchall
File «aiosqlite/cursor.py», line 31, in _execute
File «aiosqlite/core.py», line 129, in execute
File «aiosqlite/core.py», line 102, in run
sqlite3.DatabaseError: database disk image is malformed
stderr: [814] Failed to execute script start_full_node
To Reproduce
No sure how to reproduce it since I follow standard process to install and run chia app.
Expected behavior
I was expecting full node synchronisation to start
Desktop (please complete the following information):
Additional context
First opening of chia worked actually well and synchronisation started however application quited before being fulIy synched have this error
Reinstalling OS and chia app did not help
The text was updated successfully, but these errors were encountered:
Источник
[BUG] Connecting to wallet. #2275
Comments
penlion commented Apr 21, 2021
*Describe the bug
After reload stop at Connecting to wallet.
To Reproduce
Steps to reproduce the behavior:
- Go to ‘. ‘
- Click on ‘reload’
- Scroll down to ‘. ‘
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
- OS: [e.g. Windows 12 sr]
- OS Version/Flavor:
- CPU: [e.g. Intel Xeon 6130]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
penlion commented Apr 21, 2021
I would suggest using the CLI. The GUI is just unreliable.
hbroer commented Apr 21, 2021
It does not help to say «use cli» if someone has a problem with the gui. If the gui is not useable then it should not be there. Or at least the cli should be useable without adding the path by hand and change that path manually with every update (version in path).
Btw. same problem. And wallet is out of sync stuck at height 2.
fullet-tortuga commented Apr 21, 2021
I agree on the path issue, it makes absolutely no sense to change the path in every version plus it makes testing this program a nightmare.
penlion commented Apr 21, 2021
hbroer commented Apr 21, 2021
«The GUI should work independently and interface with apis of the services and not control their life cycle.»
True that. I think that is the main problem here.
darkodus commented Apr 21, 2021
I don’t have exact steps for Windows, but check out #2218 for some reasoning around this. There’s basically a couple of problems that might lead to this state: the database corrupts due to a sudden application or computer crash, or the port it tries to use is reserved by some other application (vmware or hyperv seem to be common culprits). If it’s the database problem then the steps I mentioned in the comment there should have Windows equivalents as well if you can figure them out.
DougieC commented Apr 24, 2021
I’ve got the same as OP. Stuck connecting to wallet on startup. This only happens with my main rig (plotter), my laptop (farm hub) connects no problem. Was running fine yesterday, exited app to use the rig for something else, went to restart chia and couldn’t connect to wallet. Left it overnight, still not connected.
I’ve wiped chia app and app data, no difference.
Task manager also shows 4 instances of chia running when opening, 3xchia and 1x chia blockchain. No daemon / wallet / farm.
If you need any logs for debug etc just shout.
MayBankCH commented Apr 24, 2021 •
uninstall and also remove .chia folder.
DougieC commented Apr 24, 2021
Figured that out about 20 minutes after I posted here! All good now.
miron commented Apr 26, 2021 •
Could anyone plotting try out if it helps to stop the start_wallet process and start it again?
Steps to do it:
Stop via task manager or:
C:\Users\username\AppData\Local\chia-blockchain\app-1.1.1\resources\app.asar.unpacked\daemon\chia.exe stop wallet
C:\Users\username\AppData\Local\chia-blockchain\app-1.1.1\resources\app.asar.unpacked\daemon\chia.exe start wallet
Does it work?
Plotting still undergoing or did it interrupt it?
drakunov commented Apr 26, 2021
Could anyone plotting try out if it helps to stop the start_wallet process and start it again?
Steps to do it:
Stop via task manager or:
C:\Users\username\AppData\Local\chia-blockchain\app-1.1.1\resources\app.asar.unpacked\daemon\chia.exe stop wallet
C:\Users\username\AppData\Local\chia-blockchain\app-1.1.1\resources\app.asar.unpacked\daemon\chia.exe start wallet
Does it work?
Plotting still undergoing or did it interrupt it?
Not working. Plotting still works. tryed
C:\Users\alx\AppData\Local\chia-blockchain>chia stop all
C:\Users\alx\AppData\Local\chia-blockchain>chia start farmer
C:\Users\alx\AppData\Local\chia-blockchain>chia stop wallet
C:\Users\alx\AppData\Local\chia-blockchain>chia start wallet
C:\Users\alx\AppData\Local\chia-blockchain>chia stop all
C:\Users\alx\AppData\Local\chia-blockchain>chia restart all
nothing changes Win 10 64 1.1.2
in console— Already connected, not reconnecting.
q5sys commented Apr 27, 2021
I tried those CLI stop and start commands as well.
$
chia.exe start wallet
Daemon not started yet
Starting daemon
Traceback (most recent call last):
File «chia\cmds\chia.py», line 81, in
File «chia\cmds\chia.py», line 77, in main
File «click\core.py», line 829, in call
File «click\core.py», line 782, in main
File «click\core.py», line 1259, in invoke
File «click\core.py», line 1066, in invoke
File «click\core.py», line 610, in invoke
File «click\decorators.py», line 21, in new_func
File «chia\cmds\chia.py», line 60, in run_daemon_cmd
File «asyncio\base_events.py», line 587, in run_until_complete
File «chia\daemon\server.py», line 944, in async_run_daemon
File «chia\daemon\server.py», line 145, in start
File «websockets\server.py», line 965, in await_impl
File «asyncio\base_events.py», line 1389, in create_server
OSError: [Errno 10013] error while attempting to bind on address (‘::1’, 55400, 0, 0): an attempt was made to access a socket in a way forbidden by its access permissions
[14568] Failed to execute script chia
Daemon not started yet
Failed to create the chia daemon
Ed-Yang commented Apr 29, 2021
I have problem to connect to wallet in Ubuntu, finally I kill all the daemons and restart chia to get it work.
sxpert commented Apr 30, 2021
«The GUI should work independently and interface with apis of the services and not control their life cycle.»
True that. I think that is the main problem here.
the GUI should have a command line option where you specify an ip address to connect to an already running set of daemons
oktaysar16 commented Apr 30, 2021 •
Stop Chia (Kill Task)
Delete these folders:
C:\Users\yourusername.chia
C:\Users\yourusername\AppData\Local\chia-blockchain
C:\Users\yourusername\AppData\Roaming\Chia Blockchain
Reinstall Chia. It should now work.
Maritims commented May 2, 2021
I did the horrible mistake of trying to reload the Chia GUI window and am now stuck with this problem. Are we getting any closer to an actual fix rather than the aforementioned workarounds?
jmcgonegal commented May 3, 2021
Ok, I wasn’t able to get the gui to start but I fixed this error in windows 10 enough to be able to keep my wallet and farm running in the windows command line:
> C:\Users\ \AppData\Local\chia-blockchain\app-1.1.3\resources\app.asar.unpacked\daemon\chia.exe start wallet
OSError: [Errno 10013] error while attempting to bind on address (‘::1’, 55400): an attempt was made to access a socket in a way forbidden by its access permissions
Steps to fix the wallet not starting:
- Run the command
netsh interface ipv4 show excludedportrange protocol=tcp
- Uninstall chia and sweep registry with a tool like ccleaner
- Delete all chia folders in AppData\Local, AppData\Roaming and users
- On your router disable Upnp and set port forward to your machine 8444/8444, make sure it works with some port checker or telnet
- Restart router and PC
- Install latest chia.exe and start GUI, just to initiate wallet and end the programm
- Now use CLI , I started with simple windows cmd, no powershell needed.
- In CLI set upnp to FALSE, log to INFO and start node
- Now be patient, it was whole day for me, maybe you can speed it up by adding new connections but that didn’t work for me, I got 16 peers and only one of them had any traffic
- When you are fully synced according to chia show -s, you can exit CLI and start GUI
- Again, be patient, it will take some time to sync here as well AND what I couldn’t achieve in CLI — it will slowly sync your wallet
- My plots are passing filter, everything is green and waiting for some chia:)
Good luck
Determine a port not in that excluded range ( 10000 was not in the ranges listed for me )
Find/replace 55400 with a port in the excluded range from above. There should be 2 entries in your config file. You can also optionally replace localhost with your computername.
C:\Users\ \.chia\mainnet\config\config.yaml
Run to verify everything works.
C:\Users\john\AppData\Local\chia-blockchain\app-1.1.3\resources\app.asar.unpacked\daemon\chia.exe start all
Accept all the popups for private network firewall access for each service.
In my case I cannot get chia_timelord_launcher to work at all. But my wallet and farms now work in the background and I can use the CLI.
vittorio88 commented May 10, 2021
What works for me is deleting the following folder (with the app closed):
C:\Users\yourusername\.chia\mainnet\wallet
To be safe, I would move this to your desktop rather than delete it.
Somehow it still «remembers» my wallet after doing this in my testing.
farmerer commented May 10, 2021
I think they should rename reload and force reload into WARNING, DON’T CLICK HERE with capital red letters preferably.
I also tried to reload the GUI because sync was lagging. Now I have to wait until my current plots have finished plotting blind in the background so I can restart the GUI.
Or does anybody have any better solutions?
Fekha commented May 10, 2021
What works for me is deleting the following folder (with the app closed):
C:\Users\yourusername\.chia\mainnet\wallet
To be safe, I would move this to your desktop rather than delete it.
Somehow it still «remembers» my wallet after doing this in my testing.
This is the first thing I tried and it worked after going to task manager and closing the chia background processes. It reconnected to my wallet just fine with no need to save or readd.
tksalarzai commented May 11, 2021
I’ve got the same as OP. Stuck connecting to wallet on startup. This only happens with my main rig (plotter), my laptop (farm hub) connects no problem. Was running fine yesterday, exited app to use the rig for something else, went to restart chia and couldn’t connect to wallet. Left it overnight, still not connected.
I’ve wiped chia app and app data, no difference.
Task manager also shows 4 instances of chia running when opening, 3xchia and 1x chia blockchain. No daemon / wallet / farm.
If you need any logs for debug etc just shout.
does your taks manager still shows multiple chia processes ? if yes is it normal ?
lyl-freeman commented May 15, 2021
I got the same bug. Deleting the 3 mentioned folders and reinstrall didn’t work
webaholic123 commented May 16, 2021 •
Hi there,
this is my first post, let me share my experience, maybe it can help you.
For last 3 days I’ve been fighting sync issues with both node and wallet, everything was working like a charm before just using GUI.
I checked all posts on whole internet and tried everything imaginable with no luck. Until now.
I am not sure what exactly did the trick so here are all steps I consider important:
jakuba1909 commented May 17, 2021
Ubuntu 20.04 here, got the gui stuck a few times already and solved the problem like this via process manager:
never, i repeat: never close a «chia» process, as those are the plots.. you dont want them to stop, do you?
close all related chia processes like «chia_harvester» and «start_wallet» and so on, so that the remaing processes of chia are «chia» and «chia-blockchain»
close all chia-blockchains.. one always shows the exit toolbar «do you want to end plotting», press no.. kill all the other «chia-blockchain» processes and then redo the one with the toolbar, it should work now without any toolbar popping up
start the gui again, all processes but the plots should restart and work again
works like a charm for my rig, hope it does so for you, too
Источник