commercialhaskell / commercialhaskell/stack

`stack hoogle` command failed

Open
#2,582 17 comments 1 reaction 1 assignee Claimed by @ndmitchell View on GitHub
component: hoogle
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

### General summary/comments (optional)

Windows 7 64bit

stack hoogle command failed with this message,

```
No Hoogle database yet. Automatically building haddocks and hoogle database (use --no-setup to disable) ...
Built docs.
Starting generate
Reading ghc-pkg... hoogle.EXE: fd:5: hGetContents: invalid argument (invalid byte sequence)
Exit code ExitFailure 1 while running ["hoogle","generate","--local","--database=D:\\msys32\\home\\Administrator\\iiac-patch-label-list-generator\\.stack-work\\hoogle\\9a7902b4\\database.hoo"]

```
### Stack version

```
$ stack --version
Version 1.2.1, Git revision b485f6d9b42f530b8a1a226768021a123a7e8041 x86_64 hpack-0.14.1
```
### Method of installation
- Official binary, downloaded from stackage.org or fpcomplete's package repository
- then `stack upgrade --git`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.