You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just created a new Lean project with the latest version of mathlib4 and typed lake exe cache get, I tried lake exe cache get!.
I got the error
leantar is too old; downloading more recent version
uncaught exception: no such file or directory (error code: 2)
The folder .cache contained leantar-0.1.3.exe.zip and leantar.exe.
Looking at the code, it seems like the expected filename shall contain the version (i.e. leantar-0.1.3.exe).
/-- leantar version at https://github.com/digama0/leangz -/defLEANTARVERSION :=
"0.1.3"defLEANTARBIN :=
-- change file name if we ever need a more recent version to trigger re-download
IO.CACHEDIR / s!"leantar-{LEANTARVERSION}{if System.Platform.isWindows then ".exe" else ""}"
I manually renamed leantar.exe to leantar-0.1.3.exe and everything worked smoothly.
Just created a new Lean project with the latest version of mathlib4 and typed
lake exe cache get
, I triedlake exe cache get!
.I got the error
The folder
.cache
containedleantar-0.1.3.exe.zip
andleantar.exe
.Looking at the code, it seems like the expected filename shall contain the version (i.e.
leantar-0.1.3.exe
).I manually renamed
leantar.exe
toleantar-0.1.3.exe
and everything worked smoothly.mathlib4 commit: ea67efc
lean4 toolchain:
leanprover/lean4:nightly-2023-07-12
Can you replicate this issue?
The text was updated successfully, but these errors were encountered: