Skip to content
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

Can't parse entities: can't find end of the entity starting at byte offset 161 #26

Open
mikeshultz opened this issue Jun 19, 2020 · 1 comment
Labels
bug Something isn't working as intended

Comments

@mikeshultz
Copy link
Contributor

Seen on a recent command (/price) in the spanish channel.

Can't parse entities: can't find end of the entity starting at byte offset 161

[Will update with message details later.]

@mikeshultz mikeshultz added the bug Something isn't working as intended label Jun 19, 2020
@mikeshultz
Copy link
Contributor Author

Relevant logs:

2020-06-19T19:51:13.773259+00:00 app[worker.1]: command: /price seen in chat_id -1001250600509
2020-06-19T19:51:14.786386+00:00 app[worker.1]: Update '{'update_id': 291083799, 'message': {'message_id': 7120, 'date': 1592596273, 'chat': {'id': -1001250600509, 'type': 'supergroup', 'title': 'Origin Protocol Spanish', 'username': 'OriginProtocolSpanish'}, 'text': '/price', 'entities': [{'type': 'bot_command', 'offset': 0, 'length': 6}], 'caption_entities': [], 'photo': [], 'new_chat_members': [], 'new_chat_photo': [], 'delete_chat_photo': False, 'group_chat_created': False, 'supergroup_chat_created': False, 'channel_chat_created': False, 'from': {'id': 956009817, 'first_name': 'Saul M.', 'is_bot': False, 'username': 'Saul_29', 'language_code': 'es'}, 'new_chat_member': None}, '_effective_user': {'id': 956009817, 'first_name': 'Saul M.', 'is_bot': False, 'username': 'Saul_29', 'language_code': 'es'}, '_effective_message': {'message_id': 7120, 'date': 1592596273, 'chat': {'id': -1001250600509, 'type': 'supergroup', 'title': 'Origin Protocol Spanish', 'username': 'OriginProtocolSpanish'}, 'text': '/price', 'entities': [{'type': 'bot_command', 'offset': 0, 'length': 6}], 'caption_entities': [], 'photo': [], 'new_chat_members': [], 'new_chat_photo': [], 'delete_chat_photo': False, 'group_chat_created': False, 'supergroup_chat_created': False, 'channel_chat_created': False, 'from': {'id': 956009817, 'first_name': 'Saul M.', 'is_bot': False, 'username': 'Saul_29', 'language_code': 'es'}, 'new_chat_member': None}}' caused error 'Can't parse entities: can't find end of the entity starting at byte offset 161'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant