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

screen shot 2017-09-18 at 10 09 50

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Tried it with my repository: I accidentally had an empty File called Icon?. I removed it completely, and after a push I can access my repo via web interface. So I also would assume it’s the (wrong or non existent) escaping.