[19.09.2024 16:39:15] ERROR [utils.py:85] UnexpectedError 'Something unexpected happened.': [Unexpected error handled: TypeError("'NoneType' object is not iterable")]
Traceback (most recent call last):
File "/podcast/src/common/views.py", line 77, in dispatch
response = await handler(self.request) # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/podcast/src/modules/podcast/views/episodes.py", line 68, in post
episode = await episode_creator.create()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/podcast/src/modules/podcast/episodes.py", line 56, in create
episode_data = await self._get_episode_data(same_episode=last_same_episode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/podcast/src/modules/podcast/episodes.py", line 86, in _get_episode_data
extract_error, source_info = await provider_utils.get_source_media_info(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/podcast/src/modules/providers/utils.py", line 191, in get_source_media_info
chapters=chapters_processing(source_details.get("chapters", [])),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/podcast/src/modules/providers/utils.py", line 218, in chapters_processing
for input_chapter in input_chapters:
^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
The above exception was the direct cause of the following exception:
detected exc in log