Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Config File on MacBook Pro (2021) / M1 Pro #170

Open
shannona opened this issue Nov 17, 2021 · 10 comments
Open

No Config File on MacBook Pro (2021) / M1 Pro #170

shannona opened this issue Nov 17, 2021 · 10 comments

Comments

@shannona
Copy link
Contributor

The config file does not pop up on new MacBook Pro when the "Bitcoin Core Config" option is selected. Totally silent failure.

The Tor Config pops up fine, so it's not a problem with TextEdit, but the error is very consistent. Nothing in the system.log file. Happy to report out any other info on this.

@Fonta1n3
Copy link
Contributor

what is your Data Directory path in GS settings?

@shannona
Copy link
Contributor Author

/user/ShannonA/Library/Application Support/Bitcoin

@Fonta1n3
Copy link
Contributor

what do you get if you run:
open "/user/ShannonA/Library/Application Support/Bitcoin"?

@Fonta1n3
Copy link
Contributor

The only obvious thing that has changed is generally the path would be Users/ShannonA/Library/Application Support/Bitcoin not user/.... but I do not see how that would effect the open command as it simply takes in the path and wraps it in qoutes.

@shannona
Copy link
Contributor Author

Shoot, I got it wrong, it is Users. So, just the same.

@Fonta1n3
Copy link
Contributor

so what happens when you open a terminal and run:

open "/Users/ShannonA/Library/Application Support/Bitcoin/bitcoin.conf"

@shannona
Copy link
Contributor Author

shannona commented Nov 17, 2021

Good question! We have an error that shows up only on my new MacBook Pro:

$ open "/Users/ShannonA/Library/Application Support/Bitcoin/bitcoin.conf"
No application knows how to open URL file:///Users/ShannonA/Library/Application%20Support/Bitcoin/bitcoin.conf (Error Domain=NSOSStatusErrorDomain Code=-10814 "kLSApplicationNotFoundErr: E.g. no application claims the file" UserInfo={_LSLine=1479, _LSFunction=runEvaluator}).

@ChristopherA
Copy link
Contributor

Should probably use open -a TextEdit file /path/filename.ext

@shannona
Copy link
Contributor Author

shannona commented Nov 17, 2021 via email

@Fonta1n3
Copy link
Contributor

The better solution is to use Swifts FileManager class rather than scripts to open files. In this branch there are a lot of cases where scripts are used when native Swift code would do the job just fine, I had gone a long way to refactoring that in my rpcauth PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants