opennaslab / kubespider

A global resource download orchestration system, build your home download center.
https://kubespider.netlify.app/
Apache License 2.0
2.01k stars 114 forks source link

Error happened, func: handle_torrent_download, err: [Errno 2] No such file or directory: 'Common/' #511

Closed gygy closed 2 months ago

gygy commented 4 months ago

Ask your question here:

打开 https://ubuntu.com/download/alternative-downloads,然后点击右键下载BitTorrent文件,迅雷下载提示如下错误 2024-05-09 22:17:35,834-INFO: Download torrent file with downloader(xunlei) 2024-05-09 22:17:35,841-INFO: Start torrent download:/tmp/819aad3c510b8a8aef61e9d543806761.torrent 2024-05-09 22:17:36,133-ERROR: Error happened, func: handle_torrent_download, err: [Errno 2] No such file or directory: 'Common/', retrying...

其实Common 这个文件夹是存在的

richardli1598 commented 3 months ago

是不是没挂载对?

gygy commented 3 months ago

是不是没挂载对?

迅雷挂载正常。其他文件可以下载。仅仅bt文件不行

manduted commented 2 months ago

在最新版也遇到这个问题。大致看了一下日志

我认为哈,在最新版本的时候,会将种子文件扒拉下来,实际保存在docker里的tmp文件夹,但是func: handle_torrent_download进行种子文件传递的时候,跑去找Movie,Common这些文件夹里头的种子文件,。因为根本就没有生成这些文件夹(在docker里Find了Common),当然就 No such file or directory?

1 2

0.3版本,就没这个问题,因为0.3中,其他版本没测,也没有对代码进行对比。

richardli1598 commented 2 months ago

已修复,https://github.com/opennaslab/kubespider/pull/532

gygy commented 2 months ago

确认已经解决了