-
Notifications
You must be signed in to change notification settings - Fork 92
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
enable slim on windows #1571
enable slim on windows #1571
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1571 +/- ##
=======================================
Coverage 99.84% 99.84%
=======================================
Files 131 131
Lines 4431 4442 +11
Branches 608 607 -1
=======================================
+ Hits 4424 4435 +11
Misses 3 3
Partials 4 4 ☔ View full report in Codecov by Sentry. |
Hm - getting errors like
|
Uh-oh, and errors like this, which looks like a SLiM bug:
|
Okay, there are Issues with temporary files on Windows. In the tests there's various ways to deal with temporary files, but it's unclear what's going on because sometimes the github logs don't show us all the output (e.g. "slim exited with code 3" but not showing us the error). To debug I've got a minimal but not-minimal-enough test set-up in #1574. Also for some reason conda cacheing seems to not be working. |
Note: to make sure you see the full output from the tests (since the "Details" link tends to cut it off):
|
Another note: we have in
|
The logfile issue looks to be a SLiM bug: MesserLab/SLiM#452 maybe |
There seems to be some kind of issue with the temporary file code? (Note: this code was already changed from previously to deal with Windows not really doing temporary files in a reasonable or consistent way...) |
Okay, one problem here is of the form
This happens when we do Converting that code to hex we get |
Success, sort of. I have discovered in #1638 that by removing the é from the citation for the relevant demographic model then the error that was plaguing me there dissappeared. However, this is very strange, since the symptom was that SLiM was crashing with exit code either |
Here's the tests that were not passing as of 9b8209:
And, changing the é to e in the citation above (in 07e9128) removed these two failures:
and also the I suspect the problem comes because SLiM is writing the script itself into metadata. |
Turns out That fixed everything except |
Holy crap that was NOT straightforward - see e.g., #1638 and previous takes. But, this is Ready for Review! |
escape eidos utf-8 script file re fix maybe better temp file handling? dry run fix? even more escapes changelog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hopefully it is this simple! Edit: it was not.