Владимир, поправил, теперь новая беда - не видит таблицу в SQLite'вой DB.
2019-03-23T04:15:37.047983+00:00 app[web.1]: File "/app/venv/include/utilits.py", line 21, in generate_user
2019-03-23T04:15:37.048105+00:00 app[web.1]: cursor.execute("SELECT status, name, phone FROM Clients WHERE client_id=?", [(message.chat.id)])
2019-03-23T04:15:37.048159+00:00 app[web.1]: sqlite3.OperationalError: no such table: Clients
При этом база лежит в той же папке, где и Bot.py. И при запуске с компьютера все работает как надо.
Короче не победить мне Hiroku. Попробую другие варианты размещения.
2019-03-22T16:08:27.279013+00:00 heroku[web.1]: Starting process with command `python Bot.py`
2019-03-22T16:08:28.763522+00:00 heroku[web.1]: Process exited with status 2
2019-03-22T16:08:28.695656+00:00 app[web.1]: (null): can't open file 'Bot.py': [Errno 2] No such file or directory
2019-03-22T16:08:28.780281+00:00 heroku[web.1]: State changed from starting to crashed
2019-03-22T16:08:30.000000+00:00 app[api]: Build succeeded
Меняю на web: python ~venv/include/Bot.py
2019-03-22T16:09:40.760339+00:00 heroku[web.1]: Starting process with command `python ~venv/include/Bot.py`
2019-03-22T16:09:43.734812+00:00 heroku[web.1]: State changed from starting to crashed
2019-03-22T16:09:43.715438+00:00 heroku[web.1]: Process exited with status 2
2019-03-22T16:09:43.666208+00:00 app[web.1]: (null): can't open file '~venv/include/Bot.py': [Errno 2] No such file or directory
2019-03-22T16:09:44.000000+00:00 app[api]: Build succeeded
2019-03-22T15:54:13.547339+00:00 heroku[web.1]: State changed from crashed to starting
2019-03-22T15:54:17.869640+00:00 heroku[web.1]: Starting process with command `chmod +x ~/venv/include/Bot.py`
2019-03-22T15:54:20.603616+00:00 heroku[web.1]: State changed from starting to crashed
2019-03-22T15:54:20.582149+00:00 heroku[web.1]: Process exited with status 0
2019-03-22T15:54:20.000000+00:00 app[api]: Build succeeded
2019-03-22T15:21:32.548935+00:00 app[api]: Release v4 created by user e.s.emelyanov@gmail.com
2019-03-22T15:21:37.046431+00:00 heroku[web.1]: Starting process with command `./Bot.py`
2019-03-22T15:21:39.088603+00:00 heroku[web.1]: State changed from starting to crashed
2019-03-22T15:21:39.072578+00:00 heroku[web.1]: Process exited with status 127
2019-03-22T15:21:38.999783+00:00 app[web.1]: bash: ./Bot.py: No such file or directory
Изменил на "web: ./venv/include/Bot.py". Результат:
2019-03-22T15:25:08.832741+00:00 heroku[web.1]: Process exited with status 126
2019-03-22T15:25:08.752715+00:00 app[web.1]: bash: ./venv/include/Bot.py: Permission denied