-
Notifications
You must be signed in to change notification settings - Fork 52
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
Strange VsCoq Legacy anomaly with Elpi Export #543
Comments
With maximedenes.vscoq version 0.3.9 your code works, I did not try the legacy extension (that was introduced to avoid having to "downgrade" the main vscoq one). My guess was that it was equivalent to 0.3.9 :-/ |
Thanks for the info, I just tried 0.3.9 and still can reproduce it. I'll try further troubleshooting. Can you suggest any other dependencies I should look into? E.g. can it be dependent on elpi (not coq-elpi) version, or maybe something else? |
Stacktrace if it helps:
|
And I was able to reproduce this bug on a fresh VirtualBox, so it's definitely not my local problem. The only libs I installed there are ocaml 4.13.1, coq 8.18.0, and coq-elpi 1.19.3. Also, I used both legacy and 0.3.9 versions of vscoq (with default settings), getting anomaly on both |
Just got this anomaly again (this time with coq 8.19.1, vscoq 0.4.0, coq-elpi master), and this time I have an idea why reproducing this was an issue: I can only reproduce it when |
I encountered also this problem on CoqIDE. I also observe that |
Are you on 8.18 as well? |
Coq 8.18 and 8.19. Both have the issue. |
But strangely, depending on the setting, the bug happens always or really rarely. I don't manage to understand the pattern. I mean, the minimized version always fail. But in Jasmin, while I had more or less the same package versions, the bug was not there, then I had it all the time and it disappeared again. EDIT: maybe just .aux files deciding whether a worker should be launched, I have the impression that as soon as a proof is delegated, it fails |
To reproduce, as mentioned in the first message of this issue.
|
thanks |
I recently updated coq to 8.18. I know that the new vscoq version, recommended for 8.18, is not compatible with elpi at this point, so I tried using VsCoq Legacy. However, I encountered an issue with
Elpi Export
even in the legacy plugin (latest version, 0.4.0). Here is a minimized example:Of course, this compiles just fine using coqc or step-by-step execution. But when I do the following: freshly opening this file in VSCode and immediately executing to the end of the file, I get rather strange
Anomaly "Uncaught exception Not_found."
onauto
line.Is it a reproducible problem for you or are there some problems with my installation? I got the described behavior using the current master branch of coq-elpi. Is there some other vscoq version that should work with elpi and 8.18?
The text was updated successfully, but these errors were encountered: