pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.78k stars 276 forks source link

[APP SUBMITTED]: FileNotFoundError: [Errno 2] No such file or directory: '/media/[SubsPlease] Karasu wa Aruji wo Erabanai - 07 (1080p) [97BFF6F0].mkv' #11757

Open Ryunoske opened 2 months ago

Ryunoske commented 2 months ago

INFO

Python Version: 3.10.8 (main, Oct 13 2022, 23:33:11) [GCC 10.3.1 20211027] Operating System: Linux-6.5.0-41-generic-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@34a67cf159acab69017dd5b95e0233ecde0de28a Link to Log: https://gist.github.com/Ryunoske/9597edda916e3ca98e97bb30cada13ab

ERROR

2024-07-15 21:41:16 ERROR    Thread_1 :: [34a67cf] Unable to move file /media/[SubsPlease] Karasu wa Aruji wo Erabanai - 07 (1080p) [97BFF6F0].mkv to /media/Anime/YATAGARASU The Raven Does Not Choose Its Master/Season 01/YATAGARASU The Raven Does Not Choose Its Master S01E07.mkv: FileNotFoundError(2, 'No such file or directory')
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/shutil.py", line 815, in move
    os.rename(src, real_dst)
OSError: [Errno 18] Cross-device link: '/media/[SubsPlease] Karasu wa Aruji wo Erabanai - 07 (1080p) [97BFF6F0].mkv' -> '/media/Anime/YATAGARASU The Raven Does Not Choose Its Master/Season 01/YATAGARASU The Raven Does Not Choose Its Master S01E07.mkv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/medusa/medusa/helpers/__init__.py", line 320, in move_file
    shutil.move(src_file, dest_file)
  File "/usr/local/lib/python3.10/shutil.py", line 836, in move
    os.unlink(src)
FileNotFoundError: [Errno 2] No such file or directory: '/media/[SubsPlease] Karasu wa Aruji wo Erabanai - 07 (1080p) [97BFF6F0].mkv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/medusa/medusa/post_processor.py", line 480, in move
    helpers.move_file(cur_file_path, new_file_path)
  File "/app/medusa/medusa/helpers/__init__.py", line 324, in move_file
    os.unlink(src_file)
FileNotFoundError: [Errno 2] No such file or directory: '/media/[SubsPlease] Karasu wa Aruji wo Erabanai - 07 (1080p) [97BFF6F0].mkv'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators