Comments (7)
Sorry you hit this - it looks like a require order issue - let me work on repro and I'll get back to you.
from homebrew-cask.
okay I cut v0.5.1
with a fix for this. let me know if it works.
thanks for reporting!! ❤️
from homebrew-cask.
Not sure if it's related, but after upgrading to 0.5.1 and running brew cask
without problem, I tried to create a calibre cask with this info:
class Calibre < Cask
url 'http://status.calibre-ebook.com/dist/osx32'
homepage 'http://calibre-ebook.com/'
version 'latest'
end
Invoking brew cask install calibre
downloads the file correctly, but chokes with this error:
Error: undefined method new' for nil:NilClass Please report this bug: https://github.com/mxcl/homebrew/wiki/troubleshooting /usr/local/Cellar/brew-cask/0.5.1/rubylib/plist/parser.rb:44:in
tag_start'
/usr/local/Cellar/brew-cask/0.5.1/rubylib/plist/parser.rb:95:in parse' /usr/local/Cellar/brew-cask/0.5.1/rubylib/plist/parser.rb:28:in
parse_xml'
/usr/local/Cellar/brew-cask/0.5.1/rubylib/cask/installer.rb:28:in _with_extracted_mountpoints' /usr/local/Cellar/brew-cask/0.5.1/rubylib/cask/installer.rb:26:in
open'
/usr/local/Cellar/brew-cask/0.5.1/rubylib/cask/installer.rb:26:in _with_extracted_mountpoints' /usr/local/Cellar/brew-cask/0.5.1/rubylib/cask/installer.rb:10:in
install'
/usr/local/Cellar/brew-cask/0.5.1/rubylib/cask/cli/install.rb:6:in run' /usr/local/Cellar/brew-cask/0.5.1/rubylib/cask/cli/install.rb:3:in
each'
/usr/local/Cellar/brew-cask/0.5.1/rubylib/cask/cli/install.rb:3:in run' /usr/local/Cellar/brew-cask/0.5.1/rubylib/cask/cli.rb:17:in
process'
/usr/local/bin/brew-cask.rb:6
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
require'
/usr/local/bin/brew:51:in `require?'
/usr/local/bin/brew:91
from homebrew-cask.
Ack! I'm really cramping your style today! Bear with me. 🐻
Looking at this now...
from homebrew-cask.
Well I did find a completely separate problem with brew cask list
, but this calibre problem seems unrelated.
It looks like a browser is okay downloading from the URL you provide, but curl has troubles.
Check it out:
$ curl -L -I http://status.calibre-ebook.com/dist/osx32
HTTP/1.1 302 FOUND
Date: Tue, 20 Nov 2012 16:23:48 GMT
Server: Apache
Location: http://calibre-ebook.googlecode.com/files/calibre-0.9.6.dmg
Content-Type: text/html; charset=utf-8
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=UTF-8
Set-Cookie: PREF=ID=8538d42fb7e03085:TM=1353428628:LM=1353428628:S=9e4KbXU3hxk3WzFr; expires=Thu, 20-Nov-2014 16:23:48 GMT; path=/; domain=calibre-ebook.googlecode.com
X-Content-Type-Options: nosniff
Date: Tue, 20 Nov 2012 16:23:48 GMT
Server: codesite_downloads
Content-Length: 954
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
from homebrew-cask.
Actually looking at this more closely the URL is just fine. Looks like it's something funky with the Calibre dmg specifically. Spinning up a separate issue to track this.
Just cut v0.5.2
with a fix for brew cask list.
@quanganhdo - Can you verify that with v0.5.2 everything besides Calibre is working? We'll work on that specific problem in the other issue.
from homebrew-cask.
v0.5.2 seems to work fine with other things. I'll comment on the installation issue on that separate ticket.
from homebrew-cask.
Related Issues (20)
- McGimp's plugin can still be used with current GIMP. HOT 2
- Should the Ghidra cask be removed due to quarantine issues? HOT 14
- Beekeeper Studio formula tries to install non-existing release. HOT 2
- powershell caveats not reproducible HOT 2
- 404 when installing 'banksiagui', and can't update it with `brew bump` HOT 1
- Uninstalling via `remove --cask --force obs` then `autoremove` and `cleanup ` still leave leftovers `/obs-studio/` and crap in `/SystemExtensions/` HOT 3
- Cask for Evernote is not up to date HOT 2
- Error upgrading `vnc-viewer` cask HOT 8
- Casks with Sparkle/Electron and no auto_update HOT 4
- Casks with `:extract_plist` livecheck strategy HOT 1
- Alfred can't find any of the homebrew casks i installed, even with folder added HOT 3
- brew uninstall --cask mactex fails HOT 2
- update(blackhole-2ch): kickstart "com.apple.audio.coreaudiod" Operation not permitted HOT 14
- Cloudflare-Warp not able to update anymore HOT 9
- Not able to auto install downloaded app (brew brew install --cask raycast)
- Cannot install Visual Studio HOT 3
- Casks with homepage or source issues HOT 52
- can't install adrive
- 115 has changed its installation method HOT 1
- An error occurred during software installation and cannot be resolved HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-cask.