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

[错误报告] 下载青之箱的时候报错 #916

Open
4 tasks done
JerryFhuurr opened this issue Feb 18, 2025 · 2 comments
Open
4 tasks done

[错误报告] 下载青之箱的时候报错 #916

JerryFhuurr opened this issue Feb 18, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@JerryFhuurr
Copy link

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经查阅了已知问题,并确认我的问题不在其中。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

latest, 3.1.14

问题类型

程序运行问题

问题描述

RT,在下载这部动漫的时候总是提示无法连接然后报错,订阅的其他作品都OK唯独这个不行。log里的版本是3.14,但是我也在3.18里测试过了,都是一样的。而且报错之后整个项目似乎就不再执行任何操作了,之前使用的时候也有发现这个问题,报错后就不再获取新的种子文件以及下载了(当时版本也是3.18)。

发生问题时系统日志

2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:                     _        ____                                    _
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:          /\        | |      |  _ \                                  (_)
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:         /  \  _   _| |_ ___ | |_) | __ _ _ __   __ _ _   _ _ __ ___  _
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:        / /\ \| | | | __/ _ \|  _ < / _` | '_ \ / _` | | | | '_ ` _ \| |
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:       / ____ \ |_| | || (_) | |_) | (_| | | | | (_| | |_| | | | | | | |
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:      /_/    \_\__,_|\__\___/|____/ \__,_|_| |_|\__, |\__,_|_| |_| |_|_|
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:                                                 __/ |
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:                                                |___/
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:     Version 3.1.14  Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:     GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:     Starting AutoBangumi...
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:     Config loaded
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:     Program running.
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:     Application startup complete.
2025-02-18 02:02:32 [2025-02-18 18:02:32] INFO:     Uvicorn running on http://0.0.0.0:7892 (Press CTRL+C to quit)
2025-02-18 02:02:33 [2025-02-18 18:02:33] INFO:     Start collecting full season...
2025-02-18 02:02:33 [2025-02-18 18:02:33] INFO:     Start collecting 青之箱 Season 1...
2025-02-18 02:02:47 [2025-02-18 18:02:47] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/6b5735c98192af38ca7c66d107cf957b2d64233c.torrent, Please check your network settings
2025-02-18 02:03:00 [2025-02-18 18:03:00] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/1da09d0215015c96b6badafdd8580a218df58f55.torrent, Please check your network settings
2025-02-18 02:03:13 [2025-02-18 18:03:13] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/55dd5a55b3b203541b8cbea24631262386e9c228.torrent, Please check your network settings
2025-02-18 02:03:13 Exception in thread Thread-4 (rss_loop):
2025-02-18 02:03:13 Traceback (most recent call last):
2025-02-18 02:03:13   File "/usr/lib/python3.11/site-packages/qbittorrentapi/torrents.py", line 1382, in _normalize_torrent_files
2025-02-18 02:03:13     fh = open(filepath, "rb")
2025-02-18 02:03:13          ^^^^^^^^^^^^^^^^^^^^
2025-02-18 02:03:13 FileNotFoundError: [Errno 2] No such file or directory: '/app/None'
2025-02-18 02:03:13 
2025-02-18 02:03:13 During handling of the above exception, another exception occurred:
2025-02-18 02:03:13 
2025-02-18 02:03:13 Traceback (most recent call last):
2025-02-18 02:03:13   File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
2025-02-18 02:03:13     self.run()
2025-02-18 02:03:13   File "/usr/lib/python3.11/threading.py", line 982, in run
2025-02-18 02:03:13     self._target(*self._args, **self._kwargs)
2025-02-18 02:03:13   File "/app/module/core/sub_thread.py", line 31, in rss_loop
2025-02-18 02:03:13     eps_complete()
2025-02-18 02:03:13   File "/app/module/manager/collector.py", line 72, in eps_complete
2025-02-18 02:03:13     collector.collect_season(data)
2025-02-18 02:03:13   File "/app/module/manager/collector.py", line 21, in collect_season
2025-02-18 02:03:13     if self.add_torrent(torrents, bangumi):
2025-02-18 02:03:13        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-18 02:03:13   File "/app/module/downloader/download_client.py", line 138, in add_torrent
2025-02-18 02:03:13     if self.client.add_torrents(
2025-02-18 02:03:13        ^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-18 02:03:13   File "/app/module/downloader/client/qb_downloader.py", line 86, in add_torrents
2025-02-18 02:03:13     resp = self._client.torrents_add(
2025-02-18 02:03:13            ^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-18 02:03:13   File "/usr/lib/python3.11/site-packages/qbittorrentapi/decorators.py", line 91, in wrapper
2025-02-18 02:03:13     return func(client, *args, **kwargs)
2025-02-18 02:03:13            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-18 02:03:13   File "/usr/lib/python3.11/site-packages/qbittorrentapi/torrents.py", line 1303, in torrents_add
2025-02-18 02:03:13     files_to_send, files_to_close = self._normalize_torrent_files(torrent_files)
2025-02-18 02:03:13                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-18 02:03:13   File "/usr/lib/python3.11/site-packages/qbittorrentapi/torrents.py", line 1391, in _normalize_torrent_files
2025-02-18 02:03:13     raise TorrentFileNotFoundError(
2025-02-18 02:03:13 qbittorrentapi.exceptions.TorrentFileNotFoundError: [Errno 2] No such file or directory
2025-02-18 02:03:30 [2025-02-18 18:03:30] INFO:     Shutting down
2025-02-18 02:03:30 [2025-02-18 18:03:30] INFO:     Waiting for application shutdown.
2025-02-18 02:03:30 [2025-02-18 18:03:30] INFO:     Application shutdown complete.
2025-02-18 02:03:30 [2025-02-18 18:03:30] INFO:     Finished server process [7]
@JerryFhuurr JerryFhuurr added the bug Something isn't working label Feb 18, 2025
@leverglowh
Copy link

2025-02-18 02:02:47 [2025-02-18 18:02:47] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/6b5735c98192af38ca7c66d107cf957b2d64233c.torrent, Please check your network settings
2025-02-18 02:03:00 [2025-02-18 18:03:00] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/1da09d0215015c96b6badafdd8580a218df58f55.torrent, Please check your network settings
2025-02-18 02:03:13 [2025-02-18 18:03:13] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/55dd5a55b3b203541b8cbea24631262386e9c228.torrent, Please check your network settings

这三个种子404导致程序崩溃了,是你选的mikan源的问题,可以试试换个字幕组?

程序方面 qb的api针对种子/种子链接会raise三种异常,可能handle一下可以避免崩溃

@JerryFhuurr
Copy link
Author

2025-02-18 02:02:47 [2025-02-18 18:02:47] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/6b5735c98192af38ca7c66d107cf957b2d64233c.torrent, Please check your network settings
2025-02-18 02:03:00 [2025-02-18 18:03:00] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/1da09d0215015c96b6badafdd8580a218df58f55.torrent, Please check your network settings
2025-02-18 02:03:13 [2025-02-18 18:03:13] ERROR     [Network] Unable to connect to https://mikanani.me/Download/20241013/55dd5a55b3b203541b8cbea24631262386e9c228.torrent, Please check your network settings

这三个种子404导致程序崩溃了,是你选的mikan源的问题,可以试试换个字幕组?

程序方面 qb的api针对种子/种子链接会raise三种异常,可能handle一下可以避免崩溃

好的,我试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants