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

Cannot open latest August MacOS release #91

Open
samxplogs opened this issue Sep 13, 2024 · 8 comments
Open

Cannot open latest August MacOS release #91

samxplogs opened this issue Sep 13, 2024 · 8 comments

Comments

@samxplogs
Copy link

Hello

I have error message when clicking on the app and therefore cannot start the application.

You can't open the application "buskill-1723151534" because it may be damaged or incomplete.

image

@maltfield
Copy link
Member

This is blocking testing fix for #77

@maltfield
Copy link
Member

Here's the build in question

@maltfield
Copy link
Member

@samxplogs can you please run this from the command line and paste the output here?

open buskill-mac-1722214579-x86_64.dmg 

The command line output should have more useful information (eg an error code) than the GUI popup window screenshot

@maltfield
Copy link
Member

maltfield commented Sep 29, 2024

I get an error when attempting to open this over ssh

maltfield@host ~ % wget https://github.com/BusKill/buskill-app/releases/download/10136271901_mac/buskill-mac-1722214579-x86_64.dmg
...
buskill-mac-1722214 100%[===================>]  27.34M  17.6MB/s    in 1.6s    

2024-09-29 22:28:44 (17.6 MB/s) - ‘buskill-mac-1722214579-x86_64.dmg’ saved [28668096/28668096]

maltfield@host ~ % 

maltfield@host ~ % shasum --algorithm 256 buskill-mac-1722214579-x86_64.dmg 
a908a1bdebd2c238c1edcc057485e19f1a083689ee801159bf13bdf3108b0813  buskill-mac-1722214579-x86_64.dmg
maltfield@host ~ % 

maltfield@host ~ % open buskill-mac-1722214579-x86_64.dmg 
maltfield@host ~ % 

maltfield@host ~ % open -W /Volumes/buskill-*/buskill-*.app/Contents/MacOS/buskill
LSOpenURLsWithRole() failed with error -600 for the file /Volumes/buskill-1722214579/buskill-1722214579.app/Contents/MacOS/buskill.
maltfield@host ~ % 

However, I cannot reproduce this when I execute these commands in the GUI terminal.

In my experience This LSOpenURLsWithRole() commonly translates to: you can't do that over the CLI; do it in the GUI.

Indeed, when I execute these commands in the GUI (well, inside the "Terminal" app in the GUI -- as opposed to my linux terminal's app on the MacMini via ssh), the app opens fine.

@samxplogs did you try this over ssh or some other CLI-only terminal by-chance? Can you please re-try with these commands in your Terminal App on macOS?

wget https://github.com/BusKill/buskill-app/releases/download/10136271901_mac/buskill-mac-1722214579-x86_64.dmg
shasum --algorithm 256 buskill-mac-1722214579-x86_64.dmg 
open buskill-mac-1722214579-x86_64.dmg 
open -W /Volumes/buskill-*/buskill-*.app/Contents/MacOS/buskill

Please paste the full output into a comment on this ticket.

@maltfield
Copy link
Member

maltfield commented Sep 29, 2024

See also

user@host SDKs % grep -ir '\-610' * 
...
#define procNotFound 					(-600)				/* no eligible process with specified descriptor */
...
user@host SDKs % 

@maltfield
Copy link
Member

maltfield commented Sep 29, 2024

See also

Error -600

An error occurred while launching.

An unknown error (-600) occurred.

This is the standard Macintosh error procNotFound. It is usually a response when trying to send an AppleEvent to a nonexistent target (or, more technically, when the mach port for AppleEvents for that target cannot be found). This would usually be generated by the toolbox, but Entourage generates that error in these cases:

(1) if Entourage cannot find the Alerts Daemon (usually found in the Office subfolder) to launch to show the "toasts" (notifications that new mail has been received),

(2) if Entourage is trying to open a document and cannot find the Finder application (this is usually when you're opening Entourage on a system that is too old, so probably not your case), and

(3) in some generic process code that tracks whether other processes (e.g., the Database Daemon) are running.

@samxplogs
Copy link
Author

  1. It seems the shasum does not match

% shasum --algorithm 256 buskill-mac-1722214579-x86_64.dmg

a908a1bdebd2c238c1edcc057485e19f1a083689ee801159bf13bdf3108b0813 buskill-mac-1722214579-x86_64.dmg

  1. open buskill-mac-1722214579-x86_64.dmg

This mount right away the .dmg image and I have the exact same output as stated on top of this ticket.

  1. open -W /Volumes/buskill-/buskill-.app/Contents/MacOS/buskill

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-128 "userCanceledErr" UserInfo={_LSLine=4129, _LSFunction=_LSOpenStuffCallLocal}

@maltfield
Copy link
Member

@samxplogs did you obtain the file with this command?

wget https://github.com/BusKill/buskill-app/releases/download/10136271901_mac/buskill-mac-1722214579-x86_64.dmg

because if you get a different file than I get when I execute that command, we have a much bigger problem...

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

2 participants