Giter VIP home page Giter VIP logo

Comments (11)

david1155 avatar david1155 commented on June 6, 2024 1

Thank you very much for help. I removed old /Users/user/Library/Caches/Homebrew/Cask/mailtrackerblocker.rb and after that it worked.

from mailtrackerblocker.

tomaculum avatar tomaculum commented on June 6, 2024

I think I have a similar issue with homebrew:

$ brew install --cask https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb
Traceback (most recent call last):
'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of mailtrackerblocker formula file from an arbitrary URL is unsupported!  (UsageError)
'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of mailtrackerblocker formula file from an arbitrary URL is unsupported!  (UsageError)

from mailtrackerblocker.

apparition47 avatar apparition47 commented on June 6, 2024

Sorry, looks like I messed up the command. Please try this:

brew cask install https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb

from mailtrackerblocker.

tomaculum avatar tomaculum commented on June 6, 2024

Works now, thank you!

from mailtrackerblocker.

david1155 avatar david1155 commented on June 6, 2024

% brew cask install https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb
Updating Homebrew...
Warning: Calling brew cask install is deprecated! Use brew install [--cask] instead.
==> Downloading https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb.
Error: Cask 'mailtrackerblocker' is unreadable: /Users/user/Library/Caches/Homebrew/Cask/mailtrackerblocker.rb:32: syntax error, unexpected end, expecting end-of-input
end end
^~~

from mailtrackerblocker.

apparition47 avatar apparition47 commented on June 6, 2024

@uxusoft Could you share the version of Homebrew you're using?

brew --version

You may have to update

from mailtrackerblocker.

tomaculum avatar tomaculum commented on June 6, 2024

I had this deprecation warning as well, but it installed fine:

$ brew cask install https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 6 formulae.

Warning: Calling brew cask install is deprecated! Use brew install [--cask] instead.
==> Downloading https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb.
######################################################################## 100.0%
==> Caveats
ℹ️  To enable and use:

1. Open Mail, goto Preferences > General > Manage Plug-ins... >
check "MailTrackerBlocker.mailbundle" > Apply and Restart Mail.
2. Tap on the ⓧ button to find out what was blocked.

⚠️  Note:

Disabling "load remote content in messages"
with MailTrackerBlocker enabled is redundant;
re-enable this option for the best experience.

==> Downloading https://github.com/apparition47/MailTrackerBlocker/releases/download/0.3.4/MailTrackerBlocker.pkg
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/277057483/c9b33300-405e-11eb-811a-02058bf0e50f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201217%2Fus-east-1%2
######################################################################## 100.0%
==> Installing Cask mailtrackerblocker
==> Running installer for mailtrackerblocker; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
installer: Package name is MailTrackerBlocker
installer: Installing at base path /
installer: The install was successful.
🍺  mailtrackerblocker was successfully installed!
$ brew --version
Homebrew 2.6.2
Homebrew/homebrew-core (git revision 71b0561; last commit 2020-12-17)
Homebrew/homebrew-cask (git revision 7637f; last commit 2020-12-17)

from mailtrackerblocker.

david1155 avatar david1155 commented on June 6, 2024

Homebrew 2.6.2-87-g4f4f820
Homebrew/homebrew-core (git revision 71b0561; last commit 2020-12-17)
Homebrew/homebrew-cask (git revision 7637f; last commit 2020-12-17)

from mailtrackerblocker.

apparition47 avatar apparition47 commented on June 6, 2024

@uxusoft could you try --force?

 brew cask install --force https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb

from mailtrackerblocker.

david1155 avatar david1155 commented on June 6, 2024

% brew cask install --force https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 11 casks.

Warning: Calling brew cask install is deprecated! Use brew install [--cask] instead.
==> Downloading https://raw.githubusercontent.com/apparition47/MailTrackerBlocker/master/mailtrackerblocker.rb.
Error: Cask 'mailtrackerblocker' is unreadable: /Users/user/Library/Caches/Homebrew/Cask/mailtrackerblocker.rb:32: syntax error, unexpected end, expecting end-of-input
end end
^~~

from mailtrackerblocker.

apparition47 avatar apparition47 commented on June 6, 2024

@uxusoft Glad you solved it.

Warning: Calling brew cask install is deprecated! Use brew install [--cask] instead.

Also realized from your issue that this method of installing private Homebrew Casks is deprecated. Will have to fix this. Thanks!

EDIT: Done setup ⚠️ Future users: please follow the instructions on the README as the methods in this ticket above are now deprecated

from mailtrackerblocker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.