Skip to content
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

cannot install XLD #8562

Closed
eljojo opened this issue Dec 31, 2014 · 2 comments
Closed

cannot install XLD #8562

eljojo opened this issue Dec 31, 2014 · 2 comments

Comments

@eljojo
Copy link

eljojo commented Dec 31, 2014

Hi,
I just tried to install XLD and brew-cask asked me to report an issue.

First, I tried running brew cask install xld and it got stuck at 100%, like this for about half an hour until i ctrl+d' it:

$ brew cask install xld
==> Downloading http://downloads.sourceforge.net/project/xld/xld-20141129.dmg
######################################################################## 100.0%
^C

then, I re-ran brew cask install xld and it failed with the following:

$ brew cask install xld
==> Downloading http://downloads.sourceforge.net/project/xld/xld-20141129.dmg
Already downloaded: /Library/Caches/Homebrew/xld-20141129.dmg
Error: no implicit conversion of nil into String
Please report this bug:
    https://github.com/caskroom/homebrew-cask/issues
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb:44:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb:44:in `open'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb:44:in `file'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb:29:in `file'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/download.rb:41:in `block in _check_sums'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/download.rb:39:in `each'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/download.rb:39:in `_check_sums'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/download.rb:32:in `perform'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/installer.rb:72:in `download'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/installer.rb:49:in `install'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli/install.rb:20:in `block in install_casks'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli/install.rb:17:in `each'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli/install.rb:17:in `install_casks'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli/install.rb:6:in `run'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli.rb:81:in `run_command'
/usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli.rb:121:in `process'
/usr/local/bin/brew-cask.rb:42:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/brew.rb:59:in `require?'
/usr/local/Library/brew.rb:142:in `<main>'

Sadly, I'm not really familiar with cask's nor brew's internals.

@jawshooah
Copy link
Contributor

Your brew-cask is out of date. Run brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup, then try again.

@rolandwalker
Copy link
Contributor

Hi!

This is a duplicate of #7946.

A fix has been in release since v0.50.0. The following command should fix the issue:

$ brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup

@miccal miccal removed the duplicate label Dec 23, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants