Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lean exited with code 132 #130

Open
zhiang0226 opened this issue Nov 5, 2024 · 7 comments
Open

Lean exited with code 132 #130

zhiang0226 opened this issue Nov 5, 2024 · 7 comments

Comments

@zhiang0226
Copy link

zhiang0226 commented Nov 5, 2024

I try to use Lean4Example, to learn leancopilot https://github.com/yangky11/lean4-example/tree/LeanCopilot-demo?tab=readme-ov-file
But I could not run lake exe LeanCopilot/downloadI,so I manually downloaded the contents of four web pages to ~/.cache/lean_copilot/,when I run lake build, the following error occurred:

)F7_UUIOL9CB0PNQ%$@SSCY

R6DKG~{``I5%SGV7EEFM
ℹ [14/552] Replayed ModelCheckpointManager.Url
info: ././././ModelCheckpointManager/Url.lean:68:0: { protocol := "https", hostname := "huggingface.co", path := FilePath.mk "kaiyuy/ct2-leandojo-lean4-tacgen-byt5-small" }
info: ././././ModelCheckpointManager/Url.lean:69:0: { protocol := "https", hostname := "huggingface.co", path := FilePath.mk "bert-base-uncased" }
info: ././././ModelCheckpointManager/Url.lean:71:0: "ct2-leandojo-lean4-tacgen-byt5-small"
info: ././././ModelCheckpointManager/Url.lean:72:0: "bert-base-uncased"

FQ~9ITAYCT)5RR7A`{X5GOB

and suggest_tactics, search_proof, select_premises are not available in Lean4Example https://github.com/yangky11/lean4-example/tree/LeanCopilot-demo?tab=readme-ov-file
could your help me? @Peiyang-Song @yangky11

@zhiang0226
Copy link
Author

Looks like I have the same problem as https://github.com/lean-dojo/LeanCopilot/issues/103
9OA$W8H}9R8AD~CR}(2`4(N

@zhiang0226 zhiang0226 changed the title can not lake build on windows wsl can not lake build on windows wsl- a problem with the modelmodel Nov 7, 2024
@zhiang0226
Copy link
Author

After I changed the ubuntu version and added a proxy, the problem ‘’git code with 128’seemed to be solved.
But I encountered a new problem.error:
1
2
Lean exited with code 132
Some required builds logged failures:

  • Lean4Example
    error: build failed

@zhiang0226 zhiang0226 changed the title can not lake build on windows wsl- a problem with the modelmodel Lean exited with code 132 Nov 27, 2024
@zzhisthebest
Copy link

Have you solved it?

@zhiang0226
Copy link
Author

Have you solved it?

no,have you solved ?

@zzhisthebest
Copy link

no,we meet the same problem :-(

@Peiyang-Song
Copy link
Member

Peiyang-Song commented Dec 25, 2024

@zhiang0226 Thank you for the report. While I wasn't able to reproduce your error, it seems like the core of this problem is the process `git` exited with code 128 error? If so, are you in a region where git/HuggingFace is not accessible? We have heard reports of this same error which were due to this region problem.

@Peiyang-Song
Copy link
Member

In addition, for the latest error view you posted (where the git error disappears but a build failure is encountered), Lean Copilot has just been updated to support the latest versions of Lean and mathlib. Would you try again and see if it is fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants