-
Notifications
You must be signed in to change notification settings - Fork 142
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
Etlas 1.0.2.0 fails to read index #487
Comments
Ok, I've check the source of Etlas, it seems that HttpUtils.hs's implementation of curlTransport behaved strangely with Gow. I've confirmed this by removing Gow from my PATH; adding The actual call to curl looked like this:
A second call to curl is made ~1 second later:
It seems that Etlas did not wait for the process to return. From what I can see, Etlas initiated the curl call and then immediately reported error while leaving the curl process to download the file(of which, is left at-is in the Temp directory) Not sure if this is a bug or an issue with Gow. |
What's the exact failure? Can you show the output of |
Thanks for the analysis btw! |
Hmm, there isn't a failure to speak of, etlas seems to forget about the curl process entirely and think that the index file is not there. Here's the output with -v3 and Gow in PATH
|
I'll compare Gow's curl with a generic linux distro's curl to see if the behavior is different. I think this is becoming more of a system configuration issue and has nothing to do with etlas. Is there any particular reason why platform dependent tools are prefered instead of |
Cool sounds good. They're more robust and handle all the edge cases in HTTP. |
While this is not etlas's problem exactly, I'd be happy to accept a patch that handles this case with minimal changes. |
As long as the installation and the issue with hackage aren't resolved, there should at least be better documentation on how to install. Otherwise people who seriously want to try eta may get turned off. It should also be documented that the installation with GOW will fail. |
I'd rather come up with a fix that handles GOW rather than having it silently fail. Windows binary installation seems fine under other conditions. So the way I can reproduce this is by installing GOW and placing it in the path, correct? |
Yes. But for me it also failed with plain CMD and GOW not installed. |
Can you share |
So, following the installation guide for a fresh binary install on Windows 10, the output of the first invocation of
etlas init
looks like this:Subsequent calls such as init and update results in:
And the etlas version is:
If matters, this happened on Windows 10 1703 Build 15063.540
The text was updated successfully, but these errors were encountered: