qmk / qmk_toolbox

A Toolbox companion for QMK Firmware
https://qmk.fm/toolbox
MIT License
2.63k stars 508 forks source link

Unable to open app on Mac OS Big Sur #201

Closed timtraversy closed 3 years ago

timtraversy commented 4 years ago

Describe the Bug

I'm running the beta of Mac OS Big Sur. I installed the latest release of QMK.Toolbox.app.zip, currently 0.0.18, and I'm unable to run it. There's a bunch of apps that are broken on Big Sur right now, so I assume some arch change was made that's causing this issue.

https://forums.macrumors.com/threads/big-sur-working-not-working-apps.2242312/

System Information

skullydazed commented 4 years ago

Can you provide detail on what happens when you try to run it? Is there a crash report you can attach?

timtraversy commented 4 years ago

Not an expert on Mac OS logs but here they are.

erreur  LAUNCH: No architectures specified in launch archictectures [ NULL ]  for app=file:///Applications/QMK%20Toolbox.app/ which likely is an error.
par défaut  Executing launch request for app<application.fm.qmk.toolbox.29598874.29598877(501)> (LS launch fm.qmk.toolbox)
par défaut  Creating and launching job for: app<application.fm.qmk.toolbox.29598874.29598877(501)>
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] This process will not be managed.
par défaut  Now tracking process: [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605]
par défaut  Using default underlying assertion for app: [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605]
par défaut  Calculated state for app<application.fm.qmk.toolbox.29598874.29598877(501)>: running-suspended (role: None)
par défaut  Acquiring assertion targeting app<application.fm.qmk.toolbox.29598874.29598877(501)> from originator [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] with description <RBSAssertionDescriptor| "RB Underlying Assertion" ID:149-149-26940 target:78605 attributes:[
    <RBSDomainAttribute| domain:"com.apple.underlying" name:"defaultUnderlyingAppAssertion" sourceEnvironment:"(null)">,
    <RBSAcquisitionCompletionAttribute| policy:AfterApplication>
    ]>
par défaut  Assertion 149-149-26940 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>) will be created as active
par défaut  -[PersistentAppsSupport applicationReady:] | App: QMK Toolbox, ready, updating active tracking timer
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] reported to RB as running
par défaut  -[ApplicationManager checkInAppContext:eventData:] | ApplicationManager: Checked in app : QMK Toolbox
par défaut  Acquiring assertion targeting app<application.fm.qmk.toolbox.29598874.29598877(501)> from originator [daemon<com.apple.coreservices.launchservicesd>:92] with description <RBSAssertionDescriptor| "foregroundApp:78605" ID:149-92-26941 target:78605 attributes:[
    <RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleUserInteractiveNonFocal" sourceEnvironment:"(null)">
    ]>
par défaut  Assertion 149-92-26941 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>) will be created as active
par défaut  Calculated state for app<application.fm.qmk.toolbox.29598874.29598877(501)>: running-suspended (role: None)
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring jetsam update because this process is not memory-managed
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring suspend because this process is not lifecycle managed
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Set darwin role to: None
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring GPU update because this process is not GPU managed
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Skipping AppNap state - not lifecycle managed
par défaut  Finished acquiring assertion 149-149-26940 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>)
par défaut  Successfully acquired underlying assertion for [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605]
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring jetsam update because this process is not memory-managed
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring suspend because this process is not lifecycle managed
par défaut  Calculated state for app<application.fm.qmk.toolbox.29598874.29598877(501)>: running-active (role: UserInteractiveNonFocal)
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Set darwin role to: UserInteractiveNonFocal
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring GPU update because this process is not GPU managed
par défaut  Acquiring assertion targeting app<application.fm.qmk.toolbox.29598874.29598877(501)> from originator [daemon<com.apple.coreservices.launchservicesd>:92] with description <RBSAssertionDescriptor| "foregroundApp:78605" ID:149-92-26942 target:78605 attributes:[
    <RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleUserInteractiveNonFocal" sourceEnvironment:"(null)">
    ]>
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Skipping AppNap state - not lifecycle managed
par défaut  Assertion 149-92-26942 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>) will be created as active
par défaut  Finished acquiring assertion 149-92-26941 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>)
par défaut  Acquiring assertion targeting app<application.fm.qmk.toolbox.29598874.29598877(501)> from originator [daemon<com.apple.coreservices.appleevents(55)>:301] with description <RBSAssertionDescriptor| "AE/QMK Toolbox" ID:149-301-26943 target:78605 attributes:[
    <RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"LSNotification" sourceEnvironment:"(null)">
    ]>
par défaut  Assertion 149-301-26943 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>) will be created as active
par défaut  Finished acquiring assertion 149-92-26942 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>)
par défaut  Invalidating assertion 149-92-26941 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>) from originator [daemon<com.apple.coreservices.launchservicesd>:92]
par défaut  Calculated state for app<application.fm.qmk.toolbox.29598874.29598877(501)>: running-active (role: UserInteractiveNonFocal)
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring jetsam update because this process is not memory-managed
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring suspend because this process is not lifecycle managed
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Ignoring GPU update because this process is not GPU managed
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] Skipping AppNap state - not lifecycle managed
par défaut  Finished acquiring assertion 149-301-26943 (target:app<application.fm.qmk.toolbox.29598874.29598877(501)>)
par défaut  register name: com.apple.sharedfilelist.change object: com.apple.LSSharedFileList.ApplicationRecentDocuments/fm.qmk.toolbox token: a600000063 pid: 2703
par défaut  [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605] termination reported by launchd (0, 0, 256)
par défaut  Removing process: [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605]
par défaut  Removing launch job for: [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605]
par défaut  Removed job for [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605]
par défaut  Removing assertions for terminated process: [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605]
par défaut  Calculated state for app<application.fm.qmk.toolbox.29598874.29598877(501)>: none (role: None)
par défaut  Calculated state for app<application.fm.qmk.toolbox.29598874.29598877(501)>: none (role: None)
par défaut  Hit the server for a process handle 365b586c0001330d that resolved to: [app<application.fm.qmk.toolbox.29598874.29598877(501)>:78605]
par défaut  -[PersistentAppsSupport applicationQuit:] | for app:QMK Toolbox, _appTrackingState = 2
par défaut  -[PersistentAppsSupport applicationQuit:] | App: QMK Toolbox, quit, updating active tracking timer
timtraversy commented 4 years ago

If I open it from Dock it fails silently, if I open it from Spotlight I get a Impossible to open application "QMK Toolbox"

timtraversy commented 4 years ago

The only error it's reporting is No architectures specified in launch archictectures [ NULL ] for app=file:///Applications/QMK%20Toolbox.app/ which likely is an error., so that could be it

timtraversy commented 4 years ago

But actually, I'm seeing that in the logs for other apps that are launching fine.

timtraversy commented 4 years ago

Dropbox is failing also, and their log included ImportError: Framework CoreServices could not be found

https://www.dropboxforum.com/t5/Dropbox-files-folders/Dropbox-app-doesn-t-start-on-MacOS-Big-Sur-11-0-beta/td-p/431820

skullydazed commented 4 years ago

Interesting, thanks for the information. One last test, if you find QMK Toolbox.app in the Finder, right click it, and select "Open", does that change the behavior?

timtraversy commented 4 years ago

No, still fails to open that way.

Another thing, from system.log:

Jun 30 12:00:31 Tims-Work-MacBook-Pro com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.fm.qmk.toolbox.29598874.29598877(501)> [12317]
Jun 30 12:00:31 Tims-Work-MacBook-Pro Adobe Desktop Service[631]: assertion failed: 20A4299v: libxpc.dylib + 42867 [C5ED845E-7D75-327B-BC1A-391277842FF9]: 0x20
Jun 30 12:00:31 Tims-Work-MacBook-Pro com.apple.xpc.launchd[1] (application.fm.qmk.toolbox.29598874.29598877[80035]): Service exited with abnormal code: 1

Been googling these and none of them are helpful.

skullydazed commented 4 years ago

Does it fail silently like the dock, or with a message like spotlight?

timtraversy commented 4 years ago

It fails silently.

skullydazed commented 4 years ago

Thanks! I don't know when someone will have time to install the beta and look at this further, but for now we'll leave this open. Anyone who is interested in the state of QMK Toolbox on Big Sur can subscribe to this issue for updates.

nooges commented 4 years ago

I’ll have the beta installed soon enough to do some investigation.

ehagerty commented 4 years ago

run it as sudo /Applications/QMK\ Toolbox.app/Contents/MacOS/QMK\ Toolbox

i've seen a lot of apps need this in the past year as a beta tester

timtraversy commented 4 years ago

That did it for me, thanks @ehagerty! I think we should keep this open until it can be resolved without the command line.

fauxpark commented 3 years ago

I'm running Big Sur now (11.0.1), and it seems to work just fine as is. I tested flashing a couple of devices and that appears to work too. @timtraversy @ehagerty can you confirm?

ehagerty commented 3 years ago

@fauxpark thank you very much!

MacBook Pro (15-inch, 2019) macOS 11.0.1 (20B29) QMK Toolbox 0.0.20 (1)

Runs as expected, without needing sudo as above.

fauxpark commented 3 years ago

Closing, Toolbox appears to be running fine on Big Sur so far.