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.

[BUG] "Error loading config" - replace with default? Find and fix error?

See original GitHub issue

Describe the bug When starting the app in Ubuntu via command line, I consistently get “Error loading config - using defaults” It doesn’t seem to hurt anything. (the GUI still runs, the network still plots and farms)

/chia-blockchain/chia-blockchain-gui$ npm run electron &
[1] 4043
(venv) ME@MACHINE:~/Documents/chia-blockchain/chia-blockchain-gui$ 
> electron
> electron .

/home/ME/Documents/chia-blockchain/app.asar.unpacked/daemon
false
Error loading config - using defaults

To Reproduce Start app via command line.

Expected behavior

  • No error OR
  • Instructions on how to fix the error / which file to replace it with.

Desktop (please complete the following information):

  • OS: Linux
  • OS Version/Flavor: Ubuntu

Additional context

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
tonybadguycommented, May 10, 2021

Seems like the core code and GUI code are out of sync in terms of where they expect the config files to be.

chia-blockchain: ~/.chia/mainnet/config/config.yaml chia-blockchain-gui: ~/.chia/1.1.5/config/config.yaml

Setting the CHIA_ROOT environment var before running the GUI seems to work for me

export CHIA_ROOT=~/.chia/mainnet/

Relevant code locations:

0reactions
github-actions[bot]commented, Aug 7, 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

java - No log4j2 configuration file found. Using default ...
Problem 1. ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Read more >
\WINDOWS\SYSTEM32\CONFIG\SYSTEM is missing or corrupt
To fix the problem: 1. Insert your Windows installation disc and restart your computer.
Read more >
Troubleshooting — Anaconda documentation
First, run the following to undo your configuration of Anaconda Professional: conda config ; Next, install or upgrade the conda-token tool: conda install...
Read more >
FIX: Error message when you try to run an SSIS package that ...
Fixes an issue in which an error is returned when you try to run an SSIS package that contains a SQL Server Destination...
Read more >
Error loading config file | Winlogbeat Reference [8.5] - Elastic
Error loading config fileedit · an unauthorized user tries to load the config file, or · the config file has the wrong permissions....
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