-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending non-compressed photos crashes the conversation #138
Comments
You sent a non-compressed photo, which greed doesn't support... It's weird that python-telegram-bot considered it a photo, though... I'll investigate when I have time. |
If i send a non-compressed / compressed photo, please fix in next update. |
I think it's due to the Bot API 5.3 update. Now photos have a different JSON structure, so trying to access the I think that something should be changed here: Lines 1067 to 1070 in 28967de
|
Please help fix error, add photo to product from Windows Telegram client or phone (selected file)
Worker 1895432016 | worker | Exception in <Worker 1895432016>: list index out of range
Traceback (most recent call last):
File "/root/garminbot/worker.py", line 254, in run
self.__admin_menu()
File "/root/garminbot/worker.py", line 1757, in __admin_menu
self.__products_menu()
File "/root/garminbot/worker.py", line 1966, in __products_menu
self.__edit_product_menu()
File "/root/garminbot/worker.py", line 2088, in __edit_product_menu
largest_photo = photo_list[0]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: