Replies: 1 comment
-
|
已解决应该是魔法问题 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
版本:v1.3.1
平台:unarid
安装方法:修改env文件,然后修改对应配置模板内容。
问题描述:运行后打开日志,提示
init.py
运行模块 tmdb_trending 出错:TheMovieDbModule - 'NoneType' object has no attribute 'headers'
再搜索框检索指定影片(泰坦尼克号),提示如下:
init.py
运行模块 search_medias 出错:TheMovieDbModule - 'NoneType' object has no attribute 'headers'
容器日志:
Traceback (most recent call last):
File "/app/app/chain/init.py", line 90, in run_module
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/app/app/modules/themoviedb/init.py", line 172, in search_medias
results = self.tmdb.search_multiis(meta.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app/modules/themoviedb/tmdbapi.py", line 57, in search_multiis
multis = self.search.multi(term=title) or []
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app/modules/themoviedb/tmdbv3api/objs/search.py", line 100, in multi
return self._request_obj(
^^^^^^^^^^^^^^^^^^
File "/app/app/modules/themoviedb/tmdbv3api/tmdb.py", line 175, in _request_obj
headers = req.headers
^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'headers'
ERROR: init.py - 运行模块 search_medias 出错:TheMovieDbModule - 'NoneType' object has no attribute 'headers'
None
WARNING: media.py - 泰坦尼克号 没有找到对应的媒体信息!
本人小白,是按照药丸论坛的帖子进行设置的
Beta Was this translation helpful? Give feedback.
All reactions