You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I prefer to use Carta in Chrome, which is not my default browser, so I normally launch carta like this --browser='open -a Google\ Chrome'
This previously worked fine in version 4.0.0 (which I installed through homebrew), but something has changed in 4.1.0, so I get this error now.
> carta --browser='open -a Google\ Chrome'
CARTA will use the default ephemerides and geodetic data.
[2024-03-15 13:37:43.028] [critical] Option ‘a’ does not exist
It seems like the -a in the browser command is being interpreted as a command line argument for Carta.
The application /Applications/Google http://localhost:3002/?token=9CE04BBD-F58E-45F9-9288-306B7F8ADDD1 cannot be opened for an unexpected reason, error=Error Domain=NSCocoaErrorDomain Code=260 "The file “?token=9CE04BBD-F58E-45F9-9288-306B7F8ADDD1” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Applications/Google%20http://localhost:3002/%3Ftoken=9CE04BBD-F58E-45F9-9288-306B7F8ADDD1, NSFilePath=/Applications/Google http://localhost:3002/?token=9CE04BBD-F58E-45F9-9288-306B7F8ADDD1, NSUnderlyingError=0x600002800450 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[2024-03-15 06:17:20.831Z] [CARTA] [warning] WebBrowser: Failed to open the browser automatically.
To Reproduce
on macOS sierra, carta v4.1.0
carta --browser='open -a "Google Chrome"'
Expected behavior
Should open Carta in Chrome like it did on v4.0.0
Platform info (please complete the following information):
Additional context
Maybe the meaning of the --browser argument has changed, but if whatever is wrapping carta is not splitting shell arguments correctly, that's probably indicative of a more serious issue.
Thanks!
The text was updated successfully, but these errors were encountered:
I might just add that this may be more of an issue with https://github.com/CARTAvis/homebrew-tap/ rather than carta-backend, since the packaging has changed recently, and I don't get the warning on 4.1.0 on linux.
carta --browser 'curl -a'
should I move this issue over to that repo instead?
Describe the bug
I prefer to use Carta in Chrome, which is not my default browser, so I normally launch carta like this
--browser='open -a Google\ Chrome'
This previously worked fine in version 4.0.0 (which I installed through homebrew), but something has changed in 4.1.0, so I get this error now.
It seems like the
-a
in the browser command is being interpreted as a command line argument for Carta.It doesn't like this either
carta --browser='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
To Reproduce
on macOS sierra, carta v4.1.0
Expected behavior
Should open Carta in Chrome like it did on v4.0.0
Platform info (please complete the following information):
Additional context
Maybe the meaning of the --browser argument has changed, but if whatever is wrapping carta is not splitting shell arguments correctly, that's probably indicative of a more serious issue.
Thanks!
The text was updated successfully, but these errors were encountered: