wallet_multiwallet –usecli fails with “Duplicate -wallet filename specified” #14917

issue MarcoFalke openend this issue on December 10, 2018
  1. MarcoFalke commented at 8:37 pm on December 10, 2018: member

    On master, reported on IRC, appveyor and travis (macos):

    Example backtrace:

     0wallet_multiwallet.py --usecli failed, Duration: 56 s
     1stdout:
     22018-12-10T19:52:57.293000Z TestFramework (INFO): Initializing test directory C:\Users\appveyor\AppData\Local\Temp\1\test_runner_20181210_194416\wallet_multiwallet_70
     32018-12-10T19:53:18.569000Z TestFramework (INFO): Do not allow -zapwallettxes with multiwallet
     42018-12-10T19:53:19.332000Z TestFramework (INFO): Do not allow -salvagewallet with multiwallet
     52018-12-10T19:53:19.839000Z TestFramework (INFO): Do not allow -upgradewallet with multiwallet
     62018-12-10T19:53:32.857000Z TestFramework (INFO): Check for per-wallet settxfee call
     72018-12-10T19:53:33.296000Z TestFramework (INFO): Test dynamic wallet loading
     82018-12-10T19:53:36.907000Z TestFramework (INFO): Load first wallet
     92018-12-10T19:53:37.476000Z TestFramework (INFO): Load second wallet
    102018-12-10T19:53:38.049000Z TestFramework (INFO): Load remaining wallets
    112018-12-10T19:53:41.485000Z TestFramework (INFO): Test dynamic wallet creation.
    122018-12-10T19:53:43.012000Z TestFramework (INFO): Test dynamic wallet unloading
    132018-12-10T19:53:47.773000Z TestFramework (INFO): Test wallet backup
    142018-12-10T19:53:52.517000Z TestFramework (ERROR): JSONRPC error
    15Traceback (most recent call last):
    16  File "C:\projects\bitcoin\test\functional\test_framework\test_framework.py", line 173, in main
    17    self.run_test()
    18  File "C:\projects\bitcoin/test/functional/wallet_multiwallet.py", line 315, in run_test
    19    self.nodes[0].loadwallet(wallet_name)
    20  File "C:\projects\bitcoin\test\functional\test_framework\test_node.py", line 400, in __call__
    21    return self.cli.send_cli(self.command, *args, **kwargs)
    22  File "C:\projects\bitcoin\test\functional\test_framework\test_node.py", line 453, in send_cli
    23    raise JSONRPCException(dict(code=int(code), message=message))
    24test_framework.authproxy.JSONRPCException: Wallet file verification failed: Error loading wallet w2. Duplicate -wallet filename specified. (-4)
    
  2. MarcoFalke added the label Tests on Dec 10, 2018
  3. MarcoFalke added the label good first issue on Dec 10, 2018
  4. promag commented at 3:36 pm on December 11, 2018: member
    For the RPC client, the error Duplicate -wallet filename specified could be replaced by wallet already loaded.
  5. laanwj referenced this in commit 91dbba8857 on Jan 10, 2019
  6. laanwj closed this on Jan 15, 2019

  7. laanwj referenced this in commit 1b6fc30530 on Jan 15, 2019
  8. PastaPastaPasta referenced this in commit 39308f017a on Sep 8, 2021
  9. vijaydasmp referenced this in commit 70a1f2c79b on Sep 13, 2021
  10. DrahtBot locked this on Dec 16, 2021
  11. gades referenced this in commit 0d3910d9b7 on May 31, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-04 22:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me