-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Windows only: Unable to open checker for <commit id>. Error: failed to run attr-check. Error: exit status 1 #33550
Comments
Are you able to reproduce in 1.24? I have refactored many legacy "repo" middlewares. Maybe it's not related to 1.23/1.24 and it only happens randomly, but we need to know how to reproduce it. |
I only met this error once for test other things in a clean newly installed instance, and didn't try it in 1.24. It is hard to say how to completely reproduce it. |
|
I do not think it's related, this error is "exit status 1", it could be caused by incorrect git command or incorrect git repo. |
This error occurs once in every GET https://[gitea]/[org]/[repo]/commit/[hash] request cycle. |
How do you run Gitea? Windows or not? Docker or not? |
Windows Server 2016, no Docker, MariaDB Log attached: gitea.log |
So I think the |
@yp05327 are you using LFS?
I am not 100% sure but almost ... ALMOST this is associated with LFS and some metadata isn't being stored and likely windows only :( |
@eeyrjmr |
… on Windows OS. (go-gitea#34035) Close go-gitea#34022 , go-gitea#33550 This error message always appears when using the `check-attr` command, even though it works correctly. The issue occurs when the stdin writer is closed, so I added a special case to handle and check the error message when the exit code is 1.
… on Windows OS. (#34035) (#34036) Backport #34035 by charles7668 Close #34022 , #33550 This error message always appears when using the `check-attr` command, even though it works correctly. The issue occurs when the stdin writer is closed, so I added a special case to handle and check the error message when the exit code is 1. Co-authored-by: charles <[email protected]>
ok :( |
Description
binary file: gitea-1.23.3-windows-4.0-amd64.exe
git version: git version 2.47.1.windows.1
Gitea Version
1.23.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
windows binary file
Database
None
The text was updated successfully, but these errors were encountered: