Open shannona opened 3 years ago
what is your Data Directory path in GS settings?
/user/ShannonA/Library/Application Support/Bitcoin
what do you get if you run:
open "/user/ShannonA/Library/Application Support/Bitcoin"
?
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.
Shoot, I got it wrong, it is Users. So, just the same.
so what happens when you open a terminal and run:
open "/Users/ShannonA/Library/Application Support/Bitcoin/bitcoin.conf"
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}).
Should probably use open -a TextEdit file /path/filename.ext
That does indeed make it work correctly from the command line.
On Wed, Nov 17, 2021 at 8:05 AM Christopher Allen @.***> wrote:
Should probably use open -a TextEdit file /path/filename.ext
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlockchainCommons/GordianServer-macOS/issues/170#issuecomment-971827192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPGZTV5HT5FWDYKBMZ2FLUMPVE3ANCNFSM5IFWP7YA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
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.
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.