Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Avoid "invalid argument (invalid character)" on non-unicode Windows #892

Merged
merged 1 commit into from
Jul 23, 2018

Conversation

igrep
Copy link
Contributor

@igrep igrep commented Jul 23, 2018

Steps to reproduce and the error message

> stack haddock basement
... snip ...
    Warning: 'A' is out of scope.
    Warning: 'haddock: internal error: <stdout>: commitBuffer: invalid argument (invalid character)

Environment

OS: Windows 10 ver. 1709
haddock: HEAD of ghc-8.4 when I reproduce the error. (I had to use this version to avoid another probrem already fixed in HEAD)
GHC: 8.4.3
stack: Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2
stack's resolver: nightly-2018-07-21

Related pull request

#566

Steps to reproduce and the error message
====

```
> stack haddock basement
... snip ...
    Warning: 'A' is out of scope.
    Warning: 'haddock: internal error: <stdout>: commitBuffer: invalid argument (invalid character)
```

Environment
====

OS: Windows 10 ver. 1709
haddock: [HEAD of ghc-8.4 when I reproduce the error](haskell@532b209). (I had to use this version to avoid another probrem already fixed in HEAD)
GHC: 8.4.3
stack: Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2

Related pull request
====

haskell#566
@alexbiehl alexbiehl merged commit 1868443 into haskell:ghc-8.4 Jul 23, 2018
@alexbiehl
Copy link
Member

Thanks @igrep! I remember the last time we need led to figure out this transliteration stuff.. Glad this time was faster!

@igrep igrep deleted the fix-stdout-error branch July 23, 2018 06:17
alanz pushed a commit that referenced this pull request Mar 25, 2020
…892)

Steps to reproduce and the error message
====

```
> stack haddock basement
... snip ...
    Warning: 'A' is out of scope.
    Warning: 'haddock: internal error: <stdout>: commitBuffer: invalid argument (invalid character)
```

Environment
====

OS: Windows 10 ver. 1709
haddock: [HEAD of ghc-8.4 when I reproduce the error](532b209). (I had to use this version to avoid another probrem already fixed in HEAD)
GHC: 8.4.3
stack: Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2

Related pull request
====

#566
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants