-
Notifications
You must be signed in to change notification settings - Fork 66
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
Bug: partition-view does not work #438
Comments
We probably need to ping @nobrakal here :) |
It works on a fresh local installation. Do you have any details on your deployment ? |
OK thanks @nobrakal for looking into this; I'll try to come up ASAP (maybe tomorrow) with a minimal reproducible example with |
Hi @nobrakal, sorry I was swamped with several deadlines; and I'm not sure we can fix this issue for 0.13.1; |
Hi @nobrakal, at last I got some time to create a minimal reproducible example, and actually the error appeared immediately after the steps below: cd learn-ocaml
mkdir sync_repro
… … cf. its final contents in the attached .zip file: sync_repro.zip
I took a quick look in the code, and I wasn't able to directly guess the location of the error… @yurug plans to release 0.14.0 by the end of the week, so if you had the time to have a look, Alexandre, that'd be great! |
Hi there, Thanks for the detailed example & procedure! The example you gave me works when running a "local" LearnOCaml (installed with |
Spotted with (docker, `learn-ocaml build --enable-cmo-build`): ``` LOGS: Learnocaml v.0.14.0 running. Updating app at ./www given_int_0exo (build .cmo) Cannot process exercises: Env.Error(_) ``` Note: this latter exception backtrace could be improved (giving more details). This patch should also fix ocaml-sf#438 However the CI will still fail because of a learn-ocaml-corpus corner case: ``` … given_persistent_0arrays (build .cmo) Cannot process exercises: Typemod.Error(_, _, _) ```
Hi @nobrakal, thanks for your feedback. I believe I found the crux of the issue: regarding dependencies, partition-view → asak → compiler-libs, |
I've just tested the branch from #458, did Unfortunately, the fix increased the size of the server image:
But on the other hand, some standard images (even some "base" ones) already have this order of magnitude:
|
OK, so by tweaking my fix and adding just the three following lines in the Dockerfile:
we end up with:
→ I'll merge this fix in master now (so |
Spotted with (docker, `learn-ocaml build --enable-cmo-build`) from PR ocaml-sf#458: ``` LOGS: Learnocaml v.0.14.0 running. Updating app at ./www given_int_0exo (build .cmo) Cannot process exercises: Env.Error(_) ``` Note: this latter exception backtrace could be improved (giving more details). Close ocaml-sf#438
Many thanks for the fix :) |
Bug description
I tried using partition-view as described in #421 but I wasn't able to make it work with 0.12 nor with 0.13.0.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error
Screenshots
Current configuration
The text was updated successfully, but these errors were encountered: