GithubHelp home page GithubHelp logo

Comments (4)

suriyaa avatar suriyaa commented on August 26, 2024

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

from bot.

megawac avatar megawac commented on August 26, 2024

github3.models.GitHubError: 401 Bad credentials

Is your auth token set correctly for the given user name?

from bot.

suriyaa avatar suriyaa commented on August 26, 2024

@megawac


Well, publishing the project worked:

-----> Using set buildpack heroku/python
-----> Python app detected
-----> Noticed cffi. Bootstrapping libffi.
     $ pip install -r requirements.txt
-----> Discovering process types
       Procfile declares types -> web
-----> Compressing...
       Done: 46.3M
-----> Launching...
       Released v25
       https://datacdn-bot.herokuapp.com/ deployed to Heroku

heroku dashboard logs


I selected the repo and admin:repo_hook scopes for the bot:

github personal token

But it doesn't worked!

from bot.

 avatar commented on August 26, 2024

A Heroku Application Error: https://datacdn-bot.herokuapp.com/

from bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.