-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Get working on Windows #1
Comments
Actually, it seems that I was a bit hasty in my last try. It turns out that if you wait a bit longer and ignore the errors, the Playground works just fine, including the live code update. There's still lots of errors though; it would be nice to get rid of them. There's also still the problem of the |
Well, I've done a bit of digging, and it looks like most of the 'errors' above were just normal messages which I misinterpreted as errors. (Suggestion: rephrase these messages to make this more obvious so other people don't make that same mistake.) However, there are some genuine problems on Windows:
|
Since #2 has been merged the HEAD of reanimate now compiles and works on Windows. However, the weird file errors are still there, so I won't close this issue just yet. |
Do you know why the errors happen? Is it something we can test for? |
For me, it happens when I reload the browser window but not when changes are detected via fsnotify. No idea why this is so, though. |
Hi @bradrn. I've fixed a few race conditions in the driver and now everything works smoothly for me on Windows. If it also works for you then I'd like to close this issue. |
Hi @lemmih, thanks so much for fixing this! Unfortunately I don’t have enough time just right now to test it, but in a few hours when I get home I will definitely try it out. |
Sigh, I spoke too early. I still see the same errors. |
Ok, now I've fixed the last issues (I think). Everything works as well on Windows as it does on Linux for me. Code reloads, refreshing the browser, latex output, etc. |
Sounds good @lemmih! I finally have enough time to test this (it’s compiling as I write), so will inform you if it works for me. Out of curiosity, in which commits did you fix the issue? |
2298fca#diff-3aca47243ba1ee857817d88ba75931b2L48 Reusing the same temporary directory for compilations messed things up for some reason. Using a separate directory for each compilation fixed the errors for me. |
That’s odd. Do you have any idea why reusing the same directory would have caused those issues? |
Nope, it wasn't a problem on Linux or Mac. And it's particularly weird that GHC would create an empty binary but not give any error message or error return value. |
I’ve just tried the latest version and can confirm that the |
That last error is harmless. I think it happens because it tries to terminate a process which has already been terminated. |
I know, but it’s not too good an impression if you’re trying out this library for the first time…
It’s possible. I think it happens when I close a tab, but I will have to investigate more before saying anything definitively. |
Well, I can’t reproduce that error again. I still have no idea what caused it. |
Everything looks to be solved. Closing issue. |
That’s fine @lemmih. |
Is there any way to get this working on Windows? Here's what I've tried so far:
unix
dependency, which oddly enough doesn't actually seem to be used anywhere. After removing it I was able to buildreanimate
fine.latex_color.hs
example, but got the following output (with other actions I did in[indented square brackets]
):permission denied
error above, I tried running as an administator, and got the following output instead:The text was updated successfully, but these errors were encountered: