Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行最后出错了。。老哥给瞅瞅。。。 #1

Closed
22xiaogu opened this issue Jan 29, 2022 · 2 comments
Closed

运行最后出错了。。老哥给瞅瞅。。。 #1

22xiaogu opened this issue Jan 29, 2022 · 2 comments

Comments

@22xiaogu
Copy link

Traceback (most recent call last):
File "/app/douban_movie_download.py", line 65, in
downloader.start()
File "/app/src/movie/downloader.py", line 41, in start
self.search_and_download(
File "/app/src/movie/downloader.py", line 82, in search_and_download
exist = self.radarr.exist_movie(imdb)
File "/app/src/radarr/utils.py", line 27, in exist_movie
allMovieList = self.search_all_local_movie()
File "/app/src/radarr/utils.py", line 24, in search_all_local_movie
return json.loads(r)
File "/usr/local/lib/python3.8/json/init.py", line 341, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType

这是错误代码。。

@muyeyong
Copy link
Owner

muyeyong commented Feb 1, 2022

search_all_local_movie 这个方法返回的内容,有问题,可以自己调试一下,或者用postman试一下

@22xiaogu
Copy link
Author

22xiaogu commented Feb 1, 2022

已经好了,估计是之前一些参数没设置好,现在已经正常运行了。 大佬牛逼!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants