The configuration file could not be opened. #15409

issue leon-do opened this issue on February 14, 2019
  1. leon-do commented at 6:18 PM on February 14, 2019: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    Describe the issue The configuration file could not be opened. when clicking on Open Configuration File

    What behavior did you expect? Expected to open bitcoin.conf

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    How reliably can you reproduce the issue, what are the steps to do so? Lanuch Bitcoin Core

    What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? https://bitcoin.org/en/download v0.17.1

    What type of machine are you observing the error on (OS/CPU and disk type)? OSX

    <!-- For the GUI-related issue on Linux provide names and versions of a distro, a desktop environment and a graphical shell (if relevant). -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. MarcoFalke commented at 6:29 PM on February 14, 2019: member

    The configuration file does not exist by default. However, it could be created when selecting that button.

    Related: #12722

  3. leon-do commented at 6:43 PM on February 14, 2019: none

    To clarify. When I click Open Configuration File it creates the bitcoin.conf file but it does not open it. Instead it shows The configuration file could not be opened.

    I'm able to edit the conf file manually, but I expected that file to open in some text editor.

  4. fanquake added the label macOS on Feb 21, 2019
  5. web3shannon commented at 2:15 AM on May 21, 2019: contributor

    I find that the QT wallet fail to open the configuration file on Mac, when these is no default application for *.conf files.

    Here is a feasible way to solve this bug. When QDesktopServices::openUrl fails to open file:///path/bitcoin.conf with its default application, use QProcess::startDetached to run open -t /path/bitcoin.conf command instead, so as to open the configuration file with system's default text editor.

    For more details, see this PR #16044.

  6. laanwj closed this on Jun 3, 2019

  7. laanwj referenced this in commit 6520330087 on Jun 3, 2019
  8. sidhujag referenced this in commit c8106e8588 on Jun 6, 2019
  9. MarcoFalke referenced this in commit f272bbe73b on Jun 7, 2019
  10. MarcoFalke referenced this in commit b55cbe82d9 on Jun 7, 2019
  11. fanquake referenced this in commit 629c7b029c on Jul 4, 2019
  12. HashUnlimited referenced this in commit 732e55dac1 on Aug 23, 2019
  13. Bushstar referenced this in commit 3da1698cc0 on Aug 24, 2019
  14. dexX7 referenced this in commit fe3c7f9163 on Aug 26, 2019
  15. kallewoof referenced this in commit 1cd81acdd7 on Oct 4, 2019
  16. mdfkbtc referenced this in commit 8b218d1744 on Jan 23, 2020
  17. brianddk commented at 8:35 PM on September 19, 2020: contributor

    @shannon1916 BTW... Same thing happens on Windows 10 which doesn't provide a default association with .conf files. Double clicking any .conf file and assigning a default app to it fixes the problem in windows as well.

  18. DrahtBot locked this on Feb 15, 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: 2026-04-21 18:15 UTC

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