Closed ghost closed 7 years ago
filebot
https://github.com/caskroom/homebrew-cask/blob/87f8a34c99676b9ac45c950c82410e50c4a5951e/Casks/filebot.rb#L12 The darwin package only includes the CLI tools. Launching the app bundle merely redirects to the Mac App Store.
lackeyccg
- Cannot reproduce error
brew cask install lackeyccg --verbose --debug
==> Hbc::Installer#install
==> Printing caveats
==> Hbc::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading http://www.lackeyccg.com/LackeyCCGMac.zip
==> Calling curl with args ["http://www.lackeyccg.com/LackeyCCGMac.zip", "-C", 0, "-o", #<Pathname:/Users/commitay/Library/Caches/Homebrew/Cask/lackeyccg--latest.zip.incomplete>, "-A", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10) https://caskroom.github.io"]
/usr/bin/curl --remote-time --location --user-agent Homebrew/1.2.5 (Macintosh; Intel Mac OS X 10.12.6) curl/7.54.0 --fail http://www.lackeyccg.com/LackeyCCGMac.zip -C 0 -o /Users/commitay/Library/Caches/Homebrew/Cask/lackeyccg--latest.zip.incomplete -A Mozilla/5.0 (Macintosh; Intel Mac OS X 10) https://caskroom.github.io
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.8M 100 12.8M 0 0 240k 0 0:00:54 0:00:54 --:--:-- 343k
==> Downloaded to -> /Users/commitay/Library/Caches/Homebrew/Cask/lackeyccg--latest.zip
==> Verifying download
==> Determining which verifications to run for Cask lackeyccg
==> Checking for verification class Hbc::Verify::Checksum
==> No checksum defined for Cask lackeyccg, skipping verification
==> 0 verifications defined
==> Installing Cask lackeyccg
==> Hbc::Installer#stage
==> Extracting primary container
==> Determining which containers to use based on filetype
==> Checking container class Hbc::Container::Pkg
==> Checking container class Hbc::Container::Ttf
==> Checking container class Hbc::Container::Otf
==> Checking container class Hbc::Container::Air
==> Checking container class Hbc::Container::Cab
==> Checking container class Hbc::Container::Dmg
==> Executing: ["/usr/bin/hdiutil", "imageinfo", "/Users/commitay/Library/Caches/Homebrew/Cask/lackeyccg--latest.zip"]
==> Checking container class Hbc::Container::SevenZip
==> Checking container class Hbc::Container::Sit
==> Checking container class Hbc::Container::Rar
==> Checking container class Hbc::Container::Zip
==> Using container class Hbc::Container::Zip for /Users/commitay/Library/Caches/Homebrew/Cask/lackeyccg--latest.zip
==> Executing: ["/usr/bin/ditto", "-x", "-k", "--", "/Users/commitay/Library/Caches/Homebrew/Cask/lackeyccg--latest.zip", "/var/folders/qx/b4jmmnrs6g5fbyncgncnmv_w0000gn/T/d20170727-2520-1sd6xbk"]
==> Creating metadata directory /usr/local/Caskroom/lackeyccg/.metadata/latest/20170726195143.056.
==> Creating metadata subdirectory /usr/local/Caskroom/lackeyccg/.metadata/latest/20170726195143.056/Casks.
==> Installing artifacts
==> Determining which artifacts are present in Cask lackeyccg
==> 1 artifact/s defined
#<Hbc::Artifact::Suite:0x007f86f40f08e8>
==> Installing artifact of class Hbc::Artifact::Suite
==> Moving App Suite 'LackeyCCG' to '/Applications/LackeyCCG'.
πΊ lackeyccg was successfully installed!
google-drive
has been replaced by google-backup-and-sync
Cannot reproduce the one with lackeyccg
either, have you tried brew cask cleanup
and retried? The download may be corrupt.
@commitay thanks, looks like I missed the Google drive change. On a side note, sadly my custom domain doesn't work with their new app. Thanks for clarifying on the FileBot being CLI only. I should have realized that.
@reitermarkus I tried brew cask cleanup
just now and reinstalled. No luck. I'm going to try a restart and see if that helps.
Edit: restart didn't help. Even though I already did this, I ran brew update
and brew upgrade
again just to make sure. Then brew cask cleanup
again. Each time inbetween, I tried the install and it keeps doing the same error.
Tried following ideas from #513 and #619.
Update, I'm suspicious of this:
The zip file isn't opening, because the file is essentially empty. The log doesn't indicate this though so that's weird. Now why would that be...
Does downloading it manually work?
@reitermarkus yes, it does. http://www.lackeyccg.com/LackeyCCGMac.zip
works no problem. So maybe it's a permissions issue in which case sorry to bother you.
Trial and error list:
Did you already try the curl
command stand-alone?
@reitermarkus Good call. For me, curling that link triggers a rejection.
β ~ curl http://www.lackeyccg.com/LackeyCCGMac.zip
<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. If you think this is an error, please contact the webmaster.</body></html>
However, if I curl
another site, it works fine. So it doesn't seem to be a problem with curl
. This appears not to be a brew cask
issue either, since it works for you no problem. I know I'm not blocked because I've switched IP addresses, plus there's no reason for me to be blocked anyway since I've rarely even used the app. x.x
I'm more curious than anything, now. I know I could just download the zip and be done with it, but I want to know why the problem is happening.
lackeyccg
has user_agent: :fake
, to test curl
manually you will have set --user-agent
.
Ah, thanks for pointing that out. Here's a couple different ones.
β ~ curl --user-agent "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5" http://www.lackeyccg.com/LackeyCCGMac.zip
<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. If you think this is an error, please contact the webmaster. <br><br>Your support ID is: 13509873612046743391</body></htmlcurl -A "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3" ^C
β ~ curl --user-agent "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3" http://www.lackeyccg.com/LackeyCCGMac.zip
<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. If you think this is an error, please contact the webmaster. <br><br>Your support ID is: 13509873612045370314</body></html>
Both of those work for me.
Solved. This is entirely my fault. I had a .curlrc
file that was messing it up. Specifically, this line:
referer = ";auto"
Simply removing it fixed the problem. Thanks for the help, @commitay and @reitermarkus.
General troubleshooting steps
brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Some of the brew cask commands didn't work as they should. I just switched to a new laptop, so I ran a lot of them. Here's 3 that didn't work like they used to.
Output of your command with
--verbose --debug
reinstall
. Same problem.Output of
brew cask doctor