I’m running chia forks in VMs on Ubuntu. On this VM I have 3 forks: flax, tad and hddcoin. They’ve all been installed as per chia install wiki instructions and they all worked just fine. Basically so far the same behavior as with the original chia.
But after last reboot the node of either of them would not start and they all seem to have the same problem.
when I run:
cd /home/thomas/flax-blockchain && . ./activate && cd flax-blockchain-gui && npm run electron &
or
cd /home/thomas/tad-blockchain && . ./activate && cd tad-blockchain-gui && npm run electron &
or
cd /home/thomas/hddcoin-blockchain && . ./activate && cd hddcoin-blockchain-gui && npm run electron &
I get:
for flax
thomas@amidala:~$ /home/thomas/flax-blockchain/app.asar.unpacked/daemon
false
Error loading config - using defaults
startUrl file:///home/thomas/flax-blockchain/flax-blockchain-gui/build/renderer/index.html
/home/thomas/flax-blockchain/app.asar.unpacked/daemon
false
/home/thomas/flax-blockchain/app.asar.unpacked/daemon
false
Running python script
Script ../flax/daemon/server.py
child process success
(node:37260) 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
Flax directory /home/thomas/.flax/mainnet
stderr: Traceback (most recent call last):
File "../flax/daemon/server.py", line 1182, in <module>
main(sys.argv[1:])
File "../flax/daemon/server.py", line 1178, in main
return run_daemon(DEFAULT_ROOT_PATH, wait_for_unlock)
File "../flax/daemon/server.py", line 1169, in run_daemon
result = asyncio.get_event_loop().run_until_complete(async_run_daemon(root_path, wait_for_unlock))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "../flax/daemon/server.py", line 1130, in async_run_daemon
flax_init(root_path, should_check_keys=(not wait_for_unlock))
File "/home/thomas/flax-blockchain/flax/cmds/init_funcs.py", line 354, in flax_init
check_keys(root_path)
File "/home/thomas/flax-blockchain/flax/cmds/init_funcs.py", line 71, in check_keys
config: Dict = load_config(new_root, "config.yaml")
File "/home/thomas/flax-blockchain/flax/util/config.py", line 55, in load_config
r = yaml.safe_load(open(path, "r"))
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/__init__.py", line 162, in safe_load
return load(stream, SafeLoader)
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load
return loader.get_single_data()
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/home/thomas/flax-blockchain/venv/lib/python3.8/site-packages/yaml/parser.py", line 438, in parse_block_mapping_key
raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in "/home/thomas/.flax/mainnet/config/config.yaml", line 1, column 1
expected <block end>, but found '<block mapping start>'
in "/home/thomas/.flax/mainnet/config/config.yaml", line 223, column 2
closing code: 1
and for tad:
thomas@amidala:~$
> tad-blockchain@ electron /home/thomas/tad-blockchain/tad-blockchain-gui
> electron .
/home/thomas/tad-blockchain/app.asar.unpacked/daemon
false
Error loading config - using defaults
startUrl file:///home/thomas/tad-blockchain/tad-blockchain-gui/build/renderer/index.html
/home/thomas/tad-blockchain/app.asar.unpacked/daemon
false
/home/thomas/tad-blockchain/app.asar.unpacked/daemon
false
Running python script
Script ../tad/daemon/server.py
child process success
(node:37494) 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
Tad directory /home/thomas/.tad/mainnet
stderr: Traceback (most recent call last):
File "../tad/daemon/server.py", line 1024, in <module>
main()
File "../tad/daemon/server.py", line 1020, in main
return run_daemon(DEFAULT_ROOT_PATH)
File "../tad/daemon/server.py", line 1014, in run_daemon
return asyncio.get_event_loop().run_until_complete(async_run_daemon(root_path))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "../tad/daemon/server.py", line 978, in async_run_daemon
tad_init(root_path)
File "/home/thomas/tad-blockchain/tad/cmds/init_funcs.py", line 328, in tad_init
check_keys(root_path)
File "/home/thomas/tad-blockchain/tad/cmds/init_funcs.py", line 56, in check_keys
config: Dict = load_config(new_root, "config.yaml")
File "/home/thomas/tad-blockchain/tad/util/config.py", line 55, in load_config
r = yaml.safe_load(open(path, "r"))
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/__init__.py", line 162, in safe_load
return load(stream, SafeLoader)
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load
return loader.get_single_data()
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/home/thomas/tad-blockchain/venv/lib/python3.8/site-packages/yaml/parser.py", line 438, in parse_block_mapping_key
raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in "/home/thomas/.tad/mainnet/config/config.yaml", line 1, column 1
expected <block end>, but found '<block mapping start>'
in "/home/thomas/.tad/mainnet/config/config.yaml", line 233, column 2
closing code: 1
and for hddcoin:
thomas@amidala:~$
> hddcoin-blockchain@1.2.9 electron /home/thomas/hddcoin-blockchain/hddcoin-blockchain-gui
> electron .
/home/thomas/hddcoin-blockchain/app.asar.unpacked/daemon
false
Error loading config - using defaults
startUrl file:///home/thomas/hddcoin-blockchain/hddcoin-blockchain-gui/build/renderer/index.html
/home/thomas/hddcoin-blockchain/app.asar.unpacked/daemon
false
/home/thomas/hddcoin-blockchain/app.asar.unpacked/daemon
false
Running python script
Script ../hddcoin/daemon/server.py
child process success
(node:37723) 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
HDDcoin directory /home/thomas/.hddcoin/mainnet
stderr: Traceback (most recent call last):
File "../hddcoin/daemon/server.py", line 1315, in <module>
main(sys.argv[1:])
File "../hddcoin/daemon/server.py", line 1311, in main
return run_daemon(DEFAULT_ROOT_PATH, wait_for_unlock)
File "../hddcoin/daemon/server.py", line 1302, in run_daemon
result = asyncio.get_event_loop().run_until_complete(async_run_daemon(root_path, wait_for_unlock))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "../hddcoin/daemon/server.py", line 1263, in async_run_daemon
hddcoin_init(root_path, should_check_keys=(not wait_for_unlock))
File "/home/thomas/hddcoin-blockchain/hddcoin/cmds/init_funcs.py", line 364, in hddcoin_init
check_keys(root_path)
File "/home/thomas/hddcoin-blockchain/hddcoin/cmds/init_funcs.py", line 71, in check_keys
config: Dict = load_config(new_root, "config.yaml")
File "/home/thomas/hddcoin-blockchain/hddcoin/util/config.py", line 64, in load_config
r = yaml.safe_load(open(path, "r"))
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/__init__.py", line 162, in safe_load
return load(stream, SafeLoader)
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load
return loader.get_single_data()
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/home/thomas/hddcoin-blockchain/venv/lib/python3.8/site-packages/yaml/parser.py", line 438, in parse_block_mapping_key
raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in "/home/thomas/.hddcoin/mainnet/config/config.yaml", line 1, column 1
expected <block end>, but found '<block mapping start>'
in "/home/thomas/.hddcoin/mainnet/config/config.yaml", line 236, column 2
closing code: 1
What did break in this VM that all of those are broken and how can I fix it? I could just ditch the whole machine and install the forks again do wait for the sync but I would rather fix the problem instead.