Skip to content

lean_dojo.interaction.dojo.DojoCrashError: Unexpected EOF #207

Answered by yifan123
njuyxw asked this question in Q&A
Discussion options

You must be logged in to vote

You can run lake exe cache get to check if a specific toolchain is uninstalled or navigate to your code directory and run lake 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:

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 lean_dojo.interaction.dojo.DojoInitError: Unexpected EOF.

To resolve th…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by yangky11
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yangky11
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #201 on September 18, 2024 02:18.