-
Description Detailed Steps to Reproduce the Behavior Test Code: Error Report: During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): I explored the cause of DojoCrashError and found that: Platform Information |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
You can run Here is my steps to solve a similar EOF error. I encountered the same error when running the following mathlib example: from lean_dojo import *
repo = LeanGitRepo("https://github.com/leanprover-community/mathlib4", "29dcec074de168ac2bf835a77ef68bbe069194c5")
theorem = Theorem(repo, "Mathlib/GroupTheory/PGroup.lean", "IsPGroup.powEquiv_symm_apply")
with Dojo(theorem) as (dojo, init_state):
print(init_state) The output is To resolve the error, I followed these steps: Navigate to the directory: cd .cache/lean_dojo/leanprover-community-mathlib4-29dcec074de168ac2bf835a77ef68bbe069194c5/mathlib4/
lake env lean --threads=1 --memory=32768 Mathlib/GroupTheory/PGroup.lean The output indicated an error: the toolchain 'leanprover/lean4.10.0-rc1' was not installed. Running However, when I checked ~/.elan/update-hashes/leanprover--lean4---v4.10.0-rc1, the directory existed. To fix this, I first removed the directory with |
Beta Was this translation helpful? Give feedback.
-
It works well to my problem.
|
Beta Was this translation helpful? Give feedback.
-
This worked for me. Thanks a lot |
Beta Was this translation helpful? Give feedback.
-
Thanks @yifan123. I'm converting this issue to discussion so that other people can see. |
Beta Was this translation helpful? Give feedback.
-
I found this doesn't work now. If you have time, please help me.
Then,
output:
Finally, I still hit on EOF
|
Beta Was this translation helpful? Give feedback.
You can run
lake exe cache get
to check if a specific toolchain is uninstalled or navigate to your code directory and runlake env lean --threads=1 --memory=32768 MiniF2F/Test.lean
to see the output.Here is my steps to solve a similar EOF error.
I encountered the same error when running the following mathlib example:
The output is
lean_dojo.interaction.dojo.DojoInitError: Unexpected EOF
.To resolve th…