-
Notifications
You must be signed in to change notification settings - Fork 43
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
TL 2017 pretest not finding executable #1362
Comments
I'm kind of stumped at the moment. The following test document works as expected:
Producing a pdf with the first line of the However, in the context of |
If there's no difference with respect to |
Not as far as I know and there doesn't appear to be anything to that effect in the release notes. Still, give the way things are I'm not willing to rule it out at this point. |
I'm trying to install the pretest to work on the test project issue, but I'm having some trouble. With some luck, maybe I can help figure this out. |
My finding is that the io.popen generates this message:
|
(Sorry, I hit the "Close and comment" button by accident) |
That's odd. It's almost like the subshell created by |
It very much seems like a bug. |
I just tried a module variation on the test document:
With test.lua reading:
This still works just fine for me. I think instead of trying to build up to the problem, I may need to cut down to it by starting with |
I am going to hold off on the gregorio-test fix until this one is solved, because version detection may change because of it. |
Okay, this is weird. In order to establish a base line file against which I could perform the deconstruction, I made the following document:
with test.gabc being:
This document compiles just fine. Confused, I then ran I then navigated into the the output tree of gregorio-test and manually compiled It would thus seem that the problem is in how |
Seems like a mess, because my tests (which resulted in |
Not sure this helps, but I created a command called "all" which echoes its arguments to a file. Apparently, these popen calls are executing "all commands are permitted". |
I think popen is just broken in TL2017 pre-test. If you hardcode |
Should we work around this popen bug by rewriting the relevant code in |
While I agree that something fishy is happening with In the meantime, I think working around it via |
I'm a little confused where I should make this change. I was going to put it in release-5.0, but I notice there are some README file changes there which are not in master. Is that the correct branch? |
I'd put it in release-5.0. That branch will get merged into master when 5.0.2 is released. As we now have a bugfix, that will be soon. I didn't feel like the documentation changes were sufficient reason to make a new release, hence that branch not being identical to master currently. |
Fixes gregorio-project#313 in reference to gregorio-project/gregorio#1362. Corresponds with gregorio-project/gregorio#1363.
* release-5.0: Update Version number Added a change log linking to gregorio-project#1362. Changed from os.popen to os.execute due to TL2017 strangeness. Fixes gregorio-project#1362.
I'm reopening this issue because even though the work around eliminates it for us, we still haven't isolated and reported the actual luatex bug. Along those lines, I've been working with the TL2017 pretest and the test repository and have manually compiled every test which fails as unable to create images when I run Frankly, I'm stumped. I cannot seem to reproduce the error without running |
|
That document compiles cleanly for me. Were you doing anything special with the command line call? |
No, I didn't, so it seems we were chasing different problems. I guess this popen problem is OS-specific as apparently Akira didn't see it under Windows. |
My testing with the pretest has been on Linux 16.04, not Mac. What OS are you working with? |
I use Gentoo, but I am using the precompiled pre-test. I trimmed comments from my document before posting it. I'll try re-running tonight and let you know my findings. |
Everything compiles cleanly for me now, using the old, popen-based gregoriotex.lua, so I can no longer reproduce the problem. The only change in my system since I last ran this test was to reboot it (actually, my UPS battery died and there was a power outage). |
I've done some double checking of my work and it seems to be related to
|
Yes, that fails for me as well, it tries to execute "all commands are permitted". |
Okay then, we've eliminated the test repository from the chain of possible causes. Now to try and get the bulk of gregoriotex out of the way. Unfortunately that will probably have to wait for the weekend, I started a summer class this morning. |
Ok, I have something:
When run with |
Confirmed. Looks like we have a MWE for a bug report. |
I'm trying to confirm the bug on both Mac and Windows now, but have to redownload the pretest in order to do so, as I seem to have deleted it after installing it on my Unbuntu 16.04 VM. |
Were you able to confirm the bug? Is it still there? |
TL2018 pretest time. Someone should test to see if undoing this workaround is now feasible. |
I've tested this and undoing the workaround is possible. I'll open a PR with the code changes so that we can discuss them. |
I've just run the first pass of the test repository against the TL2017 pretest and it seems that the TeX/Lua code can't find the executable. All the dump and gtex tests pass, so I know the problem isn't with the executable itself. I'll try to make some time to work on this further this weekend, but if some one else has the time and inclination to look at this first, please feel free.
The text was updated successfully, but these errors were encountered: