gitea: Error 500 when trying to webview a specific repository
- Gitea version (or commit ref):
- Git version: 1.1.4
- Operating system: Debian 8
- Database:
- MySQL
- Can you reproduce the bug at https://try.gitea.io:
- No
- Log gist: in log/gitea.log:
[...routers/repo/view.go:52 renderDirectory()] [E] GetCommitsInfo: GetCommitByPath (/Iconr): Length must be 40:
Description
I manage several repositories via Gitea, and they a working like a charm. But one specific throws an 500 server error when I try to open it in the browser. In the logs I can stat this message:
[...routers/repo/view.go:52 renderDirectory()] [E] GetCommitsInfo: GetCommitByPath (/Iconr): Length must be 40:
But I can clone and push without any problem.
Where to start debugging?
Cheers, Marianne
Screenshots

About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (8 by maintainers)
Tried it with my repository: I accidentally had an empty File called
Icon?. I removed it completely, and after apushI can access my repo via web interface. So I also would assume it’s the (wrong or non existent) escaping.