-
-
Notifications
You must be signed in to change notification settings - Fork 11k
xmind8: Unexpected method 'discontinued' called during caveats on Cask #210213
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
Comments
@botantony , wasn't this something you were working on? |
Hmm... I was working on It was deprecated by Mike McQuaid 7 months ago (before my first contribution to the Homebrew) and removed during preparation to 4.5.0: Homebrew/brew@c9a7b62 |
Huh, I cannot find any PR related to this cask |
Indeed, I couldn't find any PR or commits in this repo related to xmind8. Removed the
According to my Brewfile, I had to move from
Hope this helps. |
I just found two related PRs:
It seems that the xmind8 cask missed the repo migration? |
@botantony / @SMillerDev: Happy to submit a PR with the fixed xmind8.rb. |
I do not understand, are |
@botantony: Same company (xmind.net), just two different versions:
|
Your best option would be to host the cask in your own tap if you still need to manage the install with Homebrew. |
I wonder how it was considered discontinued if the company still offers the product https://xmind.app/download/xmind8/ and respective licenses https://xmind.app/pricing/xmind8-pro/ today? By the way, I use the app on an M1 with 15.4.1, and it works as it always has on my old Macs. |
Thanks for the extra info, you are welcome to open a PR to re-add the cask. Note that the token would now need to be |
I'm seeing this same error, but with a general
The problem seems to have gone away for the $ brew uninstall adoptopenjdk8
Error: Unexpected method 'discontinued' called during caveats on Cask adoptopenjdk8.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Error: Unexpected method 'discontinued' called during caveats on Cask adoptopenjdk8.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Error: Unexpected method 'discontinued' called during caveats on Cask adoptopenjdk8.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
Error: Unexpected method 'discontinued' called during caveats on Cask adoptopenjdk8.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
==> Uninstalling Cask adoptopenjdk8
==> Uninstalling packages with sudo; the password may be necessary:
==> Purging files for version 8,292,b10 of Cask adoptopenjdk8 and I'm able to proceed with other tasks. |
|
I encountered the same error: Here’s how I solved it: # Uninstall the cask
$ brew uninstall --cask adoptopenjdk8
# Install Temurin instead - it's the official replacement for adoptopenjdk8
$ brew install --cask temurin |
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
I have used Xmind8 for more than a decade, and I have it installed using Homebrew. Somehow, I started to have the following errors this week:
Error: Unexpected method 'discontinued' called during caveats on Cask xmind8.
I do have the cask file locally:
brew edit xmind8
I noticed that the cask
xmind8
doesn't exist anymore in https://github.com/Homebrew/homebrew-cask/tree/master/Casks/x, despite the app still being available to download at https://www.xmind.net/xmind8-pro/Downloaded the app today and confirmed that sha256sum:
Workaround:
Comment the
discontinued
line, and the error goes away.Question:
Shouldn't this cask be in the https://github.com/Homebrew/homebrew-cask/tree/master/Casks/x ?
Command that failed
brew info xmind8
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap
The text was updated successfully, but these errors were encountered: