-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
bugSomething isn't workingSomething isn't workingrewriteWill be done in the Julia rewrite of TagBot (see #55), but not before.Will be done in the Julia rewrite of TagBot (see #55), but not before.
Description
I found an example of an Error: TagBot experienced an unexpected internal failure.
But then also, the error reporting failed as well with Error: Issue reporting failed.
Log: https://github.com/qojulia/CollectiveSpins.jl/runs/1676244536
Error: TagBot experienced an unexpected internal failure
Traceback (most recent call last):
File "/root/tagbot/action/__main__.py", line 65, in <module>
if not repo.is_registered():
File "/root/tagbot/action/repo.py", line 317, in is_registered
root = self._registry_path
File "/root/tagbot/action/repo.py", line 100, in _registry_path
contents = self._only(self._registry.get_contents("Registry.toml"))
File "/usr/local/lib/python3.8/site-packages/github/Repository.py", line 1758, in get_contents
headers, data = self._requester.requestJsonAndCheck(
File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 317, in requestJsonAndCheck
return self.__check(
File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 342, in __check
raise self.__createException(status, responseHeaders, output)
github.GithubException.BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest"}
Error: Issue reporting failed
Traceback (most recent call last):
File "/root/tagbot/action/__main__.py", line 65, in <module>
if not repo.is_registered():
File "/root/tagbot/action/repo.py", line 317, in is_registered
root = self._registry_path
File "/root/tagbot/action/repo.py", line 100, in _registry_path
contents = self._only(self._registry.get_contents("Registry.toml"))
File "/usr/local/lib/python3.8/site-packages/github/Repository.py", line 1758, in get_contents
headers, data = self._requester.requestJsonAndCheck(
File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 317, in requestJsonAndCheck
return self.__check(
File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 342, in __check
raise self.__createException(status, responseHeaders, output)
github.GithubException.BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest"}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/tagbot/action/repo.py", line 473, in handle_error
self._report_error(trace)
File "/root/tagbot/action/repo.py", line 300, in _report_error
if self._repo.private or os.getenv("GITHUB_ACTIONS") != "true":
File "/usr/local/lib/python3.8/site-packages/github/Repository.py", line 642, in private
self._completeIfNotSet(self._private)
File "/usr/local/lib/python3.8/site-packages/github/GithubObject.py", line 299, in _completeIfNotSet
self._completeIfNeeded()
File "/usr/local/lib/python3.8/site-packages/github/GithubObject.py", line 303, in _completeIfNeeded
self.__complete()
File "/usr/local/lib/python3.8/site-packages/github/GithubObject.py", line 310, in __complete
headers, data = self._requester.requestJsonAndCheck("GET", self._url.value)
File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 317, in requestJsonAndCheck
return self.__check(
File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 342, in __check
raise self.__createException(status, responseHeaders, output)
github.GithubException.BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest"}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingrewriteWill be done in the Julia rewrite of TagBot (see #55), but not before.Will be done in the Julia rewrite of TagBot (see #55), but not before.