{"action":"created","issue":{"url":"https://api.github.com/repos/ndmitchell/hoogle/issues/36","labels_url":"https://api.github.com/repos/ndmitchell/hoogle/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/ndmitchell/hoogle/issues/36/comments","events_url":"https://api.github.com/repos/ndmitchell/hoogle/issues/36/events","html_url":"https://github.com/ndmitchell/hoogle/issues/36","id":21546326,"number":36,"title":"Could not find some databases","user":{"login":"pakanek","id":1089091,"avatar_url":"https://avatars.githubusercontent.com/u/1089091?v=3","gravatar_id":"","url":"https://api.github.com/users/pakanek","html_url":"https://github.com/pakanek","followers_url":"https://api.github.com/users/pakanek/followers","following_url":"https://api.github.com/users/pakanek/following{/other_user}","gists_url":"https://api.github.com/users/pakanek/gists{/gist_id}","starred_url":"https://api.github.com/users/pakanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakanek/subscriptions","organizations_url":"https://api.github.com/users/pakanek/orgs","repos_url":"https://api.github.com/users/pakanek/repos","events_url":"https://api.github.com/users/pakanek/events{/privacy}","received_events_url":"https://api.github.com/users/pakanek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-10-24T19:38:10Z","updated_at":"2015-07-19T12:30:39Z","closed_at":null,"body":"Hello,\r\n\r\nI can't generate dabase:\r\n```bash\r\n$ hoogle data\r\nCould not find some databases: default\r\nSearching in:\r\n  .\r\n  /home/$USER/.cabal/share/hoogle-4.2.23/databases\r\n\r\nThere are no available databases, generate them with: hoogle data\r\n$ ls ~/.cabal/share/hoogle-4.2.23\r\nresources\r\n```\r\nI am using Fedora 18 Linux x86_64, ghc-7.4.1 (system package) and recently I tried to install ghc-7.6.3 with 2013.2 platform from source to /usr/local which failed so I removed it as well as ~/.ghc and ~/.cabal. System version of Cabal library is 1.14.0 and I have locally installed Cabal library 1.18.1.1.\r\n\r\nIt may be possible that I am in some inconsistent state, but I have no clue how to solve it from this error message."},"comment":{"url":"https://api.github.com/repos/ndmitchell/hoogle/issues/comments/122658217","html_url":"https://github.com/ndmitchell/hoogle/issues/36#issuecomment-122658217","issue_url":"https://api.github.com/repos/ndmitchell/hoogle/issues/36","id":122658217,"user":{"login":"ndmitchell","id":1651197,"avatar_url":"https://avatars.githubusercontent.com/u/1651197?v=3","gravatar_id":"","url":"https://api.github.com/users/ndmitchell","html_url":"https://github.com/ndmitchell","followers_url":"https://api.github.com/users/ndmitchell/followers","following_url":"https://api.github.com/users/ndmitchell/following{/other_user}","gists_url":"https://api.github.com/users/ndmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/ndmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndmitchell/subscriptions","organizations_url":"https://api.github.com/users/ndmitchell/orgs","repos_url":"https://api.github.com/users/ndmitchell/repos","events_url":"https://api.github.com/users/ndmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/ndmitchell/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T12:30:39Z","updated_at":"2015-07-19T12:30:39Z","body":"So the issue is that `hoogle --color data` is parsed as a search since the mode has to come before the first mode argument. Not sure I can do much about that, apart from defaulting to color being on, which kind of fixes this issue at the source."}}