500 error creating pull request #2473

Closed
opened 2025-11-02 04:37:40 -06:00 by GiteaMirror · 15 comments
Owner

Originally created by @zaaksam on GitHub (Oct 31, 2018).

  • Gitea version (or commit ref): 31a738b (by docker image gitea/gitea:1.5.2)
  • Operating system: macOS 10.14
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [ x ] Not relevant

Description

log:

[...routers/repo/pull.go:803 CompareAndPullRequestPost()] [E] GetPatch: signal: killed
Originally created by @zaaksam on GitHub (Oct 31, 2018). - Gitea version (or commit ref): 31a738b (by docker image gitea/gitea:1.5.2) - Operating system: macOS 10.14 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ x ] Not relevant ## Description log: ``` [...routers/repo/pull.go:803 CompareAndPullRequestPost()] [E] GetPatch: signal: killed ```
GiteaMirror added the issue/staletype/bugissue/needs-feedback labels 2025-11-02 04:37:40 -06:00
Author
Owner

@lafriks commented on GitHub (Nov 11, 2018):

Could this be memory related?

@lafriks commented on GitHub (Nov 11, 2018): Could this be memory related?
Author
Owner

@lafriks commented on GitHub (Nov 11, 2018):

This would also need more information on how to reproduce this

@lafriks commented on GitHub (Nov 11, 2018): This would also need more information on how to reproduce this
Author
Owner

@zaaksam commented on GitHub (Nov 13, 2018):

I clicked the "NewPullRequest", and then change the "merge into" branch, it happened.

It is normal for others to create PR.

@zaaksam commented on GitHub (Nov 13, 2018): I clicked the "NewPullRequest", and then change the "merge into" branch, it happened. It is normal for others to create PR.
Author
Owner

@stale[bot] commented on GitHub (Jan 12, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 12, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@dmarov commented on GitHub (Jan 30, 2019):

encountered the same issue on FreeBSD 11.1-RELEASE-p13, Gitea version 1.6.4, DB_TYPE = sqlite3, seems like it is related to particular gitea user
log message:
[...routers/repo/pull.go:734 PrepareCompareDiff()] [E] GetDiffRange: ParsePatch: Unquote: invalid syntax
it disappears after user which creates pull request have been recreated

@dmarov commented on GitHub (Jan 30, 2019): encountered the same issue on FreeBSD 11.1-RELEASE-p13, Gitea version 1.6.4, DB_TYPE = sqlite3, seems like it is related to particular gitea user log message: [...routers/repo/pull.go:734 PrepareCompareDiff()] [E] GetDiffRange: ParsePatch: Unquote: invalid syntax it disappears after user which creates pull request have been recreated
Author
Owner

@zeripath commented on GitHub (Jan 30, 2019):

What is the failing username? Did they have a valid email address?

@zeripath commented on GitHub (Jan 30, 2019): What is the failing username? Did they have a valid email address?
Author
Owner

@dmarov commented on GitHub (Jan 30, 2019):

username: BuldakovIlya, had valid email address

@dmarov commented on GitHub (Jan 30, 2019): username: BuldakovIlya, had valid email address
Author
Owner

@zeripath commented on GitHub (Jan 30, 2019):

Damn I was hoping the name was pathological somehow. There are several issues that my PR #5774 solved.

@zeripath commented on GitHub (Jan 30, 2019): Damn I was hoping the name was pathological somehow. There are several issues that my PR #5774 solved.
Author
Owner

@stale[bot] commented on GitHub (Feb 18, 2019):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Feb 18, 2019): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Author
Owner

@zeripath commented on GitHub (Feb 18, 2019):

@dmarov were you able to ever get this bug to fire for other users, and after recreating the user did it is ever occur again?

Presumably that broken user was created in an earlier version of Gitea?

@zeripath commented on GitHub (Feb 18, 2019): @dmarov were you able to ever get this bug to fire for other users, and after recreating the user did it is ever occur again? Presumably that broken user was created in an earlier version of Gitea?
Author
Owner

@dmarov commented on GitHub (Feb 18, 2019):

This bug fired just 2 times since we use gitea, it fired for me and for user I mentioned previously. no other occurencies. After recreating of user it didn't happen again. User was created in earlier version of gitea but now it is up to date.

@dmarov commented on GitHub (Feb 18, 2019): This bug fired just 2 times since we use gitea, it fired for me and for user I mentioned previously. no other occurencies. After recreating of user it didn't happen again. User was created in earlier version of gitea but now it is up to date.
Author
Owner

@zeripath commented on GitHub (Feb 18, 2019):

Ok so I think this might have been a migration related issue.

If we can't get more information about it I don't think we can do more about it and we should leave this bug closed.

Hopefully, no one else will have this issue...

@zeripath commented on GitHub (Feb 18, 2019): Ok so I think this might have been a migration related issue. If we can't get more information about it I don't think we can do more about it and we should leave this bug closed. Hopefully, no one else will have this issue...
Author
Owner

@bkmgit commented on GitHub (Oct 2, 2019):

Hi,
Getting this error on Gitea 1.9.3 running on Cent OS 7. It is possible to merge the pull requests using the command line on a different computer, for example following

Specifically, within the main repository one is working in, one can:

git remote add somefork https://my.gitea.ip:3000/cool/fork
git fetch somefork
git checkout master
git merge somefork/master
git push
@bkmgit commented on GitHub (Oct 2, 2019): Hi, Getting this error on Gitea 1.9.3 running on Cent OS 7. It is possible to merge the pull requests using the command line on a different computer, for example following * http://www.bartread.com/2014/02/12/git-basics-how-to-merge-changes-from-a-different-fork-into-your-own-branch/ * https://stackoverflow.com/questions/6022302/how-to-apply-unmerged-upstream-pull-requests-from-other-forks-into-my-fork and then pushing the changes Specifically, within the main repository one is working in, one can: git remote add somefork https://my.gitea.ip:3000/cool/fork git fetch somefork git checkout master git merge somefork/master git push
Author
Owner

@lunny commented on GitHub (Oct 2, 2019):

@bkmgit please fire another issue.

@lunny commented on GitHub (Oct 2, 2019): @bkmgit please fire another issue.
Author
Owner

@bkmgit commented on GitHub (Oct 2, 2019):

@lunny Thanks, done #8351

@bkmgit commented on GitHub (Oct 2, 2019): @lunny Thanks, done #8351
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2473