Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot nightly-2016-06-07 causing stack failure #2251

Closed
TerrorJack opened this issue Jun 7, 2016 · 4 comments
Closed

Snapshot nightly-2016-06-07 causing stack failure #2251

TerrorJack opened this issue Jun 7, 2016 · 4 comments
Milestone

Comments

@TerrorJack
Copy link

When I switch resolver of the global stack.yaml to nightly-2016-06-07, all commands (stack build, stack ghci, etc) fail with the following output:

Run from outside a project, using implicit global project config
Unable to parse cabal file: FromString "unrecognised field or section: \"\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NU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UL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL\\NUL-- Initial varying.cabal generated by cabal init.  For further\"" (Just 12)

Older snapshots won't cause this problem. I am using stack 1.2.0 on Windows 10 x64, is anyone else having same issues on other platforms?

@phadej
Copy link
Collaborator

phadej commented Jun 7, 2016

I guess it's the same as #1702

Check that ~/.stack/build-plan/nightly-2016-06-07.yaml looks like yaml file, and if don't: remove it.

@TerrorJack
Copy link
Author

@phadej Nope. The downloaded yaml file is not corrupted (and I retried with a manually downloaded version)

@phadej
Copy link
Collaborator

phadej commented Jun 7, 2016

I see, it failed to parse some cabal file. What if you remove .stack/indices and try again?

@TerrorJack
Copy link
Author

@phadej It worked after a stack update. I guess the Hackage mirror that I'm using was once polluted, so it isn't really a stack issue. But thanks anyway!

@mgsloan mgsloan added this to the Support milestone Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants