ChenyangGao / p115client

Python 115 网盘客户端
MIT License
74 stars 17 forks source link

ERROR: 发生错误: [Errno 5] unable to find these ids: {2904634560887128039} #1

Open cgkings opened 1 month ago

cgkings commented 1 month ago

报错信息如下,我设置的CID并不是2904634560887128039

2024.10.21 10:39:09 ERROR: 发生错误: [Errno 5] unable to find these ids: {2904634560887128039} Traceback (most recent call last): File "/home/emby/cg_sync/cg_115sync.py", line 423, in main db_update_time, new_db_files, deleted_db_files = update_database(task) ^^^^^^^^^^^^^^^^^^^^^ File "/home/emby/cg_sync/cg_115sync.py", line 223, in update_database for file_info in file_iterator: File "/usr/local/lib/python3.11/dist-packages/iterutils/init.py", line 402, in process ret = send(ret) ^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/p115client/tool/iterdir.py", line 1215, in gen_step yield YieldFrom(ensure_attr_path( ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/p115client/tool/iterdir.py", line 677, in ensure_attr_path return run_gen_step(genstep, async=async_) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/iterutils/init.py", line 277, in run_gen_step ret = send(ret) ^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/p115client/tool/iterdir.py", line 648, in gen_step raise P115OSError(errno.EIO, f"unable to find these ids: {find_ids}") p115client.exception.P115OSError: [Errno 5] unable to find these ids: {2904634560887128039}

cgkings commented 1 month ago

经过作者大佬的指点 问题原因: 直接原因: 部分文件的父文件夹id不存在,无法通过加星标的方式操作,但它又确实存在 根本原因: 个人认为是某挂载软件在处理文件时的碎片

解决方法: step1:登录115网页版 step2:使用高级功能=>>校检空间,将没有父文件夹id的文件移动到‘/修复文件‘这个文件夹里面 ok,问题解决 image image