Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.9k stars 10.7k forks source link

Bartender Install Fails #3971

Closed jallits closed 10 years ago

jallits commented 10 years ago

Ran the following: brew cask install bartender and received the results below.

==> Downloading http://www.macbartender.com/Demo/Bartender.zip
curl: (22) The requested URL returned error: 403 Forbidden
Error: Download failed: http://www.macbartender.com/Demo/Bartender.zip

Dug slightly deeper with curl -I http://www.macbartender.com/Demo/Bartender.zip and got the following as a response.

HTTP/1.1 403 Forbidden
Server: cloudflare-nginx
Date: Mon, 21 Apr 2014 22:18:39 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Set-Cookie: __cfduid=d63ba8f18c6f8f2d7a146118fc2a9a14f1398118719259; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.macbartender.com; HttpOnly
Cache-Control: max-age=10
Expires: Mon, 21 Apr 2014 22:18:49 GMT
CF-RAY: 11ecf56b58b60994-ORD
vitorgalvao commented 10 years ago

Could you please retry? I just ran both commands and it worked fine (the downloaded succeeded, and got a 200 HTTP status code). Perhaps it was something temporary on their end. If the problem persists, we’ll have to see if we can figure out what’s wrong on your side.

alebcay commented 10 years ago

@vitorgalvao confirmed Bartender is not on the failed list on cask-tasting, and brew cask audit --download bartender also passed.

jallits commented 10 years ago

Okay. I was working with a Vanilla install of Mavericks. I had to explicitly set my /usr/local/bin before /usr/bin for the download to work. My bad for the false report. Thank you for the quick response and confirming that the cask was indeed valid. Cheers!

muescha commented 10 years ago

Why we get a 403 if the path is wrong?

Is there a requirement to put this path change into the install docu if this problem exists with every vanilla mavericks?

vitorgalvao commented 10 years ago

This shouldn’t be needed, and I’m not sure what happened. Just tried it with /usr/bin before /usr/local/bin, and it worked just as well. I don’t remember seeing this problem before. Since I’m not being able to reproduce it and it is now fixed, I’ll close this issue and keep an eye out for it happening again. If it does, we’ll investigate further.

jallits commented 10 years ago

Thanks @phinze I should have closed it myself. It got late and I rushed my results out.

On Apr 22, 2014, at 6:32 AM, VĂ­tor GalvĂŁo notifications@github.com wrote:

This shouldn’t be needed, and I’m not sure what happened. Just tried it with /usr/bin before /usr/local/bin, and it worked just as well. I don’t remember seeing this problem before. Since it I’m not being able to reproduce it and it is now fixed, I’ll close this issue and keep an eye out for it happening again. If it does, we’ll investigate further.

— Reply to this email directly or view it on GitHub.

jallits commented 10 years ago

Sorry I meant Vitor. Rough last 12 hours.

Sent from my iPhone

On Apr 22, 2014, at 6:32 AM, VĂ­tor GalvĂŁo notifications@github.com wrote:

This shouldn’t be needed, and I’m not sure what happened. Just tried it with /usr/bin before /usr/local/bin, and it worked just as well. I don’t remember seeing this problem before. Since it I’m not being able to reproduce it and it is now fixed, I’ll close this issue and keep an eye out for it happening again. If it does, we’ll investigate further.

— Reply to this email directly or view it on GitHub.

phinze commented 10 years ago

No worries @jallits https://github.com/jallits - hang in there! :) <3

On Tuesday, April 22, 2014, Daniel Craig Jallits notifications@github.com wrote:

Sorry I meant Vitor. Rough last 12 hours.

Sent from my iPhone

On Apr 22, 2014, at 6:32 AM, VĂ­tor GalvĂŁo notifications@github.com<javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

This shouldn’t be needed, and I’m not sure what happened. Just tried it with /usr/bin before /usr/local/bin, and it worked just as well. I don’t remember seeing this problem before. Since it I’m not being able to reproduce it and it is now fixed, I’ll close this issue and keep an eye out for it happening again. If it does, we’ll investigate further.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/phinze/homebrew-cask/issues/3971#issuecomment-41032041 .

alebcay commented 10 years ago

@vitorgalvao, @AlecRust notes that it's still an issue at this time (on his end, at least). I could not duplicate the issue myself.

vitorgalvao commented 10 years ago

@alebcay I’m still not being able to replicate it.