{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/13786","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/13786/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/13786/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/13786/events","html_url":"https://github.com/caskroom/homebrew-cask/pull/13786","id":106724008,"number":13786,"title":"Remove space from Kindle Previewer package filename","user":{"login":"cobyism","id":296432,"avatar_url":"https://avatars.githubusercontent.com/u/296432?v=3","gravatar_id":"","url":"https://api.github.com/users/cobyism","html_url":"https://github.com/cobyism","followers_url":"https://api.github.com/users/cobyism/followers","following_url":"https://api.github.com/users/cobyism/following{/other_user}","gists_url":"https://api.github.com/users/cobyism/gists{/gist_id}","starred_url":"https://api.github.com/users/cobyism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobyism/subscriptions","organizations_url":"https://api.github.com/users/cobyism/orgs","repos_url":"https://api.github.com/users/cobyism/repos","events_url":"https://api.github.com/users/cobyism/events{/privacy}","received_events_url":"https://api.github.com/users/cobyism/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/awaiting%20user%20reply","name":"awaiting user reply","color":"ff851b"},{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/bug","name":"bug","color":"d83131"},{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/cask","name":"cask","color":"0ec993"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-16T08:26:21Z","updated_at":"2015-09-16T17:45:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/13786","html_url":"https://github.com/caskroom/homebrew-cask/pull/13786","diff_url":"https://github.com/caskroom/homebrew-cask/pull/13786.diff","patch_url":"https://github.com/caskroom/homebrew-cask/pull/13786.patch"},"body":"I was receiving the following error when trying to install the `kindle-previewer` application:\r\n\r\n```\r\n$ brew cask install kindle-previewer\r\n==> Downloading https://kindlepreviewer.s3.amazonaws.com/KindlePreviewer.zip\r\nAlready downloaded: /Library/Caches/Homebrew/kindle-previewer-latest.zip\r\n==> Running installer for kindle-previewer; your password may be necessary.\r\n==> Package installers may write to any location; options such as --appdir are ignored.\r\nError: pkg source file not found: '/opt/homebrew-cask/Caskroom/kindle-previewer/latest/Kindle Previewer.pkg'\r\n```\r\n\r\nI expanded the downloaded zip file, and saw that the extracted package name didn’t contain a space, like the formula expects:\r\n\r\n<img width=\"558\" alt=\"screenshot 2015-09-16 09 20 14\" src=\"https://cloud.githubusercontent.com/assets/296432/9899827/53bc03fa-5c54-11e5-949c-6df3ee978bb1.png\">\r\n\r\nAfter altering the formula to remove the space, installing succeeds locally.\r\n\r\n```\r\n$ brew cask edit kindle-previewer\r\n\r\n…\r\n\r\n$ brew cask install kindle-previewer\r\n==> Downloading https://kindlepreviewer.s3.amazonaws.com/KindlePreviewer.zip\r\nAlready downloaded: /Library/Caches/Homebrew/kindle-previewer-latest.zip\r\n==> Running installer for kindle-previewer; your password may be necessary.\r\n==> Package installers may write to any location; options such as --appdir are ignored.\r\n==> installer: Package name is Kindle Previewer 2.941\r\n==> installer: Installing at base path /\r\n==> installer: The install was successful.\r\n🍺  kindle-previewer staged at '/opt/homebrew-cask/Caskroom/kindle-previewer/latest' (219M)\r\n```\r\n\r\nThis PR contains that change :grin: "},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/140816408","html_url":"https://github.com/caskroom/homebrew-cask/pull/13786#issuecomment-140816408","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/13786","id":140816408,"user":{"login":"vitorgalvao","id":1699443,"avatar_url":"https://avatars.githubusercontent.com/u/1699443?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorgalvao","html_url":"https://github.com/vitorgalvao","followers_url":"https://api.github.com/users/vitorgalvao/followers","following_url":"https://api.github.com/users/vitorgalvao/following{/other_user}","gists_url":"https://api.github.com/users/vitorgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorgalvao/subscriptions","organizations_url":"https://api.github.com/users/vitorgalvao/orgs","repos_url":"https://api.github.com/users/vitorgalvao/repos","events_url":"https://api.github.com/users/vitorgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/vitorgalvao/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T17:45:03Z","updated_at":"2015-09-16T17:45:03Z","body":"Yes, no space. Apologies for the confusion, fixed my comment."}}