In the demo-lean4 Jupyter notebook, the code fails to execute starting from the "Interacting with Lean" section. Specifically, the line:
dojo, state_0 = Dojo(theorem).__enter__()
produces the following output:
2024-05-20 18:59:51.881 | WARNING | lean_dojo.interaction.dojo:__init__:162 - Using Lean 4 without a hard timeout may hang indefinitely.
2024-05-20 18:59:51.884 | INFO | lean_dojo.data_extraction.cache:get:77 - Downloading the traced repo from the remote cache. Set the environment variable `DISABLE_REMOTE_CACHE` if you want to trace the repo locally.
../traced_repros/leanprover-community-mathlib4-fe4454af900584467d21f4fd4fe951d29d9332a7.tar.gz: Datei oder Verzeichnis nicht gefunden
[error messages because it fails to download the traced repo]
Detailed Steps to Reproduce the Behavior
Manually download the leanprover-community-mathlib4-fe4454af900584467d21f4fd4fe951d29d9332a7.tar.gz file and unpack it into a directory. In my case, I unpacked it into ../traced_repros/. Note: There was a consistent typo in my folder name.
Configure the .env file with my GitHub access token and enable verbose logging. Set the cache directory to ../traced_repros.
Execute the Jupyter notebook until it fails at the mentioned line.
Expected Behavior
The line dojo, state_0 = Dojo(theorem).__enter__() should execute without errors, allowing interaction with Lean. Note that 'trace()' previously correctly recognized the existing traced file in the 'traced_repros' folder.
Actual Behavior
The execution fails with the following error message indicating that the required file or directory is not found:
../traced_repros/leanprover-community-mathlib4-fe4454af900584467d21f4fd4fe951d29d9332a7.tar.gz: Datei oder Verzeichnis nicht gefunden
Logs in Debug Mode
No significant logs were produced before the failure (at least to my knowledge).
Platform Information
OS: Linux
Python Environment: Conda environment with Python 3.10
Description
In the
demo-lean4
Jupyter notebook, the code fails to execute starting from the "Interacting with Lean" section. Specifically, the line:produces the following output:
Detailed Steps to Reproduce the Behavior
leanprover-community-mathlib4-fe4454af900584467d21f4fd4fe951d29d9332a7.tar.gz
file and unpack it into a directory. In my case, I unpacked it into../traced_repros/
. Note: There was a consistent typo in my folder name..env
file with my GitHub access token and enable verbose logging. Set the cache directory to../traced_repros
.Expected Behavior
The line
dojo, state_0 = Dojo(theorem).__enter__()
should execute without errors, allowing interaction with Lean. Note that 'trace()' previously correctly recognized the existing traced file in the 'traced_repros' folder.Actual Behavior
The execution fails with the following error message indicating that the required file or directory is not found:
Logs in Debug Mode
No significant logs were produced before the failure (at least to my knowledge).
Platform Information
Thanks for the help!