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

Verve.app is damaged and can't be opened #16

Closed
nicoburns opened this issue Dec 29, 2022 · 13 comments
Closed

Verve.app is damaged and can't be opened #16

nicoburns opened this issue Dec 29, 2022 · 13 comments

Comments

@nicoburns
Copy link

I'm getting the following error message "Verve.app is damaged and can't be opened" when I try to run Verve. This is with the aarch64 build on an M1 Pro processor running macOS Ventura (13.0.1).

Screenshot 2022-12-29 at 16 28 20

@ParthJadhav
Copy link
Owner

ParthJadhav commented Dec 29, 2022

Hey @nicoburns , Can you try running this command xattr -c /Applications/verve.app

@nicoburns
Copy link
Author

Hmm... Well that removes the error. But attempting to open the application (either by double clicking or running open /Applications/verve.app) now does nothing at all.

@ParthJadhav
Copy link
Owner

It might have opened . It's an Menu bar app. Try pressing CMD + SHIFT + G

@ParthJadhav
Copy link
Owner

ParthJadhav commented Dec 29, 2022

Hmm... Well that removes the error. But attempting to open the application (either by double clicking or running open /Applications/verve.app) now does nothing at all.

I should probably add some indicator that the app has opened 😄

#17

@nicoburns
Copy link
Author

It might have opened . It's an Menu bar app.

Hmm... I don't think it has:

  • I don't have a menubar icon
  • Cmd-Shift-G is not working to open it

I thought Cmd-Shift-G was working, but it turns out I was just getting Finder's "go to file" dialog, which also uses that keybinding. You may also want to consider a different default key combination because Finder, Chrome, iTerm2 and Sublime Text all have something mapped to Cmd-Shift-G (although admittedly it's probably something I don't mind being overridden in all cases).

@ParthJadhav
Copy link
Owner

It might have opened . It's an Menu bar app.

Hmm... I don't think it has:

  • I don't have a menubar icon
  • Cmd-Shift-G is not working to open it

I thought Cmd-Shift-G was working, but it turns out I was just getting Finder's "go to file" dialog, which also uses that keybinding. You may also want to consider a different default key combination because Finder, Chrome, iTerm2 and Sublime Text all have something mapped to Cmd-Shift-G (although admittedly it's probably something I don't mind being overridden in all cases).

Can you check Activity Monitor for the same? If that doesn't work, Can you try using the Intel Version... It's quite hard for me to test on other machines. I'm using M2 and it's working fine. Also it's working fine for people with Intel Macs.

It would be great if you could help diagnose this issue so I can fix it 😄

@nicoburns
Copy link
Author

Nothing in Activity Monitor.

The x86 version is different: it doesn't say the package is broken. It complains it is from an unidentified developer, but that can be bypassed by right click -> open. Unfortunately this gives the same result: no error and no running program either.

If I try to run the binary inside the package directly I get the following error:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { inner: ErrorImpl { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }), file_position: None } }', src/util.rs:56:85

@ParthJadhav
Copy link
Owner

Okay Got it, I'm working on a fix. I hope that fixes it.

So whats happening is, For Verve to display app icons. It first extracts the icons from each app and then stores it in app data directory.

And for that it looks for info.plist file inside the .app of each app you have. It seems that the file is missing is certain app. I'll change the code so that it doesn't fail in that case.

@ParthJadhav
Copy link
Owner

verve_x86_64.dmg.zip

Created a test build. Can you try with this @nicoburns

@ParthJadhav
Copy link
Owner

Screenshot 2022-12-29 at 10 57 26 PM

Changes👆

@nicoburns
Copy link
Author

Yep, that seems to fix things.

Perhaps at some point you should add some kind of global crash handler that will allow users to view and/or report these errors rather than just silently crashing.

@ParthJadhav
Copy link
Owner

Right @nicoburns , Will create an issue regarding the same

@ParthJadhav
Copy link
Owner

Fixed in latest commit + Updated the Release section. Thanks for the help @nicoburns

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