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.8k stars 276 forks source link

[APP SUBMITTED]: PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'I:\\Downloads\\Ordinary.Joe.S01E01.1080p.WEB.H264-CAKES[rarbg]\\ordinary.joe.s01e01.1080p.web.h264-cakes.mkv' #9897

Open WarEagleUS21 opened 3 years ago

WarEagleUS21 commented 3 years ago

INFO

Python Version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] Operating System: Windows-10-10.0.22000-SP0 Locale: cp1252 Branch: master Database: 44.18 Commit: pymedusa/Medusa@21e350cd4a21f6fb65f750ab5c2d1e9c92c621d6 Link to Log: No Log available

ERROR

2021-09-21 04:51:15 ERROR    POSTPROCESSQUEUE-POST-PROCESS :: [21e350c] Unable to move file I:\Downloads\Ordinary.Joe.S01E01.1080p.WEB.H264-CAKES[rarbg]\ordinary.joe.s01e01.1080p.web.h264-cakes.mkv to L:\TV Shows\Ordinary Joe\Season 1\Ordinary Joe - 1x01 - Way Leads on to Way.mkv: PermissionError(13, 'The process cannot access the file because it is being used by another process')
Traceback (most recent call last):
  File "C:\Medusa\Python\lib\shutil.py", line 563, in move
    os.rename(src, real_dst)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'I:\\Downloads\\Ordinary.Joe.S01E01.1080p.WEB.H264-CAKES[rarbg]\\ordinary.joe.s01e01.1080p.web.h264-cakes.mkv' -> 'L:\\TV Shows\\Ordinary Joe\\Season 1\\Ordinary Joe - 1x01 - Way Leads on to Way.mkv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\helpers\__init__.py", line 320, in move_file
    shutil.move(src_file, dest_file)
  File "C:\Medusa\Python\lib\shutil.py", line 578, in move
    os.unlink(src)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'I:\\Downloads\\Ordinary.Joe.S01E01.1080p.WEB.H264-CAKES[rarbg]\\ordinary.joe.s01e01.1080p.web.h264-cakes.mkv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\post_processor.py", line 477, in move
    helpers.move_file(cur_file_path, new_file_path)
  File "C:\Medusa\Medusa\medusa\helpers\__init__.py", line 324, in move_file
    os.unlink(src_file)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'I:\\Downloads\\Ordinary.Joe.S01E01.1080p.WEB.H264-CAKES[rarbg]\\ordinary.joe.s01e01.1080p.web.h264-cakes.mkv'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

WarEagleUS21 commented 2 years ago

Again, no idea why this submitted but please close.