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

Error 500 when create pull request on Windows #2093

Closed
bouffa opened this issue Dec 3, 2015 · 3 comments
Closed

Error 500 when create pull request on Windows #2093

bouffa opened this issue Dec 3, 2015 · 3 comments
Labels
💊 bug Something isn't working
Milestone

Comments

@bouffa
Copy link
Contributor

bouffa commented Dec 3, 2015

I got error 500 when trying to do a pull request on a fresh install of gogs (built out of sources as of december 3rd). In the log file, I found this error :

2015/12/03 13:27:28 [...routers/repo/pull.go:632 CompareAndPullRequestPost()] [E] NewPullRequest: SavePatch: WriteFile: open MY_REPO_DIR\pulls\1.patch: The system cannot find the path specified.

Where MY_REPO_DIR is the folder of the repository. I found out that the subfolder pulls does not exists. I created it manually, and since then pull requests works.

@unknwon
Copy link
Member

unknwon commented Dec 3, 2015

Please see https://github.com/gogits/gogs/blob/master/CONTRIBUTING.md#bug-report

I take the guess you're using Windows.

I've pushed a fix to develop branch, can you help test again?

@unknwon unknwon added the status: needs feedback Tell me more about it label Dec 3, 2015
@unknwon unknwon added this to the 0.8.0 milestone Dec 3, 2015
unknwon added a commit that referenced this issue Dec 3, 2015
@unknwon unknwon added the 💊 bug Something isn't working label Dec 3, 2015
@unknwon unknwon changed the title Error 500 on pull request Error 500 when create pull request on Windows Dec 3, 2015
@bouffa
Copy link
Contributor Author

bouffa commented Dec 4, 2015

Yes I'm using Windows, and the problem is now fixed.
Thanks,

@bouffa bouffa closed this as completed Dec 4, 2015
@unknwon
Copy link
Member

unknwon commented Dec 4, 2015

@bouffa thanks your confirmation!

@unknwon unknwon removed the status: needs feedback Tell me more about it label Dec 4, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants