Unable to open checker for ... #11497

Open
opened 2025-11-02 09:39:21 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @somera on GitHub (Aug 21, 2023).

Description

This

2023/08/21 10:58:25 ...it/repo_attribute.go:306:func2() [E] Unable to open checker for fe05a71d3e4ed7d10bf68aa4eda6dd995ec070f4. Error: failed to run attr-check. Error: context deadline exceeded
Stderr:
        /source/modules/git/repo_attribute.go:306 (0xd8d3c1)
        /usr/local/go/src/runtime/asm_amd64.s:1598 (0x472700)
                goexit: BYTE    $0x90   // NOP

error should be fixed in #19006 / #19027

Gitea Version

1.20.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.41.0

Operating System

20.04.6

How are you running Gitea?

Downloaded gitea-1.20.3-linux-amd64 executable

Database

PostgreSQL

Originally created by @somera on GitHub (Aug 21, 2023). ### Description This ``` 2023/08/21 10:58:25 ...it/repo_attribute.go:306:func2() [E] Unable to open checker for fe05a71d3e4ed7d10bf68aa4eda6dd995ec070f4. Error: failed to run attr-check. Error: context deadline exceeded Stderr: /source/modules/git/repo_attribute.go:306 (0xd8d3c1) /usr/local/go/src/runtime/asm_amd64.s:1598 (0x472700) goexit: BYTE $0x90 // NOP ``` error should be fixed in #19006 / #19027 ### Gitea Version 1.20.3 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.41.0 ### Operating System 20.04.6 ### How are you running Gitea? Downloaded gitea-1.20.3-linux-amd64 executable ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 09:39:21 -06:00
Author
Owner

@lunny commented on GitHub (Aug 21, 2023):

errors.Is(err, context.DeadlineExceeded) or os.IsTimeout(err) should be handled.

@lunny commented on GitHub (Aug 21, 2023): `errors.Is(err, context.DeadlineExceeded)` or `os.IsTimeout(err)` should be handled.
Author
Owner

@somera commented on GitHub (Aug 21, 2023):

The question is: "Could the stack trace be ignored?"

And if this is an error, what is going wrong here?

@somera commented on GitHub (Aug 21, 2023): The question is: "Could the stack trace be ignored?" And if this is an error, what is going wrong here?
Author
Owner

@yp05327 commented on GitHub (Mar 27, 2024):

c.ctx.Err() != err && // 1. Ignore the context error if the context is cancelled or exceeds the deadline (RunWithContext could return c.ctx.Err() which is Canceled or DeadlineExceeded)

It seems that DeadlineExceeded is not ignored as expected?

@yp05327 commented on GitHub (Mar 27, 2024): > c.ctx.Err() != err && // 1. Ignore the context error if the context is cancelled or exceeds the deadline (RunWithContext could return c.ctx.Err() which is Canceled or DeadlineExceeded) It seems that `DeadlineExceeded` is not ignored as expected?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11497