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

[Bug]: brew cask can't load application due to No such file or directory @ rb_sysopen #1514

Closed
3 tasks done
YXXJIA005 opened this issue Dec 9, 2023 · 8 comments
Closed
3 tasks done
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@YXXJIA005
Copy link

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.0.2

What operating system are you using?

macOS

Operating System Version

14.1.2 Sonoma

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working YouTube Music (Application) version

3.0.2

Reproduction steps

brew upgrade

Expected Behavior

brew upgrades everything

Actual Behavior

When loading all casks for update when it reaches youtube music it fails and I can't upgrade or uninstall casks anymore via brew.
Error: No such file or directory @ rb_sysopen - https://api.github.com/repos/th-ch/youtube-music/releases/latest

Enabled plugins

None

Additional Information

No response

@JellyBrick
Copy link
Collaborator

Duplicate of #1496

fixed at #1496

@JellyBrick JellyBrick closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2023
@JellyBrick JellyBrick added the duplicate This issue or pull request already exists label Dec 9, 2023
@JellyBrick JellyBrick reopened this Dec 12, 2023
@JellyBrick JellyBrick added bug Something isn't working help wanted Extra attention is needed and removed duplicate This issue or pull request already exists labels Dec 12, 2023
@JellyBrick
Copy link
Collaborator

JellyBrick commented Dec 12, 2023

It should fixed by #1496, but it isn't fixed.

@LucianoAngel
Copy link

same issue here.

@JellyBrick JellyBrick reopened this Dec 24, 2023
@indianets
Copy link

indianets commented Dec 27, 2023

I think this is not the best way to have Homebrew local cask. There should be another repository dedicated to brew exactly named homebrew-youtube-music under th-ch (or any other github account, but this is best to identify and keep it in his account) and just have youtube-music.rb cask definition inside that, after which users would just need these --

brew install th-ch/youtube-music/youtube-music

OR

brew tap th-ch/youtube-music
brew install youtube-music

tap is needed only once on any system, Homebrew will automatically fetch the latest cask definition from github and install whatever is mentioned there.

Edit: Subsequent brew upgrade youtube-music or brew upgrade --greedy (by default brew only updates formula, not casks), will be seamless and these kind of issues can be avoided once and for all.

@th-ch
Copy link
Owner

th-ch commented Dec 29, 2023

👋 Thanks for raising the issue! https://github.com/th-ch/homebrew-youtube-music has been created and this repo updated! Closing, feel free to reopen if needed 😃

@th-ch th-ch closed this as completed Dec 29, 2023
@Lumca
Copy link

Lumca commented Jan 12, 2024

I have installed the youtube music, I am happy with it but what ever I do:
brew doctor
or
brew uninstall youtube-music

I get
Error: No such file or directory @ rb_sysopen - https://api.github.com/repos/th-ch/youtube-music/releases/latest

not sure how to fix that.

@indianets
Copy link

@Lumca Try once with the repo I made as an example. It has brew-styled cask formula which I proposed to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants