Skip to content

Failed because no wallet is loaded #5

@lgehr

Description

@lgehr

When starting generate_chain.py I get the following message:

2021-08-04 15:23:05,067 - testchain.runner - INFO - datadir: /tmp/tmp47y3ckul
2021-08-04 15:23:05,067 - testchain.runner - INFO - Config file created at /tmp/tmp47y3ckul/bitcoin.conf
2021-08-04 15:23:05,071 - testchain.runner - INFO - Waiting 10 seconds for node to start
Traceback (most recent call last):
  File "/home/lgehr/HU/FG17/testchain-generator/generate_chain.py", line 18, in <module>
    generator = Runner(args.output_dir, args.chain, args.exec)
  File "/home/lgehr/HU/FG17/testchain-generator/testchain/runner.py", line 37, in __init__
    self.proxy.call("importprivkey", COINBASE_KEY)
  File "/home/lgehr/.local/lib/python3.9/site-packages/bitcointx/rpc.py", line 358, in call
    return self._call(service_name, *args)
  File "/home/lgehr/.local/lib/python3.9/site-packages/bitcointx/rpc.py", line 237, in _call
    raise JSONRPCError(
bitcointx.rpc.JSONRPCError: {'code': -18, 'message': 'No wallet is loaded. Load a wallet using loadwallet or create a new one with createwallet. (Note: A default wallet is no longer automatically created)'}
2021-08-04 15:23:15,086 - testchain.runner - INFO - Waiting 5 seconds for node to quit
Error: A fatal internal error occurred, see debug.log for details
Error: A fatal internal error occurred, see debug.log for details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions