Method not found #27617

issue Jackwumingjie opened this issue on May 10, 2023
  1. Jackwumingjie commented at 12:53 PM on May 10, 2023: none

    Issues, reports or feature requests related to the GUI should be opened directly on the GUI repo

    • I still think this issue should be opened here

    Report

    <img width="1018" alt="企业微信截图_958a8dcb-6942-407e-a01b-14eee3df3e14" src="https://github.com/bitcoin/bitcoin/assets/39093109/8059bcd8-967f-41b9-9eb6-3a9425f97b2e"> I build the node with ubuntu20.04 and 24.0.1. But some api return the error as the picture. The run command "bitcoind -datadir=/data2/.btc/data -rpcuser="xxxx" -rpcpassword="xxx" -server -txindex=1"

  2. Jackwumingjie added the label GUI on May 10, 2023
  3. fanquake commented at 12:54 PM on May 10, 2023: member

    Did you compile with wallet support?

  4. Jackwumingjie commented at 1:00 PM on May 10, 2023: none

    How to compile with wallet support?

  5. Jackwumingjie commented at 1:02 PM on May 10, 2023: none

    My compile steps: sudo mkdir /data/.btc && cd /data/.btc sudo git clone https://github.com/bitcoin/bitcoin.git cd bitcoin sudo ./autogen.sh sudo ./configure sudo make sudo make install

  6. kouloumos commented at 1:03 PM on May 10, 2023: contributor

    When you run ./configure make sure that summary (that's in your config.log) shows with wallet = yes. If not, then you are probably missing the SQLite or BDB dependency to compile the wallet.

    If that's the case, you'll need to install the dependencies and then recompile following the steps you done before (./configure, make, etc.)

    See also #26193.

  7. maflcko removed the label GUI on May 10, 2023
  8. maflcko added the label Questions and Help on May 10, 2023
  9. fanquake commented at 2:04 PM on May 10, 2023: member

    Ok. This isn't a bug, and can be fixed by reading the documentation. i.e https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md. Closing for now.

  10. fanquake closed this on May 10, 2023

  11. Jackwumingjie commented at 2:35 PM on May 10, 2023: none

    @fanquake I have installed the sqlite, but other error display: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) <img width="1078" alt="image" src="https://github.com/bitcoin/bitcoin/assets/39093109/a989acd1-9867-4dd4-b2c2-e1ebc9822660">

  12. sipa commented at 2:52 PM on May 10, 2023: member

    @Jackwumingjie Did you recompile?

  13. willcl-ark commented at 3:15 PM on May 10, 2023: member

    @Jackwumingjie now that you have the wallet compiled in the error message is telling you what to do to: i) either create a wallet (if you don't have one already) or ii) load a wallet (if you do have one).

    If you run bitcoin-cli help createwallet or bitcoin-cli help loadwallet you will find more detailed instructions on how to use these RPCs.

    Also see https://github.com/bitcoin/bitcoin/blob/master/doc/managing-wallets.md for more information.

  14. bitcoin locked this on May 9, 2024

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: 2026-04-26 06:13 UTC

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