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

[错误报告]: 媒体整理无法删除记录 #3940

Open
4 tasks done
orzcz opened this issue Feb 27, 2025 · 0 comments
Open
4 tasks done

[错误报告]: 媒体整理无法删除记录 #3940

orzcz opened this issue Feb 27, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@orzcz
Copy link

orzcz commented Feb 27, 2025

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经 Telegram频道 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

v2.3.0

运行环境

Docker

问题类型

主程序运行问题

问题描述

记录删除不了,无论点哪个删除;不是UI显示的问题,刷新页面后记录依然存在。重启docker后可以成功,但是下次生产的记录又删除不了了。

Image Image Image Image

目录没删干净导致后续再次整理报错

Traceback (most recent call last):
  File "/app/app/chain/__init__.py", line 112, in run_module
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/app/app/modules/filemanager/__init__.py", line 404, in transfer
    return self.transfer_media(fileitem=fileitem,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/app/modules/filemanager/__init__.py", line 1108, in transfer_media
    new_item, err_msg = self.__transfer_file(fileitem=fileitem,
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/app/modules/filemanager/__init__.py", line 875, in __transfer_file
    new_item, errmsg = self.__transfer_command(fileitem=fileitem,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/app/modules/filemanager/__init__.py", line 474, in __transfer_command
    target_file.parent.mkdir(parents=True)
  File "/usr/local/lib/python3.11/pathlib.py", line 1116, in mkdir
    os.mkdir(self, mode)
IsADirectoryError: [Errno 21] Is a directory: '/Download/hardLink/TV/欧美剧/无耻之徒 (2011)/Season 8'
@orzcz orzcz added the bug Something isn't working label Feb 27, 2025
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

1 participant