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

Comparing Branches, GED Encode Error #14420

Closed
2 of 7 tasks
iarepandemonium opened this issue Jan 22, 2021 · 2 comments · Fixed by #14624
Closed
2 of 7 tasks

Comparing Branches, GED Encode Error #14420

iarepandemonium opened this issue Jan 22, 2021 · 2 comments · Fixed by #14624
Labels
Milestone

Comments

@iarepandemonium
Copy link

iarepandemonium commented Jan 22, 2021

  • Gitea version (or commit ref):
    image

  • Git version:

  • Operating system:

  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
    • Did not attempt
  • Log gist:

2021/01/22 01:43:24 routers/repo/http.go:105:HTTP() [E] Attempted access of unknown user from 127.0.0.1
2021/01/22 01:43:24 routers/repo/http.go:106:HTTP() [E] GetUserByName: user does not exist [uid: 0, name: api, keyid: 0]
2021/01/22 01:43:25 routers/repo/http.go:105:HTTP() [E] Attempted access of unknown user from 127.0.0.1
2021/01/22 01:43:25 routers/repo/http.go:106:HTTP() [E] GetUserByName: user does not exist [uid: 0, name: api, keyid: 0]
2021/01/22 03:16:12 .../templates/helper.go:806:ActionContent2Commits() [E] json.Unmarshal:

        ERROR: unexpected end of JSON input
2021/01/22 03:16:22 ...ters/repo/compare.go:449:PrepareCompareDiff() [E] GetDiffRange: encoding/hex: invalid byte: U+0074 't'
2021/01/22 03:16:26 ...ters/repo/compare.go:449:PrepareCompareDiff() [E] GetDiffRange: encoding/hex: invalid byte: U+0074 't'
2021/01/22 03:16:40 ...ters/repo/compare.go:449:PrepareCompareDiff() [E] GetDiffRange: encoding/hex: invalid byte: U+0074 't'
2021/01/22 03:17:28 .../templates/helper.go:806:ActionContent2Commits() [E] json.Unmarshal:

        ERROR: unexpected end of JSON input
2021/01/22 03:17:36 ...ters/repo/compare.go:449:PrepareCompareDiff() [E] GetDiffRange: encoding/hex: invalid byte: U+0074 't'
2021/01/22 03:22:41 ...ters/repo/compare.go:449:PrepareCompareDiff() [E] GetDiffRange: encoding/hex: invalid byte: U+0074 't'
2021/01/22 03:25:10 .../templates/helper.go:806:ActionContent2Commits() [E] json.Unmarshal:

        ERROR: unexpected end of JSON input

Description

  1. push to feature branch
  2. hit make PR

image

...

Screenshots

@6543 6543 added the type/bug label Jan 22, 2021
@6543 6543 added this to the 1.14.0 milestone Jan 22, 2021
@zeripath
Copy link
Contributor

Let me guess - the feature branch is 40 characters long

@zeripath
Copy link
Contributor

This was fixed by #14624 which was merged as commit 0a23079 e.g. v1.14.0-dev-682-g0a2307948

It would be very helpful in future to replicate on try.gitea.io then we could prove that this fixed. Please update, try again and reopen if this is not fixed.

@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants