-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Description
Hello, Good morning from here.
I would really appreciate help here. I attached log file from Heroku for better view.
Here's a copy of Heroku log file 🔢
p1-wormbot-console-1608604717079.txt
Traceback (most recent call last): File "/app/.heroku/python/lib/python3.6/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/app/.heroku/python/lib/python3.6/runpy.py", line 109, in _get_module_details __import__(pkg_name) File "/app/app.py", line 4, in <module> from telegram.replykeyboardmarkup import ReplyKeyboardMarkup File "/app/.heroku/python/lib/python3.6/site-packages/telegram/replykeyboardmarkup.py", line 23, in <module> from telegram import KeyboardButton, ReplyMarkup ImportError: cannot import name 'KeyboardButton'
App works well on local machine using NGROK for connection.
But crashes when hosted on Heroku.
I opened the "replykeyboardmarkup" file in 23 You can see the use of Caps for import statements, whereas, the
"keyboardbutton and replymarkup" are named with lower case respectively.
Yes, it works on local machine but it seems Heroku is case sensitive.
I believe it is a typo from the Telegram Dev side.
Obviously machines are case sensitive.
The above is my observations. Meanwhile I would appreciate a work-around or a clearifications if I am getting it all wrong.
Thanks for Your help.