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

Unable to enable Command Line Support (CommandPost v1.4.22 (Build: 7972) - macOS 14.0 on Apple M1) #3278

Open
happy77 opened this issue Oct 17, 2023 · 4 comments
Assignees
Labels
Milestone

Comments

@happy77
Copy link

happy77 commented Oct 17, 2023

Hi there,

I am unable to enable the Command Line Support in Command Post. When I click the checkbox, a pop-up shows stating: "I'm sorry, but CommandPost failed to Install the Command Line Tool. Please try again."

There is no output in the Debug Console.

Did I miss anything, or is this a macOS 14 issue?

Thanks,

Jan

CommandPost v1.4.22 (Build: 7972) - macOS 14.0 (23A344) on Apple M1 Ultra

@latenitefilms latenitefilms self-assigned this Oct 17, 2023
@latenitefilms latenitefilms added this to the 1.4.23 milestone Oct 17, 2023
@latenitefilms
Copy link
Contributor

That's a good question! Could you try granting CommandPost Full Disk Access and see if that has any impact?

I'm still on Monterey on my day-to-day machine, but will check my Sonoma test machine when I get a chance.

@happy77
Copy link
Author

happy77 commented Oct 17, 2023

That did not do the trick... Also tried granting the new App-Management option under Privacy and Security...

Any more debug output i can enable. I tried launching it via terminal, but that did not give anymore output about access violations or errors, just this:

2023-10-17 11:34:40.649 CommandPost[46795:1031230] [Sentry] [debug] [SentryScope:134] Add breadcrumb: <SentryBreadcrumb: 0x600003bdf700, {
category = "app.lifecycle";
data = {
state = foreground;
};
level = info;
timestamp = "2023-10-17T09:34:40.649Z";
type = navigation;
}>
2023-10-17 11:34:40.649 CommandPost[46795:1031230] [Sentry] [debug] [SentryFileManager:404] Reading timestamp of last in foreground at: /Users/jan/Library/Caches/io.sentry/cd395de0a88c76f1d9db107261afa1f531750a30/lastInForeground.timestamp
2023-10-17 11:34:40.651 CommandPost[46795:1031230] [Sentry] [debug] [SentryFileManager:395] Deleting LastInForeground at: /Users/jan/Library/Caches/io.sentry/cd395de0a88c76f1d9db107261afa1f531750a30/lastInForeground.timestamp
2023-10-17 11:34:40.651 CommandPost[46795:1031230] [Sentry] [debug] [SentryFileManager:242] Deleting /Users/jan/Library/Caches/io.sentry/cd395de0a88c76f1d9db107261afa1f531750a30/lastInForeground.timestamp
ln: /usr/local/bin//cmdpost: Permission denied
ln: /usr/local/share/man/man1/cmdpost.1: Permission denied
2023-10-17 11:34:41.572 CommandPost[46795:1031230] [Sentry] [debug] [SentryScope:134] Add breadcrumb: <SentryBreadcrumb: 0x6000038a43c0, {
category = "app.lifecycle";
data = {
state = background;
};
level = info;
timestamp = "2023-10-17T09:34:41.572Z";
type = navigation;
}>
2023-10-17 11:34:41.572 CommandPost[46795:1031230] [Sentry] [debug] [SentryFileManager:384] Persisting lastInForeground: 2023-10-17T09:34:41.572Z
2023-10-17 11:34:53.394 CommandPost[46795:1031230] [Sentry] [debug] [SentryScope:134] Add breadcrumb: <SentryBreadcrumb: 0x600003876ac0, {
category = "app.lifecycle";
data = {
state = foreground;
};
level = info;
timestamp = "2023-10-17T09:34:53.394Z";
type = navigation;
}>
2023-10-17 11:34:53.394 CommandPost[46795:1031230] [Sentry] [debug] [SentryFileManager:404] Reading timestamp of last in foreground at: /Users/jan/Library/Caches/io.sentry/cd395de0a88c76f1d9db107261afa1f531750a30/lastInForeground.timestamp
2023-10-17 11:34:53.397 CommandPost[46795:1031230] [Sentry] [debug] [SentryFileManager:395] Deleting LastInForeground at: /Users/jan/Library/Caches/io.sentry/cd395de0a88c76f1d9db107261afa1f531750a30/lastInForeground.timestamp
2023-10-17 11:34:53.397 CommandPost[46795:1031230] [Sentry] [debug] [SentryFileManager:242] Deleting /Users/jan/Library/Caches/io.sentry/cd395de0a88c76f1d9db107261afa1f531750a30/lastInForeground.timestamp
2023-10-17 11:34:58.880 CommandPost[46795:1031230] [Sentry] [debug] [SentryScope:134] Add breadcrumb: <SentryBreadcrumb: 0x60000b828a80, {
category = "app.lifecycle";
data = {
state = background;
};
level = info;
timestamp = "2023-10-17T09:34:58.881Z";
type = navigation;
}>

@happy77
Copy link
Author

happy77 commented Oct 17, 2023

Looking at my post I actually did notice something:

ln: /usr/local/bin//cmdpost: Permission denied
ln: /usr/local/share/man/man1/cmdpost.1: Permission denied

@happy77
Copy link
Author

happy77 commented Oct 17, 2023

jan@Jans-Mac-Studio ~ % ls -lad /usr/local/bin
drwxr-xr-x 39 root wheel 1248 17 Okt 12:08 /usr/local/bin
jan@Jans-Mac-Studio ~ % ls -lad /usr/local/share/man/man1
drwxr-xr-x 6 root staff 192 17 Okt 12:08 /usr/local/share/man/man1

so I did the following work around:

sudo ln -s /Applications/CommandPost.app/Contents/Frameworks/hs/cmdpost /usr/local/bin/
sudo ln -s /Applications/CommandPost.app/Contents/Resources/man/cmdpost.man /usr/local/share/man/man1/cmdpost.1

But is this some rights issue on my machine? shouldn't this have been fixed with full disk access? If I can help in debugging, feel free to reach out, for now it works.

Thanks

@latenitefilms latenitefilms modified the milestones: 1.4.23, 1.4.24 Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants