Untitled

4ae4d avatar
4ae4d
plain_text
01/29/2026 7:53 AM
2.5 KB
7
Indexable

pomogai_bot_1 {
        "time": "2026-01-29 10:51:05.256",
        "level": "info",
        "thread": "MainThread",
        "name": "dialog_bot_sdk.updates",
        "message": "Getting update update_interactive_media_event, seq: 25601"
}
pomogai_bot_1 {
        "time": "2026-01-29 10:51:05.256",
        "level": "info",
        "thread": "ThreadPoolExecutor-1_1",
        "name": "dialog_bot_sdk.updates",
        "message": "Update update_interactive_media_event (seq 25601) routing to reports_export_handler"
}
pomogai_bot_1 {
        "time": "2026-01-29 10:51:05.514",
        "level": "error",
        "thread": "Thread-1 (__task_manager)",
        "name": "dialog_bot_sdk.updates",
        "message": "Update update_interactive_media_event (seq 25601) is failed",
        "fn": "reports_export_handler",
        "error": "AttributeError: 'UpdateInteractiveMediaEvent' object has no attribute 'message'",
        "traceback": "Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/dialog_bot_sdk/updates.py", line 155, in __task_manager
    if task.task.result() is True:
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.10/site-packages/dialog_bot_sdk/updates.py", line 684, in _push_with_preprocessing
    func(update.oneof_type())
  File "/bot/core/dependencies/di.py", line 39, in wrapper
    return func(*bound.args, **bound.kwargs)
  File "/bot/core/handlers/report.py", line 15, in reports_export_handler
    mid = (getattr(message.message, "mid", None),)
AttributeError: 'UpdateInteractiveMediaEvent' object has no attribute 'message'
"
}
Editor is loading...
Leave a Comment