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.

Runtime Error: No Keys exist. Please run 'chia keys generate' or open the UI.

See original GitHub issue

Describe the bug I have a major issue, farming with chia. The Farmer won’t start reliably, this makes unattended farming impossible.

To Reproduce Execute batch script in order to start farmer:

cd C:\Users\%username%\AppData\Local\chia-blockchain\app-1.1.7\resources\app.asar.unpacked\daemon  
chia start farmer

Result (around 70% of tries):

Traceback (most recent call last): File “chia\server\start_farmer.py”, line 68, in <module> File “chia\server\start_farmer.py”, line 63, in main File “chia\server\start_farmer.py”, line 38, in service_kwargs_for_farmer File “chia\farmer\farmer.py”, line 73, in init RuntimeError: No keys exist. Please run ‘chia keys generate’ or open the UI. [10976] Failed to execute script start_farmer

Expected behavior farmer detects saved keys and starts apropriately image

Desktop (please complete the following information):

  • OS: Windows 10
  • OS Version 20H2 Build 19042.1052
  • CPU: AMD Ryzen 3600
  • Chia Version: 1.2

Additional context The Keys are definitely there. The Gui will always start without any issue.

Executing the script again mostly resolves the issue. So the keys are definitely there.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
github-actions[bot]commented, Sep 1, 2021

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

2reactions
github-actions[bot]commented, Aug 25, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WARNING No keys present in Linux -- how to fix? - Chia Forum
Newbie mistake! This warning appears in the debug.log: WARNING No keys preset. Create keys with the UI or the 'chia … ... Port...
Read more >
WARNING No keys present. Create keys with the UI ... - Reddit
It means: No keys present. [You need to] Create keys with the UI, or with the 'chia keys' program. I'm not sure how...
Read more >
Chia Blockchain Wiki To Solve Your Most Of The Chia XCH ...
This guide will help you understand Chia coin related questions that you must know before buying your first machine to start plotting.
Read more >
How to use the chiapos.DiskProver function in chiapos - Snyk
To help you get started, we've selected a few chiapos examples, ... if not os.path.isfile(key_config_filename): raise RuntimeError( "Keys not generated. Run ...
Read more >
chia-blockchain Changelog - pyup.io
Added support for labeling (naming) wallets (keys) ... Code coverage is now generated ... Optimize get_block_store by not parsing the full block
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