This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Setup jsdelvr-bot for testing proposes on Heroku? #59
Comments
Create .env file and get this output: C:\Users\Suriyaa\Downloads\bot>heroku local
[OKAY] Loaded ENV .env File as KEY=VALUE Format
[OKAY] Trimming display Output to 149 Columns
14:37:31 web.1 | Traceback (most recent call last):
14:37:31 web.1 | File "run.py", line 8, in <module>
14:37:31 web.1 | jimaek = validator.PullBot()
14:37:31 web.1 | File "C:\Users\Suriyaa\Downloads\bot\validator.py", line 18, in __init__
14:37:31 web.1 | self.repo = self.gh.repository(self.config["owner"], self.config["repo"])
14:37:31 web.1 | File "C:\Python27\lib\site-packages\github3\github.py", line 1063, in repository
14:37:31 web.1 | json = self._json(self._get(url), 200)
14:37:31 web.1 | File "C:\Python27\lib\site-packages\github3\models.py", line 100, in _json
14:37:31 web.1 | if self._boolean(response, status_code, 404) and response.content:
14:37:31 web.1 | File "C:\Python27\lib\site-packages\github3\models.py", line 121, in _boolean
14:37:32 web.1 | raise GitHubError(response)
14:37:32 web.1 | github3.models.GitHubError: 401 Bad credentials
[DONE] Killing all processes with signal null
14:37:32 web.1 Exited Abnormally |
Is your auth token set correctly for the given user name? |
Well, publishing the project worked:
I selected the But it doesn't worked! |
A Heroku Application Error: https://datacdn-bot.herokuapp.com/ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I get this following warning:
The text was updated successfully, but these errors were encountered: