-
Notifications
You must be signed in to change notification settings - Fork 183
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 during creating #264
Comments
UPDATED: I was execute this command afte delete the existing repo and the result are:
Still no luck |
I think I have the same error:
|
I tried to create status page and have also encountered the same error!
|
- Change get_file_contents to get_contents - Remove beginning '/' on paths
Looks like the github api updated and changed some things. I PR'd my changes which got it working for me. |
@mrrsm great! will try it with your changes and report back. Update: I moved on to another solution. |
I've an issue during creating statuspage on MacOSX
Traceback (most recent call last): File "/usr/local/bin/statuspage", line 10, in <module> sys.exit(cli()) File "/Library/Python/2.7/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/Library/Python/2.7/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/Library/Python/2.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/Library/Python/2.7/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/Library/Python/2.7/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/Library/Python/2.7/site-packages/statuspage/statuspage.py", line 73, in update run_update(name=name, token=token, org=org) File "/Library/Python/2.7/site-packages/statuspage/statuspage.py", line 184, in run_update sha = repo.get_git_ref("heads/gh-pages").object.sha File "/Library/Python/2.7/site-packages/github/Repository.py", line 1907, in get_git_ref self.url + prefix + ref File "/Library/Python/2.7/site-packages/github/Requester.py", line 275, in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) File "/Library/Python/2.7/site-packages/github/Requester.py", line 286, in __check raise self.__createException(status, responseHeaders, output) github.GithubException.GithubException: 409 {u'documentation_url': u'https://developer.github.com/v3/git/refs/#get-a-reference', u'message': u'Git Repository is empty.'}
Anyone could help is there anything can fix this issue ?
The text was updated successfully, but these errors were encountered: