{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/714","labels_url":"https://api.github.com/repos/gogits/gogs/issues/714/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/714/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/714/events","html_url":"https://github.com/gogits/gogs/issues/714","id":51118197,"number":714,"title":"500 error: GetTreeEntryByPath","user":{"login":"rojaro","id":488677,"avatar_url":"https://avatars.githubusercontent.com/u/488677?v=3","gravatar_id":"","url":"https://api.github.com/users/rojaro","html_url":"https://github.com/rojaro","followers_url":"https://api.github.com/users/rojaro/followers","following_url":"https://api.github.com/users/rojaro/following{/other_user}","gists_url":"https://api.github.com/users/rojaro/gists{/gist_id}","starred_url":"https://api.github.com/users/rojaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rojaro/subscriptions","organizations_url":"https://api.github.com/users/rojaro/orgs","repos_url":"https://api.github.com/users/rojaro/repos","events_url":"https://api.github.com/users/rojaro/events{/privacy}","received_events_url":"https://api.github.com/users/rojaro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"},{"url":"https://api.github.com/repos/gogits/gogs/labels/undetermine","name":"undetermine","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-12-05T16:34:46Z","updated_at":"2015-05-21T12:54:31Z","closed_at":null,"body":"I just created a fresh git repo for a new project. The project consists of javascript stuff only, has no submodules and was pushed to a fresh empty repository via ssh. When i am accessing the repository through the webbrowser i get a 500 error and the following error message in the logs:\r\n```\r\n[Macaron] Started GET /foo/bar for 10.50.1.130\r\n2014/12/05 17:24:09 [view.go:142 Home()] [E] GetSubModule: GetTreeEntryByPath: error not exist\r\n[Macaron] Completed /foo/bar 500 Internal Server Error in 22.237619ms\r\n```"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/104260916","html_url":"https://github.com/gogits/gogs/issues/714#issuecomment-104260916","issue_url":"https://api.github.com/repos/gogits/gogs/issues/714","id":104260916,"user":{"login":"msimpson","id":730334,"avatar_url":"https://avatars.githubusercontent.com/u/730334?v=3","gravatar_id":"","url":"https://api.github.com/users/msimpson","html_url":"https://github.com/msimpson","followers_url":"https://api.github.com/users/msimpson/followers","following_url":"https://api.github.com/users/msimpson/following{/other_user}","gists_url":"https://api.github.com/users/msimpson/gists{/gist_id}","starred_url":"https://api.github.com/users/msimpson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msimpson/subscriptions","organizations_url":"https://api.github.com/users/msimpson/orgs","repos_url":"https://api.github.com/users/msimpson/repos","events_url":"https://api.github.com/users/msimpson/events{/privacy}","received_events_url":"https://api.github.com/users/msimpson/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T12:54:31Z","updated_at":"2015-05-21T12:54:31Z","body":"I'm having the same issue when importing an existing GitHub private repository. Strange."}}