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

500 error creating pull request #5235

Closed
1 of 6 tasks
zaaksam opened this issue Oct 31, 2018 · 15 comments
Closed
1 of 6 tasks

500 error creating pull request #5235

zaaksam opened this issue Oct 31, 2018 · 15 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail issue/stale type/bug

Comments

@zaaksam
Copy link

zaaksam commented 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
@lafriks
Copy link
Member

lafriks commented Nov 11, 2018

Could this be memory related?

@lafriks
Copy link
Member

lafriks commented Nov 11, 2018

This would also need more information on how to reproduce this

@lafriks lafriks added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Nov 11, 2018
@zaaksam
Copy link
Author

zaaksam commented Nov 13, 2018

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

It is normal for others to create PR.

@stale
Copy link

stale bot commented 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 stale bot added the issue/stale label Jan 12, 2019
@dmarov
Copy link

dmarov commented 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

@zeripath
Copy link
Contributor

zeripath commented Jan 30, 2019

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

@dmarov
Copy link

dmarov commented Jan 30, 2019

username: BuldakovIlya, had valid email address

@zeripath
Copy link
Contributor

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

@stale
Copy link

stale bot commented Feb 18, 2019

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

@stale stale bot closed this as completed Feb 18, 2019
@zeripath
Copy link
Contributor

@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?

@dmarov
Copy link

dmarov commented 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.

@zeripath
Copy link
Contributor

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...

@bkmgit
Copy link
Contributor

bkmgit commented 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

@lunny
Copy link
Member

lunny commented Oct 2, 2019

@bkmgit please fire another issue.

@bkmgit
Copy link
Contributor

bkmgit commented Oct 2, 2019

@lunny Thanks, done #8351

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail issue/stale type/bug
Projects
None yet
Development

No branches or pull requests

6 participants