question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error during creating

See original GitHub issue

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 ?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mrrsmcommented, Jul 15, 2020

Looks like the github api updated and changed some things.

I PR’d my changes which got it working for me.

0reactions
meta-n4vn33tcommented, Oct 19, 2020

@mrrsm great! will try it with your changes and report back.

Update: I moved on to another solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting an error while creating a new project in VS2019
I am using “Microsoft Visual Studio Professional 2019 Version 16.1.6”, where I found the issue. This issue is not there in integration with...
Read more >
There was an error while creating the file when I create
When I try to create a quiz assignment. Suddenly these words come up saying : There was an error while creating the file....
Read more >
Why do I keep getting this error when creating a trigger?
When you get the message "created with compilation errors" it means your script is invalid, it has compile time errors.
Read more >
Solved: Facing an error during issue creation in JIRA
Solved: Hi, Facing an error during issue creation in JIRA. In one of the Project in my oraganization JIRA account, the user faces...
Read more >
Getting error creating view - Microsoft Q&A
I am creating a view over multiple tables. I am getting an error on a field that says it's invalid but it does...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found