{"action":"opened","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/46407","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/46407/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/46407/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/46407/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/46407","id":318093963,"number":46407,"title":"Listing installed casks fails with an error","user":{"login":"blackrobot","id":85895,"avatar_url":"https://avatars1.githubusercontent.com/u/85895?v=4","gravatar_id":"","url":"https://api.github.com/users/blackrobot","html_url":"https://github.com/blackrobot","followers_url":"https://api.github.com/users/blackrobot/followers","following_url":"https://api.github.com/users/blackrobot/following{/other_user}","gists_url":"https://api.github.com/users/blackrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/blackrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackrobot/subscriptions","organizations_url":"https://api.github.com/users/blackrobot/orgs","repos_url":"https://api.github.com/users/blackrobot/repos","events_url":"https://api.github.com/users/blackrobot/events{/privacy}","received_events_url":"https://api.github.com/users/blackrobot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-26T15:55:57Z","updated_at":"2018-04-26T15:55:57Z","closed_at":null,"author_association":"NONE","body":"#### General troubleshooting steps\r\n\r\n- [x] I have retried my command with `--force` and the issue is still present.\r\n- [x] I have checked the instructions for [reporting bugs](https://github.com/caskroom/homebrew-cask#reporting-bugs) (or [making requests](https://github.com/caskroom/homebrew-cask#requests)) before opening the issue.\r\n  - [x] None of the templates was appropriate for my issue, or I’m not sure.\r\n- [x] I ran `brew update-reset && brew update` and retried my command.\r\n- [x] I ran `brew doctor`, fixed as many issues as possible and retried my command.\r\n- [x] I understand that [if I ignore these instructions, my issue may be closed without review](https://github.com/caskroom/homebrew-cask/blob/master/doc/faq/closing_issues_without_review.md).\r\n\r\n#### Description of issue\r\n\r\nRunning `brew cask ls` or `brew cask list` causes an error, and doesn't list the installed Casks.\r\n\r\n#### Command that failed\r\n\r\n```\r\n❯ brew cask ls\r\nError: no implicit conversion of nil into String\r\nFollow the instructions here:\r\n  https://github.com/caskroom/homebrew-cask#reporting-bugs\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `Pathname'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `new'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `block in casks'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `map'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `casks'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:40:in `list_installed'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:14:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'\r\n```\r\n\r\n#### Output of command with `--force --verbose --debug`\r\n\r\n```\r\n❯ brew cask ls --force --verbose --debug\r\nError: invalid option: --force\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/options.rb:60:in `process_arguments'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:42:in `initialize'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `new'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'\r\nError: Kernel.exit\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `exit'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `rescue in run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'\r\n```\r\n\r\n_Without the `--force`:_\r\n\r\n```\r\n❯ brew cask ls --verbose --debug\r\nError: no implicit conversion of nil into String\r\nFollow the instructions here:\r\n  https://github.com/caskroom/homebrew-cask#reporting-bugs\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `Pathname'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `new'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `block in casks'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `map'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `casks'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:40:in `list_installed'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:14:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'\r\nError: Kernel.exit\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:179:in `exit'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:179:in `rescue in run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'\r\n```\r\n\r\n#### Output of `brew cask doctor`\r\n\r\n```\r\n❯ brew cask doctor\r\n==> Homebrew-Cask Version\r\nHomebrew-Cask 1.6.2-33-g27ec9da\r\ncaskroom/homebrew-cask (git revision dca88b; last commit 2018-04-26)\r\n==> macOS\r\n10.12.6\r\n==> SIP\r\nEnabled\r\n==> Java\r\n1.8.0_102, 1.8.0_60, 1.8.0_31\r\n==> Homebrew-Cask Install Location\r\n<NONE>\r\n==> Homebrew-Cask Staging Location\r\n/usr/local/Caskroom\r\n==> Homebrew-Cask Cached Downloads\r\n~/Library/Caches/Homebrew/Cask\r\n==> Homebrew-Cask Taps:\r\n/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3957 casks)\r\n/usr/local/Homebrew/Library/Taps/caskroom/homebrew-drivers (143 casks)\r\n/usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts (1160 casks)\r\n/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (176 casks)\r\n==> Contents of $LOAD_PATH\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib\r\n/usr/local/Homebrew/Library/Homebrew\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/universal-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/x86_64-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/universal-darwin9.0\r\n==> Environment Variables\r\nLC_ALL=\"en_US.UTF-8\"\r\nPATH=\"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm\"\r\nSHELL=\"/usr/local/bin/zsh\"\r\n```\r\n\r\n#### Output of `brew tap`\r\n\r\n```\r\n❯ brew tap\r\nburntsushi/ripgrep\r\ncaskroom/cask\r\ncaskroom/drivers\r\ncaskroom/fonts\r\ncaskroom/versions\r\ncema-sp/tap\r\nheroku/brew\r\nhomebrew/boneyard\r\nhomebrew/core\r\nhomebrew/dupes\r\nhomebrew/fuse\r\nhomebrew/python\r\nhomebrew/science\r\nhomebrew/services\r\nhomebrew/versions\r\nneovim/neovim\r\nyudai/gotty\r\n```\r\n"}}
{"actor":{"display_login":"blackrobot"}}