question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error starting CHIA on Ubuntu 18.04

See original GitHub issue

When I hit chia start all on ubuntu 18.04 I first get: Daemon not started yet Starting daemon chia_harvester: started chia_timelord_launcher: started chia_timelord: started chia_farmer: started chia_full_node: started chia_wallet: started

Then: (venv) eddie@ubuntubase:~/chia-blockchain$ Traceback (most recent call last): File “/home/eddie/chia-blockchain/venv/bin/chia_timelord_launcher”, line 33, in <module> sys.exit(load_entry_point(‘chia-blockchain’, ‘console_scripts’, ‘chia_timelord_launcher’)()) File “/home/eddie/chia-blockchain/chia/timelord/timelord_launcher.py”, line 107, in main loop.run_until_complete(spawn_all_processes(config, net_config)) File “/usr/lib/python3.7/asyncio/base_events.py”, line 579, in run_until_complete return future.result() File “/home/eddie/chia-blockchain/chia/timelord/timelord_launcher.py”, line 85, in spawn_all_processes await asyncio.gather(*awaitables) File “/home/eddie/chia-blockchain/chia/timelord/timelord_launcher.py”, line 45, in spawn_process path_to_vdf_client = find_vdf_client() File “/home/eddie/chia-blockchain/chia/timelord/timelord_launcher.py”, line 39, in find_vdf_client raise FileNotFoundError(“can’t find vdf_client binary”) FileNotFoundError: can’t find vdf_client binary Traceback (most recent call last): File “/home/eddie/chia-blockchain/venv/bin/chia_wallet”, line 33, in <module> sys.exit(load_entry_point(‘chia-blockchain’, ‘console_scripts’, ‘chia_wallet’)()) File “/home/eddie/chia-blockchain/chia/server/start_wallet.py”, line 92, in main return run_service(**kwargs) File “/home/eddie/chia-blockchain/chia/server/start_service.py”, line 218, 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 579, in run_until_complete return future.result() File “/home/eddie/chia-blockchain/chia/server/start_service.py”, line 212, in async_run_service return await service.run() File “/home/eddie/chia-blockchain/chia/server/start_service.py”, line 156, in run await self.start() File “/home/eddie/chia-blockchain/chia/server/start_service.py”, line 127, in start await self._node._start(**kwargs) File “/home/eddie/chia-blockchain/chia/wallet/wallet_node.py”, line 152, in _start private_key, self.config, path, self.constants, self.server File “/home/eddie/chia-blockchain/chia/wallet/wallet_state_manager.py”, line 143, in create self.lock, File “/home/eddie/chia-blockchain/chia/wallet/wallet_blockchain.py”, line 106, in create await self._load_chain_from_store() File “/home/eddie/chia-blockchain/chia/wallet/wallet_blockchain.py”, line 117, in _load_chain_from_store height_to_hash, sub_epoch_summaries = await self.block_store.get_peak_heights_dicts() File “/home/eddie/chia-blockchain/chia/wallet/wallet_block_store.py”, line 283, in get_peak_heights_dicts curr_height = hash_to_height[curr_header_hash] KeyError: b’9S\x12!\xa8_g\xb9\xf0\xa2`\xbf\xad!\xd7\xe4\xa1\x9c\xcbo\xf4\xa7\r\xc8\xfa\xcd>v4\x1a//’

No Ideas whats wrong.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nzkozarcommented, May 23, 2021

Same error for me on Ubuntu desktop 20.04. chia 1.1.6 It started happening today after I had a power outage during plotting.

I’ve isolated the issue to starting the wallet, as it also appears when running chia start wallet

Any help would be awesome.

Update: I just solved this by deleting everything in .chia/mainnet/wallet/db/ folder

After this, the wallet started up again no problem

0reactions
github-actions[bot]commented, Jul 17, 2021

This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu: How to Start Chia Program - Support
I have been searching the internet for many hours now, but Have not found anything. What do I have to type in the...
Read more >
Install end first setup Chia Blockchain in Ubuntu 20.10, 20.04 ...
Install end first setup Chia Blockchain in Ubuntu 20.10, 20.04, 19.04, 18.04.
Read more >
HowTo Install Chia and Ubuntu Linux for Chia Farming
How to install Ubuntu Linux (at 12:59), and afterwards the Chia Blockchain software. USB install drive creation and hard drive preparation ...
Read more >
How to install chia blockchain on Ubuntu - YouTube
In this part of my multi video guide. We will install the Chia Blockchain CLI and GUI on to our Ubuntu OS. I...
Read more >
Chia 1.2.11 - Unable to install GUI on ubuntu 20.04.2 - Reddit
It seems to give error when executing 'sh install-gui.sh' command. ... unable to install netcat on wsl running ubuntu 18.04.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found