Untitled
4ae4d
plain_text
01/28/2026 7:16 AM
4.8 KB
8
Indexable
pomogai_bot_1 2026-01-28T10:16:39.342290610+03:00 {
"time": "2026-01-28 10:16:39.342",
"level": "info",
"thread": "MainThread",
"name": "dialog_bot_sdk.updates",
"message": "Getting update update_message, seq: 24545"
}
pomogai_bot_1 2026-01-28T10:16:39.482419793+03:00 {
"time": "2026-01-28 10:16:39.482",
"level": "info",
"thread": "ThreadPoolExecutor-1_0",
"name": "dialog_bot_sdk.updates",
"message": "Update update_message (seq 24545) routing to reports_export_handler"
}
pomogai_bot_1 2026-01-28T10:16:39.497617931+03:00 {
"time": "2026-01-28 10:16:39.497",
"level": "info",
"thread": "MainThread",
"name": "dialog_bot_sdk.updates",
"message": "Getting update update_message_read_by_me, seq: 24546"
}
pomogai_bot_1 2026-01-28T10:16:39.497747544+03:00 {
"time": "2026-01-28 10:16:39.497",
"level": "info",
"thread": "MainThread",
"name": "dialog_bot_sdk.updates",
"message": "Skip update update_message_read_by_me (seq 24546)"
}
pomogai_bot_1 2026-01-28T10:16:40.353404691+03:00 {
"time": "2026-01-28 10:16:40.352",
"level": "error",
"thread": "Thread-1 (__task_manager)",
"name": "dialog_bot_sdk.updates",
"message": "Update update_message (seq 24545) is failed",
"fn": "reports_export_handler",
"error": "NoFactoryError: Cannot find factory for (ReportService, component='', scope=Scope.REQUEST). Check scopes in your providers. It is missing or has invalid scope.",
"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 36, in wrapper
bound.arguments[name] = req.get(ann)
File "/usr/local/lib/python3.10/site-packages/dishka/container.py", line 165, in get
return self._get_unlocked(key)
File "/usr/local/lib/python3.10/site-packages/dishka/container.py", line 198, in _get_unlocked
return self.parent_container._get(key) # noqa: SLF001
File "/usr/local/lib/python3.10/site-packages/dishka/container.py", line 175, in _get
return self._get_unlocked(key)
File "/usr/local/lib/python3.10/site-packages/dishka/container.py", line 198, in _get_unlocked
return self.parent_container._get(key) # noqa: SLF001
File "/usr/local/lib/python3.10/site-packages/dishka/container.py", line 177, in _get
return self._get_unlocked(key)
File "/usr/local/lib/python3.10/site-packages/dishka/container.py", line 198, in _get_unlocked
return self.parent_container._get(key) # noqa: SLF001
File "/usr/local/lib/python3.10/site-packages/dishka/container.py", line 177, in _get
return self._get_unlocked(key)
File "/usr/local/lib/python3.10/site-packages/dishka/container.py", line 192, in _get_unlocked
raise NoFactoryError(
dishka.exceptions.NoFactoryError: Cannot find factory for (ReportService, component='', scope=Scope.REQUEST). Check scopes in your providers. It is missing or has invalid scope.
"
}
Editor is loading...
Leave a Comment