Skip to content

commandhandler error after updated the library to the 8.1.0 #871

@91DarioDev

Description

@91DarioDev

after i updated the library to 8.1.0 i keep getting this error

 ERROR - An uncaught error was raised while processing the update
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/telegram/ext/dispatcher.py", line 269, in process_update
    for handler in (x for x in self.handlers[group] if x.check_update(update)):
  File "/usr/local/lib/python3.5/dist-packages/telegram/ext/dispatcher.py", line 269, in <genexpr>
    for handler in (x for x in self.handlers[group] if x.check_update(update)):
  File "/usr/local/lib/python3.5/dist-packages/telegram/ext/commandhandler.py", line 137, in check_update
    command = message.text[1:].split(None, 1)[0].split('@')

i did not change a single line of my code and in fact reverting to the previous version of the library i am fine

edit:

steps to reproduce:

  • send a text message containing only one word.

it doesn't happen with commands or text containing more than one words or media

edit2:
set the log on DEBUG it also say
IndexError: list index out of range in addition to the previous Traceback

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy