Zulip Chat Archive
Stream: general
Topic: Problem getting ProofWidgets
Jeremy Parker (Sep 22 2025 at 09:56):
I'm trying to get set up to develop mathlib on a new machine and I'm having problems with lake (invoked through VS code) when it tries to download artifacts for proofWidgets
It looks like it's trying to get
https://github.com/leanprover-community/ProofWidgets4/releases/download/0.0.75-pre/ProofWidgets4.tar.gz
but it should instead be downloading
https://github.com/leanprover-community/ProofWidgets4/releases/download/v0.0.75-pre/ProofWidgets4.tar.gz
Notice the extra "v"
The output:
✖ [824/1474] (Optional) Fetching proofwidgets:optRelease (159ms)
trace: .> curl -s -S -f -o C:\Users\jparker002\mathlib4\.lake\packages\proofwidgets\.lake\ProofWidgets4.tar.gz -L https://github.com/leanprover-community/ProofWidgets4/releases/download/0.0.75-pre/ProofWidgets4.tar.gz
trace: stderr:
curl: (22) The requested URL returned error: 404
error: external command 'curl' exited with code 22
⚠ [825/1474] Ran proofwidgets:extraDep
warning: building from source; failed to fetch GitHub release (see 'proofwidgets:optRelease' for details)
✖ [826/1474] Building proofwidgets/widgetJsAll
error: ProofWidgets not up-to-date. Please run `lake exe cache get` to fetch the latest ProofWidgets. If this does not work, report your issue on the Lean Zulip.
Kenny Lau (Sep 22 2025 at 09:57):
related to #mathlib4 > CI failure ?
Sebastian Ullrich (Sep 22 2025 at 10:26):
This issue has now been resolved. Users with checkouts that have already run into this issue will need to delete their .lake folder first (lake clean does not suffice in this case).
tsuki(Hao Shen) (Sep 22 2025 at 12:08):
Sebastian Ullrich said:
This issue has now been resolved. Users with checkouts that have already run into this issue will need to delete their
.lakefolder first (lake cleandoes not suffice in this case).
I just tried it, and it seems there's still an issue. :sob: I've tried rm -rf .lake && lake exe cache get
Riccardo Brasca (Sep 22 2025 at 12:50):
Does it work?
Anatole Dedecker (Sep 22 2025 at 12:51):
Works for me
Sebastian Ullrich (Sep 22 2025 at 12:54):
@tsuki(Hao Shen) Could you try running lake build -v and posting the error message of (likely) proofwidgets:optRelease as in the first post of this thread?
tsuki(Hao Shen) (Sep 22 2025 at 13:43):
tsuki(Hao Shen) (Sep 22 2025 at 13:44):
The error message is
✖ [1258/7253] (Optional) Fetching proofwidgets:optRelease (4.7s)
trace: .> curl -s -S -f -o /Users/tsuki/groebner_proj/.lake/packages/proofwidgets/.lake/ProofWidgets4.tar.gz -L https://github.com/leanprover-community/ProofWidgets4/releases/download/0.0.75-pre/ProofWidgets4.tar.gz
trace: stderr:
curl: (22) The requested URL returned error: 404
error: external command 'curl' exited with code 22
⚠ [1259/7253] Ran proofwidgets:extraDep
warning: building from source; failed to fetch GitHub release (see 'proofwidgets:optRelease' for details)
✖ [1260/7253] Building proofwidgets/widgetJsAll
error: ProofWidgets not up-to-date. Please run `lake exe cache get` to fetch the latest ProofWidgets. If this does not work, report your issue on the Lean Zulip.
Some required targets logged failures:
- proofwidgets/widgetJsAll
error: build failed
Sebastian Ullrich (Sep 22 2025 at 13:55):
Mmh, could you try running
git -C .lake/packages/proofwidgets/ tag --delete 0.0.75-pre
?
tsuki(Hao Shen) (Sep 22 2025 at 14:13):
Sebastian Ullrich said:
Mmh, could you try running
git -C .lake/packages/proofwidgets/ tag --delete 0.0.75-pre?
It works for me!
Mattias Ehatamm (Sep 22 2025 at 16:17):
Sebastian Ullrich said:
Mmh, could you try running
git -C .lake/packages/proofwidgets/ tag --delete 0.0.75-pre?
thanks, this was really helpful!
Last updated: Dec 20 2025 at 21:32 UTC