Procfile Heroku

Sam

I tried to deploy my first Telegram chatbot (done with Chatterbot library) on Heroku. The files of my chatbot are: requirements (txt file) Procfile (worker: python magghybot.py) botusers (csv file) Magghy (py file) magghybot (py file) runtime (txt file) telegramtoken (txt file) conversations (yml file in folder named lang) math_words (json file in folder named lang)

When I tried to deploy through terminal I have this result:

Counting objects: 14, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (14/14), 5.27 KiB | 0 bytes/s, done.
Total 14 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Python app detected
remote:  !     Warning: Your application is missing a Procfile. This file tells Heroku how to run your application.
remote:  !     Learn more: https://devcenter.heroku.com/articles/procfile
remote: -----> Installing python-2.7.14
remote: -----> Installing pip
remote: -----> Installing requirements with pip
remote:        Collecting altgraph==0.10.2 (from -r /tmp/build_a73484ff05f07a99f75f8542f74b80fe/requirements.txt (line 1))
remote:          Downloading altgraph-0.10.2.tar.gz (481kB)
remote:        Collecting backports.shutil-get-terminal-size==1.0.0 (from -r /tmp/build_a73484ff05f07a99f75f8542f74b80fe/requirements.txt (line 2))
remote:          Downloading backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
remote:        Collecting bdist-mpkg==0.5.0 (from -r /tmp/build_a73484ff05f07a99f75f8542f74b80fe/requirements.txt (line 3))
remote:          Downloading bdist_mpkg-0.5.0.tar.gz
remote:        Collecting bonjour-py==0.3 (from -r /tmp/build_a73484ff05f07a99f75f8542f74b80fe/requirements.txt (line 4))
remote:          Could not find a version that satisfies the requirement bonjour-py==0.3 (from -r /tmp/build_a73484ff05f07a99f75f8542f74b80fe/requirements.txt (line 4)) (from versions: )
remote:        No matching distribution found for bonjour-py==0.3 (from -r /tmp/build_a73484ff05f07a99f75f8542f74b80fe/requirements.txt (line 4))
remote:  !     Push rejected, failed to compile Python app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !   Push rejected to magghy.
remote: 
To https://git.heroku.com/magghy.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/magghy.git'

Please, can you help me? I already created a Procfile with only this string:

worker: python magghybot.py
Sam

I solved, with a command touch Procfile. This command created a file without extension, so I put my string worker: python magghybot.py. :)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Procfile in Heroku

From Dev

Heroku Procfile not working

From Dev

heroku $PORT variable in Procfile

From Dev

Heroku, Procfile and gitignore

From Dev

How to create a Procfile for Python in Heroku?

From Dev

Heroku Flask Tutorial Procfile Meaning

From Dev

Heroku looking for Procfile in wrong directory

From Dev

ruby and heroku procfile for web app

From Dev

Difference between Procfile and Procfile.Windows in heroku servers

From Dev

Heroku Procfile won't run Django app

From Dev

"No Procfile detected" in Sinatra app heroku push

From Dev

Rails app using Thin and SSL on Heroku (Procfile)

From Dev

"No Procfile detected" in Sinatra app heroku push

From Dev

Heroku No such process type web defined in procfile

From Dev

Heroku: No such process type worker defined in Procfile

From Dev

Procfile not found when deploying app to heroku

From Dev

Do I need a Procfile to push a Sinatra app to Heroku?

From Dev

Heroku. New Relic Procfile command doesn't work

From Dev

What does "--log-file -" mean in Heroku procfile?

From Dev

HEROKU: ps:scale web=1 no such process type web defined in Procfile

From Dev

Heroku, Java, Procfile, Could not find or load main class

From Dev

Can we have two workers with different jobs in Procfile for Heroku?

From Dev

"bundler: command not found: unicorn" after adding Procfile as told by Heroku Bamboo to Cedar migration guide

From Dev

How do you import a custom module with Gunicorn in a Procfile when deploying to Heroku?

From Dev

Anyway to be able to push to heroku master with Procfile and requirments.txt in a seperate folder

From Dev

Django-twoscoops-project (skeleton) on Heroku via Gunicorn. How to set Procfile?

From Dev

" npm ERR! missing script: start" at Heroku despite set up in package.json and Procfile

From Dev

Specifying a default port in a Procfile

From Dev

Can a Procfile have comments?

Related Related

  1. 1

    Procfile in Heroku

  2. 2

    Heroku Procfile not working

  3. 3

    heroku $PORT variable in Procfile

  4. 4

    Heroku, Procfile and gitignore

  5. 5

    How to create a Procfile for Python in Heroku?

  6. 6

    Heroku Flask Tutorial Procfile Meaning

  7. 7

    Heroku looking for Procfile in wrong directory

  8. 8

    ruby and heroku procfile for web app

  9. 9

    Difference between Procfile and Procfile.Windows in heroku servers

  10. 10

    Heroku Procfile won't run Django app

  11. 11

    "No Procfile detected" in Sinatra app heroku push

  12. 12

    Rails app using Thin and SSL on Heroku (Procfile)

  13. 13

    "No Procfile detected" in Sinatra app heroku push

  14. 14

    Heroku No such process type web defined in procfile

  15. 15

    Heroku: No such process type worker defined in Procfile

  16. 16

    Procfile not found when deploying app to heroku

  17. 17

    Do I need a Procfile to push a Sinatra app to Heroku?

  18. 18

    Heroku. New Relic Procfile command doesn't work

  19. 19

    What does "--log-file -" mean in Heroku procfile?

  20. 20

    HEROKU: ps:scale web=1 no such process type web defined in Procfile

  21. 21

    Heroku, Java, Procfile, Could not find or load main class

  22. 22

    Can we have two workers with different jobs in Procfile for Heroku?

  23. 23

    "bundler: command not found: unicorn" after adding Procfile as told by Heroku Bamboo to Cedar migration guide

  24. 24

    How do you import a custom module with Gunicorn in a Procfile when deploying to Heroku?

  25. 25

    Anyway to be able to push to heroku master with Procfile and requirments.txt in a seperate folder

  26. 26

    Django-twoscoops-project (skeleton) on Heroku via Gunicorn. How to set Procfile?

  27. 27

    " npm ERR! missing script: start" at Heroku despite set up in package.json and Procfile

  28. 28

    Specifying a default port in a Procfile

  29. 29

    Can a Procfile have comments?

HotTag

Archive