SickRage Info:
Branch: master
Commit: 43e87014bcd7515e3cb2e50a185361861aed6800
Version: v2017.01.28-2
Database Version: 44.0
Python Version: 2.7.13 (default, Dec 19 2016, 02:32:04) [GCC 4.7.3 20130102 (prerelease)]
SSL Version: OpenSSL 1.0.2j 26 Sep 2016
OS: Linux-3.10.77-x86_64-with-glibc2.2.5
What you did: Auto Post Processing.
What happened: Folder not deleted because subfolder contains .png files which should have been deleted.
Directory of N:\ZExtract
30/01/2017 18:11 <DIR> .
12/01/2017 17:08 <DIR> ..
30/01/2017 18:03 <DIR> The.Affair.S03E10.720p.HDTV.x264-FLEET
0 File(s) 0 bytes
Directory of N:\ZExtract\The.Affair.S03E10.720p.HDTV.x264-FLEET
30/01/2017 18:03 <DIR> .
30/01/2017 18:11 <DIR> ..
30/01/2017 17:35 <DIR> Screens
0 File(s) 0 bytes
Directory of N:\ZExtract\The.Affair.S03E10.720p.HDTV.x264-FLEET\Screens
30/01/2017 17:35 <DIR> .
30/01/2017 18:03 <DIR> ..
30/01/2017 11:06 222,032 screen0001.png
30/01/2017 11:05 249,936 screen0002.png
30/01/2017 11:05 589,739 screen0003.png
30/01/2017 11:05 838,042 screen0004.png
4 File(s) 1,899,749 bytes
What I'd like to know:
I double check the Screens and file permission and they are no different to the files which are moved out. From the dir /s above the main mkv file is moved to the correct location and the .nfo is deleted but the Screens subfolder and subsequent images remain.
This never used to be the way SR worked as in the same log file there are references to Screens folders but they have always been deleted and notably only an issue since the update of 2017-01-27 which is the first reference to not deleting due to screens folder not being deleted.
Is there a new setting or parameter I need to set?
2017-01-26 11:03:17 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: /volume1/Media/ZExtract
2017-01-26 11:03:17 INFO POSTPROCESSOR-AUTO :: PostProcessing Path: /volume1/Media/ZExtract
2017-01-26 11:03:18 INFO POSTPROCESSOR-AUTO :: Deleting folder (if it's empty): /volume1/Media/ZExtract/The.Magicians.US.S02E01.720p.HDTV.x264-KILLERS/Screens
2017-01-26 11:03:18 INFO POSTPROCESSOR-AUTO :: Processing /volume1/Media/ZExtract/The.Magicians.US.S02E01.720p.HDTV.x264-KILLERS/The.Magicians.US.S02E01.720p.HDTV.x264-KILLERS.mkv (None)
2017-01-26 11:03:18 INFO POSTPROCESSOR-AUTO :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-01-26 11:03:18 INFO POSTPROCESSOR-AUTO :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-01-26 11:03:19 INFO POSTPROCESSOR-AUTO :: Release name (the.magicians.us.s02e01.720p.hdtv.x264-killers) found from file (the.magicians.us.s02e01.720p.hdtv.x264-killers.nfo)
2017-01-26 11:03:21 INFO POSTPROCESSOR-AUTO :: Processing succeeded for /volume1/Media/ZExtract/The.Magicians.US.S02E01.720p.HDTV.x264-KILLERS/The.Magicians.US.S02E01.720p.HDTV.x264-KILLERS.mkv
2017-01-26 11:03:21 INFO POSTPROCESSOR-AUTO :: Deleting folder (if it's empty): /volume1/Media/ZExtract/The.Magicians.US.S02E01.720p.HDTV.x264-KILLERS
2017-01-26 11:03:21 INFO POSTPROCESSOR-AUTO :: Successfully processed
Successful deletion of folder
followed by unsuccessful
2017-01-27 05:35:37 INFO POSTPROCESSOR-AUTO :: Processing /volume1/Media/ZExtract/Death.in.Paradise.S06E04.720p.HDTV.x264-ORGANiC/Death.in.Paradise.S06E04.720p.HDTV.x264-ORGANiC.mkv (None)
2017-01-27 05:35:37 INFO POSTPROCESSOR-AUTO :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-01-27 05:35:37 INFO POSTPROCESSOR-AUTO :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-01-27 05:35:38 INFO POSTPROCESSOR-AUTO :: Release name (death.in.paradise.s06e04.720p.hdtv.x264-organic) found from file (death.in.paradise.s06e04.720p.hdtv.x264-organic.nfo)
2017-01-27 05:35:39 INFO POSTPROCESSOR-AUTO :: Processing succeeded for /volume1/Media/ZExtract/Death.in.Paradise.S06E04.720p.HDTV.x264-ORGANiC/Death.in.Paradise.S06E04.720p.HDTV.x264-ORGANiC.mkv
2017-01-27 05:35:39 INFO POSTPROCESSOR-AUTO :: Not deleting folder /volume1/Media/ZExtract/Death.in.Paradise.S06E04.720p.HDTV.x264-ORGANiC found the following files: [u'Screens']
2017-01-27 05:35:40 WARNING POSTPROCESSOR-AUTO :: Processing Failed
Directory of N:\ZzDLStation\7000\The.Affair.S03E10.720p.HDTV.x264-FLEET
30/01/2017 18:16 <DIR> .
30/01/2017 17:57 <DIR> ..
30/01/2017 18:16 65 l.txt
30/01/2017 11:06 <DIR> Screens
30/01/2017 11:05 696 the.affair.s03e10.720p.hdtv.x264-fleet.nfo
30/01/2017 11:14 929,625,267 The.Affair.S03E10.720p.HDTV.x264-FLEET.mkv
3 File(s) 929,626,028 bytes
Directory of N:\ZzDLStation\7000\The.Affair.S03E10.720p.HDTV.x264-FLEET\Screens
30/01/2017 11:06 <DIR> .
30/01/2017 18:16 <DIR> ..
30/01/2017 11:05 249,936 screen0002.png
30/01/2017 11:05 589,739 screen0003.png
30/01/2017 11:05 838,042 screen0004.png
30/01/2017 11:06 222,032 screen0001.png
4 File(s) 1,899,749 bytes
Logs:
2017-01-30 11:31:56 INFO POSTPROCESSOR :: Auto post processing task for /volume1/Media/ZExtract was added to the queue
2017-01-30 11:31:59 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: /volume1/Media/ZExtract
2017-01-30 11:32:00 INFO POSTPROCESSOR-AUTO :: Processing /volume1/Media/ZExtract/Conviction.2016.S01E13.720p.HDTV.x264-KILLERS/Conviction.2016.S01E13.720p.HDTV.x264-KILLERS.mkv (None)
2017-01-30 11:32:01 INFO POSTPROCESSOR-AUTO :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-01-30 11:32:01 INFO POSTPROCESSOR-AUTO :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-01-30 11:32:01 INFO POSTPROCESSOR-AUTO :: Release name (conviction.2016.s01e13.720p.hdtv.x264-killers) found from file (conviction.2016.s01e13.720p.hdtv.x264-killers.nfo)
2017-01-30 11:32:03 INFO POSTPROCESSOR-AUTO :: Processing succeeded for /volume1/Media/ZExtract/Conviction.2016.S01E13.720p.HDTV.x264-KILLERS/Conviction.2016.S01E13.720p.HDTV.x264-KILLERS.mkv
2017-01-30 11:32:03 INFO POSTPROCESSOR-AUTO :: Not deleting folder /volume1/Media/ZExtract/Conviction.2016.S01E13.720p.HDTV.x264-KILLERS found the following files: [u'Screens']
2017-01-30 11:32:04 INFO POSTPROCESSOR-AUTO :: Processing /volume1/Media/ZExtract/The.Affair.S03E10.720p.HDTV.x264-FLEET/The.Affair.S03E10.720p.HDTV.x264-FLEET.mkv (None)
2017-01-30 11:32:05 INFO POSTPROCESSOR-AUTO :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-01-30 11:32:05 INFO POSTPROCESSOR-AUTO :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-01-30 11:32:05 INFO POSTPROCESSOR-AUTO :: Release name (the.affair.s03e10.720p.hdtv.x264-fleet) found from file (the.affair.s03e10.720p.hdtv.x264-fleet.nfo)
2017-01-30 11:32:07 INFO POSTPROCESSOR-AUTO :: Processing succeeded for /volume1/Media/ZExtract/The.Affair.S03E10.720p.HDTV.x264-FLEET/The.Affair.S03E10.720p.HDTV.x264-FLEET.mkv
2017-01-30 11:32:07 INFO POSTPROCESSOR-AUTO :: Not deleting folder /volume1/Media/ZExtract/The.Affair.S03E10.720p.HDTV.x264-FLEET found the following files: [u'Screens']
2017-01-30 11:32:07 INFO POSTPROCESSOR-AUTO :: Successfully processed
2017-01-30 11:32:07 INFO POSTPROCESSOR-AUTO :: Auto post processing task for /volume1/Media/ZExtract completed
Thanks for the issue report! Before a real human comes by, please make sure your report has all the below criteria checked
Please make sure you also read how to create an issue and followed all of the steps.
The title should describe your issue. Having "SR not working" or "I get this bug" for 100 issues, isn't really helpful. We will close issues if there isn't enough information.
Sometimes the devs may seem like grunts and respond with short answers. This isn't (always) because the dev hates you, but because he's on mobile or busy fixing bugs. If something isn't clear, please let us know, and this bot may get updated to automatically answer you.
Thanks!
First you need to enable debug in the general settings on the advanced tab, reproduce the problem, and give me debug logs.
Debugging enabled.
Full processing of one file in auto.
2017-02-03 17:44:47 DEBUG POSTPROCESSOR :: Starting new thread: POSTPROCESSOR
2017-02-03 17:44:47 INFO POSTPROCESSOR :: Auto post processing task for /volume1/Media/ZExtract was added to the queue
2017-02-03 17:44:50 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: /volume1/Media/ZExtract
2017-02-03 17:44:50 DEBUG POSTPROCESSOR-AUTO :: Processing folder /volume1/Media/ZExtract
2017-02-03 17:44:50 DEBUG POSTPROCESSOR-AUTO :: Processing folder /volume1/Media/ZExtract
2017-02-03 17:44:51 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Chicago.Med.S02E12.720p.HDTV.x264-FLEET
2017-02-03 17:44:51 DEBUG POSTPROCESSOR-AUTO :: Processing folder /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET
2017-02-03 17:44:52 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Chicago.Med.S02E12.720p.HDTV.x264-FLEET
2017-02-03 17:44:52 DEBUG POSTPROCESSOR-AUTO :: Found unwanted files: ['chicago.med.s02e12.720p.hdtv.x264-fleet.nfo']
2017-02-03 17:44:54 DEBUG POSTPROCESSOR-AUTO :: Parsed /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET into Chicago Med - S02E12 [GROUP: FLEET] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2017-02-03 17:44:54 INFO POSTPROCESSOR-AUTO :: Processing /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET/Chicago.Med.S02E12.720p.HDTV.x264-FLEET.mkv (None)
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: Analyzing name Chicago.Med.S02E12.720p.HDTV.x264-FLEET.mkv
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Chicago.Med.S02E12.720p.HDTV.x264-FLEET
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: Retrieving episode object for 2x12
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: Snatch history had a quality in it, using that: 720p HDTV
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: Quality of the episode we're processing: 720p HDTV
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: SR snatched this episode and it is not processed before
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: Is ep a priority download: True
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: File /volume1/Media/Series/A-D/Chicago Med/Chicago.Med.S02E12.Mirror.Mirror.mkv doesn't exist so there's no worries about replacing it
2017-02-03 17:44:55 INFO POSTPROCESSOR-AUTO :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: Trying to determine free space on destination drive
2017-02-03 17:44:55 INFO POSTPROCESSOR-AUTO :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: No associated files for /volume1/Media/Series/A-D/Chicago Med/Chicago.Med.S02E12.Mirror.Mirror.mkv were found during this pass
2017-02-03 17:44:55 INFO POSTPROCESSOR-AUTO :: Trying to clean any empty folders under /volume1/Media/Series/A-D/Chicago Med
2017-02-03 17:44:55 DEBUG POSTPROCESSOR-AUTO :: Found release name Chicago.Med.S02E12.720p.HDTV.x264-FLEET
2017-02-03 17:44:57 DEBUG POSTPROCESSOR-AUTO :: Parsed chicago.med.s02e12.720p.hdtv.x264-fleet into chicago med - S02E12 [GROUP: fleet] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2017-02-03 17:44:57 INFO POSTPROCESSOR-AUTO :: Release name (chicago.med.s02e12.720p.hdtv.x264-fleet) found from file (chicago.med.s02e12.720p.hdtv.x264-fleet.nfo)
2017-02-03 17:44:57 DEBUG POSTPROCESSOR-AUTO :: Parsed /volume1/Media/Series/A-D/Chicago Med/Chicago.Med.S02E12.Mirror.Mirror into Chicago Med - S02E12 [ABD: False] [ANIME: False] [whichReg: ['standard']]
2017-02-03 17:44:57 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Chicago.Med.S02E12.720p.HDTV.x264-FLEET
2017-02-03 17:44:57 DEBUG POSTPROCESSOR-AUTO :: Found codec for 'Chicago Med: Mirror Mirror'.
2017-02-03 17:44:57 DEBUG POSTPROCESSOR-AUTO :: formatting pattern: %S.N.S%0SE%0E.%E.N -> Chicago.Med.S02E12.Mirror.Mirror
2017-02-03 17:44:57 DEBUG POSTPROCESSOR-AUTO :: Destination folder for this episode: /volume1/Media/Series/A-D/Chicago Med
2017-02-03 17:44:57 DEBUG POSTPROCESSOR-AUTO :: Checking if the path /volume1/Media/Series/A-D/Chicago Med already exists
2017-02-03 17:44:58 DEBUG POSTPROCESSOR-AUTO :: Found the following associated files for /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET/Chicago.Med.S02E12.720p.HDTV.x264-FLEET.mkv: [u'/volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET/chicago.med.s02e12.720p.hdtv.x264-fleet.nfo']
2017-02-03 17:44:58 DEBUG POSTPROCESSOR-AUTO :: Deleting file /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET/chicago.med.s02e12.720p.hdtv.x264-fleet.nfo
2017-02-03 17:44:58 DEBUG POSTPROCESSOR-AUTO :: Moving file from /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET/Chicago.Med.S02E12.720p.HDTV.x264-FLEET.mkv to /volume1/Media/Series/A-D/Chicago Med/Chicago.Med.S02E12.Mirror.Mirror.mkv
2017-02-03 17:44:58 DEBUG POSTPROCESSOR-AUTO :: Setter sets location to /volume1/Media/Series/A-D/Chicago Med/Chicago.Med.S02E12.Mirror.Mirror.mkv
2017-02-03 17:45:01 DEBUG POSTPROCESSOR-AUTO :: Transaction with 2 queries executed
2017-02-03 17:45:02 DEBUG POSTPROCESSOR-AUTO :: Parsed /volume1/Media/Series/A-D/Chicago Med/Chicago.Med.S02E12.Mirror.Mirror into Chicago Med - S02E12 [ABD: False] [ANIME: False] [whichReg: ['standard']]
2017-02-03 17:45:02 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Chicago.Med.S02E12.720p.HDTV.x264-FLEET
2017-02-03 17:45:02 DEBUG POSTPROCESSOR-AUTO :: Found codec for 'Chicago Med: Mirror Mirror'.
2017-02-03 17:45:02 DEBUG POSTPROCESSOR-AUTO :: formatting pattern: %SN - %Sx%0E - %EN - %QN -> Chicago Med - 2x12 - Mirror Mirror - 720p HDTV
2017-02-03 17:45:02 DEBUG POSTPROCESSOR-AUTO :: Notification for NMJ scan update not enabled, skipping this notification
2017-02-03 17:45:02 INFO POSTPROCESSOR-AUTO :: Processing succeeded for /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET/Chicago.Med.S02E12.720p.HDTV.x264-FLEET.mkv
2017-02-03 17:45:02 INFO POSTPROCESSOR-AUTO :: Not deleting folder /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET found the following files: [u'Screens']
2017-02-03 17:45:02 DEBUG POSTPROCESSOR-AUTO :: Processing folder /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET/Screens
2017-02-03 17:45:05 DEBUG POSTPROCESSOR-AUTO :: /volume1/Media/ZExtract/Chicago.Med.S02E12.720p.HDTV.x264-FLEET/Screens : No processable items found in folder
2017-02-03 17:45:05 INFO POSTPROCESSOR-AUTO :: Successfully processed
2017-02-03 17:45:05 INFO POSTPROCESSOR-AUTO :: Auto post processing task for /volume1/Media/ZExtract completed
directory and files info:
Directory of N:\Media\ZExtract
03/02/2017 17:54 <DIR> .
03/02/2017 17:44 <DIR> ..
03/02/2017 10:32 <DIR> Chicago.Med.S02E12.720p.HDTV.x264-FLEET
Directory of N:\Media\ZExtract\Chicago.Med.S02E12.720p.HDTV.x264-FLEET
03/02/2017 10:32 <DIR> .
03/02/2017 17:54 <DIR> ..
03/02/2017 10:29 <DIR> Screens
03/02/2017 10:32 823,300,502 Chicago.Med.S02E12.720p.HDTV.x264-FLEET.mkv
03/02/2017 10:29 696 chicago.med.s02e12.720p.hdtv.x264-fleet.nfo
Directory of N:\Media\ZExtract\Chicago.Med.S02E12.720p.HDTV.x264-FLEET\Screens
03/02/2017 10:29 <DIR> .
03/02/2017 10:32 <DIR> ..
03/02/2017 10:29 1,254,042 screen0001.png
03/02/2017 10:29 962,552 screen0004.png
03/02/2017 10:29 1,279,681 screen0003.png
03/02/2017 10:29 804,576 screen0002.png
same here. Seems this regression got introduced with the rewriting of the post processing handling.
i've configured SR to remove all .srr/.nfo/... but the top folder from unpacking remains with all unwanted content. The episodes are processed correct however.
Same here, Episodes are processed correctly but top folder not deleted.
Just jumped on to see if this was already reported, awesome, mine is also not deleting the "Sample" Sub directories and some other random files that would normally be deleted.
This is only an issue with rar'd releases right?
yes, According to logs it looks that way. not that i find much besides .rar files.
On 8 Feb 2017, at 11:53, miigotu notifications@github.com wrote:
This is only an issue with rar'd releases right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/SickRage/SickRage/issues/3052#issuecomment-278295554, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1FBdZE9LBupGYT-K9XWKJ8O2nWeKzMks5raZ6lgaJpZM4LxTD1.
@miigotu This occurs for both rar and non rar releases.
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\ncis.1414.720p-dimension.nfo
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\NCIS.S14E14.720p.HDTV.X264-DIMENSION.mkv
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens\screen0002.png
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens\screen0004.png
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens\screen0001.png
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens\screen0003.png
left after auto post process:
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens\screen0001.png
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens\screen0002.png
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens\screen0003.png
\NCIS.S14E14.720p.HDTV.X264-DIMENSION\Screens\screen0004.png
Above - Non rar release; which left the Screens folder and png files.
Below - Rar release; which left the Sample folder and sample mkv
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\Sample
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\Sample\sample-this.is.us.s01e14.720p.hdtv.x264-avs.mkv
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.nfo
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r00
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r01
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r02
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r03
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r04
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r05
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r06
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r07
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r08
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r09
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r10
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r11
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r12
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r13
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r14
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r15
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r16
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.r17
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.rar
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\this.is.us.s01e14.720p.hdtv.x264-avs.sfv
left after auto post process:
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\Sample
\This.Is.Us.S01E14.720p.HDTV.x264-AVS\Sample\sample-this.is.us.s01e14.720p.hdtv.x264-avs.mkv
To try the fix #3052, switch to develop or manual edit?
@miigotu Tried the fix with the new 5 lines and delete 6.
Same result, Screen subfolder remains containing 4 png files.
Postprocessing results
Processing folder /volume1/Media/ZExtract
Processing folder /volume1/Media/ZExtract
Processing folder /volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET
Found unwanted files: ['bull.s01e13.720p.hdtv.x264-fleet.nfo']
Processing /volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET/Bull.S01E13.720p.HDTV.x264-FLEET.mkv (None)
Retrieving episode object for 1x13
Snatch history had a quality in it, using that: 720p HDTV
This was manually downloaded but it appears to be better quality than what we have so I'm marking it as priority
Is ep a priority download: True
There is no existing file so there's no worries about replacing it
This download is marked a priority download so I'm going to replace an existing file if I find one
Found release name Bull.S01E13.720p.HDTV.x264-FLEET
Destination folder for this episode: /volume1/Media/Series/A-D/Bull (2016)
Found the following associated files for /volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET/Bull.S01E13.720p.HDTV.x264-FLEET.mkv: [u'/volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET/bull.s01e13.720p.hdtv.x264-fleet.nfo']
Deleting file /volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET/bull.s01e13.720p.hdtv.x264-fleet.nfo
Moving file from /volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET/Bull.S01E13.720p.HDTV.x264-FLEET.mkv to /volume1/Media/Series/A-D/Bull (2016)/Bull.2016.S01E13.The.Fall.mkv
Processing succeeded for /volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET/Bull.S01E13.720p.HDTV.x264-FLEET.mkv
Processing folder /volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET/Screens
/volume1/Media/ZExtract/Bull.S01E13.720p.HDTV.x264-FLEET/Screens : No processable items found in folder
Successfully processed
Still not removing the folders. The only files contained are sample video
Am 12.02.2017 um 19:51 schrieb miigotu notifications@github.com:
Closed #3052 via 066de22.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Yeah, my merge to master autoclosed this.
@miigotu Can you do a brutal fix, like if a file is successfully processed and Delete associated files is ticked then delete all subfolders?
Not a coder, so only a suggestion.
It already does, that's why it's a little confusing.
@miigotu could it be related to the postProcessor.py based on file_path_list?
As from the debug the 'Found the following associated files' only lists the files in the folder being process and doesn't seem to identify other subfolders or subfolder files.
The not need files are deleted at this stage right?
later the processTV.py identifies there are subfolders present and they aren't empty
Just thought that I should post my info too, mostly because my OS and Python Versions are different to the OP.
SickRage Configuration
SickRage Info:
Branch: master
Commit: d95ec824201c32be3e22dd3e64c8c3a7e3fe2c63
Version: v2017.02.15-1
Database Version: 44.0
Python Version: 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)]
SSL Version: OpenSSL 1.0.1h 5 Jun 2014
OS: Windows-2008ServerR2-6.1.7601-SP1
Locale: en_AU.cp1252
Hey, @miigotu and I changed some stuff in Post Processing and Unrar.
Please test develop branch to see if it fixes your issues.
Thanks
I'm unable to switch SR to develop in Syno DSM to test this.
Thread-14 :: "/volume1/@appstore/git/bin/git" checkout -f develop returned : error: pathspec 'develop' did not match any file(s) known to git.
It was released to master last night.
With the latest version:
Branch: master
Commit: 8965a3145b69c292e7c139ae065d5f8fa7c57dda
Version: v2017.02.24-1
Database Version: 44.0
The Screens subfolder still remains after processing and gives the following error.
ERROR:
2017-02-25 19:52:00 Thread-16 :: [8965a31] Unable to move file /volume1/Media/ZExtract/Liv.and.Maddie.S04E12.720p.HDTV.x264-W4F/liv.and.maddie.s04e12.720p.hdtv.x264-w4f.nfo to /volume1/Media/Children Series/Liv and Maddie/Liv.and.Maddie.Cali.Style.S04E12.Big.Break.A.Rooney.nfo-orig: error 2 : No such file or directory
I did a manual post process with move set, it did move the file but also gave a warning because the file already existed. The episode being processed was listed as snatched in the database and the status didn't change even though the file existed. Re-scan files resolved database issue.
Warnings:
2017-02-25 19:52:01 Thread-16 :: Processing Failed
2017-02-25 19:52:00 Thread-16 :: Processing failed for /volume1/Media/ZExtract/Liv.and.Maddie.S04E12.720p.HDTV.x264-W4F/liv.and.maddie.s04e12.720p.hdtv.x264-w4f.mkv: Unable to move the files to their new home
Waiting for the next dl to complete to see how it handles them.
Looks like issue #3220 could be related to this one.
At least when I went on to look in my Post Processing Dir, it's full of undeleted folders. The commonality among the undeleted folders are that they contain folders or files:
find . -not -path '*/\.*'
./The.Blacklist.S04E13.720p.HDTV.x264-KILLERS
./The.Blacklist.S04E13.720p.HDTV.x264-KILLERS/Sample
./The.Blacklist.S04E13.720p.HDTV.x264-KILLERS/Sample/sample-the.blacklist.s04e13.720p.hdtv.x264-killers.mkv
./From [ WWW.TORRENTING.ME ] - Marvels.Agents.of.S.H.I.E.L.D.S04E12.PROPER.720p.HDTV.x264-BATV
./From [ WWW.TORRENTING.ME ] - Marvels.Agents.of.S.H.I.E.L.D.S04E12.PROPER.720p.HDTV.x264-BATV/Screens
./From [ WWW.TORRENTING.ME ] - Marvels.Agents.of.S.H.I.E.L.D.S04E12.PROPER.720p.HDTV.x264-BATV/Screens/screen0001.png
./From [ WWW.TORRENTING.ME ] - Marvels.Agents.of.S.H.I.E.L.D.S04E12.PROPER.720p.HDTV.x264-BATV/Screens/screen0002.png
./From [ WWW.TORRENTING.ME ] - Marvels.Agents.of.S.H.I.E.L.D.S04E12.PROPER.720p.HDTV.x264-BATV/Screens/screen0003.png
./From [ WWW.TORRENTING.ME ] - Marvels.Agents.of.S.H.I.E.L.D.S04E12.PROPER.720p.HDTV.x264-BATV/Screens/screen0004.png
./Modern.Family.S08E12.720p.HDTV.x264-FLEET
./Modern.Family.S08E12.720p.HDTV.x264-FLEET/Sample
./Modern.Family.S08E12.720p.HDTV.x264-FLEET/Sample/modern.family.s08e12.720p.hdtv.x264-fleet.sample.mkv
./www.Torrenting.com - Criminal.Minds.S12E12.PROPER.480p.x264-mSD
./www.Torrenting.com - Criminal.Minds.S12E12.PROPER.480p.x264-mSD/Screens
./www.Torrenting.com - Criminal.Minds.S12E12.PROPER.480p.x264-mSD/Screens/screen0001.png
./www.Torrenting.com - Criminal.Minds.S12E12.PROPER.480p.x264-mSD/Screens/screen0002.png
./www.Torrenting.com - Criminal.Minds.S12E12.PROPER.480p.x264-mSD/Screens/screen0003.png
./www.Torrenting.com - Criminal.Minds.S12E12.PROPER.480p.x264-mSD/Screens/screen0004.png
./From [ WWW.TORRENTING.ME ] - The.100.S04E01.REAL.PROPER.720p.HDTV.x264-BATV
./From [ WWW.TORRENTING.ME ] - The.100.S04E01.REAL.PROPER.720p.HDTV.x264-BATV/Screens
./From [ WWW.TORRENTING.ME ] - The.100.S04E01.REAL.PROPER.720p.HDTV.x264-BATV/Screens/screen0001.png
./From [ WWW.TORRENTING.ME ] - The.100.S04E01.REAL.PROPER.720p.HDTV.x264-BATV/Screens/screen0002.png
./From [ WWW.TORRENTING.ME ] - The.100.S04E01.REAL.PROPER.720p.HDTV.x264-BATV/Screens/screen0003.png
./From [ WWW.TORRENTING.ME ] - The.100.S04E01.REAL.PROPER.720p.HDTV.x264-BATV/Screens/screen0004.png
./From [ WWW.TORRENTING.ME ] - Modern.Family.S08E12.PROPER.720p.HDTV.x264-KILLERS
./From [ WWW.TORRENTING.ME ] - Modern.Family.S08E12.PROPER.720p.HDTV.x264-KILLERS/Sample
./From [ WWW.TORRENTING.ME ] - Modern.Family.S08E12.PROPER.720p.HDTV.x264-KILLERS/Sample/sample-modern.family.s08e12.proper.720p.hdtv.x264-killers.mkv
./From [ WWW.TORRENTING.ME ] - Code.Black.S02E16.PROPER.720p.HDTV.x264-KILLERS
./From [ WWW.TORRENTING.ME ] - Code.Black.S02E16.PROPER.720p.HDTV.x264-KILLERS/Sample
./From [ WWW.TORRENTING.ME ] - Code.Black.S02E16.PROPER.720p.HDTV.x264-KILLERS/Sample/sample-code.black.s02e16.proper.720p.hdtv.x264-killers.mkv
./Blindspot.S02E14.720p.HDTV.X264-DIMENSION
./Blindspot.S02E14.720p.HDTV.X264-DIMENSION/Sample
./Blindspot.S02E14.720p.HDTV.X264-DIMENSION/Sample/the.girl.who.played.with.fire.214.720p-dimension.sample.mkv
./Arrow.S05E13.720p.HDTV.X264-DIMENSION
./Arrow.S05E13.720p.HDTV.X264-DIMENSION/Sample
./Arrow.S05E13.720p.HDTV.X264-DIMENSION/Sample/arrow.513.720p-dimension.sample.mkv
./Lethal.Weapon.S01E15.720p.HDTV.X264-DIMENSION
./Lethal.Weapon.S01E15.720p.HDTV.X264-DIMENSION/Sample
./Lethal.Weapon.S01E15.720p.HDTV.X264-DIMENSION/Sample/too.old.for.this.shit.115.720p-dimension.sample.mkv
./Suits.S06E14.720p.HDTV.x264-SVA
./Suits.S06E14.720p.HDTV.x264-SVA/Sample
./Suits.S06E14.720p.HDTV.x264-SVA/Sample/sample-suits.s06e14.720p.hdtv.x264-sva.mkv
./Legion.S01E02.720p.HDTV.x264-AVS
./Legion.S01E02.720p.HDTV.x264-AVS/Sample
./Legion.S01E02.720p.HDTV.x264-AVS/Sample/sample-legion.s01e02.720p.hdtv.x264-avs.mkv
./Supernatural.S12E12.720p.HDTV.X264-DIMENSION
./Supernatural.S12E12.720p.HDTV.X264-DIMENSION/Sample
./Supernatural.S12E12.720p.HDTV.X264-DIMENSION/Sample/best.show.1212.720p-dimension.sample.mkv
./Colony.S02E06.720p.HDTV.x264-FLEET
./Colony.S02E06.720p.HDTV.x264-FLEET/Sample
./Colony.S02E06.720p.HDTV.x264-FLEET/Sample/colony.s02e06.720p.hdtv.x264-fleet.sample.mkv
./Greys.Anatomy.S13E14.720p.HDTV.X264-DIMENSION
./Greys.Anatomy.S13E14.720p.HDTV.X264-DIMENSION/Sample
./Greys.Anatomy.S13E14.720p.HDTV.X264-DIMENSION/Sample/gays.anatomy.1314.720p-dimension.sample.mkv
./How.to.Get.Away.with.Murder.S03E13.720p.HDTV.x264-KILLERS
./How.to.Get.Away.with.Murder.S03E13.720p.HDTV.x264-KILLERS/Sample
./How.to.Get.Away.with.Murder.S03E13.720p.HDTV.x264-KILLERS/Sample/sample-how.to.get.away.with.murder.s03e13.720p.hdtv.x264-killers.mkv
./Stan.Lees.Lucky.Man.S02E01.720p.HDTV.x264-MTB[rarbg]
./Stan.Lees.Lucky.Man.S02E01.720p.HDTV.x264-MTB[rarbg]/RARBG.txt
./Sleepy.Hollow.S04E08.720p.HDTV.x264-AVS[rarbg]
./Sleepy.Hollow.S04E08.720p.HDTV.x264-AVS[rarbg]/RARBG.txt
./Grimm.S06E08.720p.HDTV.x264-AVS[rarbg]
./Grimm.S06E08.720p.HDTV.x264-AVS[rarbg]/RARBG.txt
I have same problem
SickRage Configuration
SickRage Info:
Branch: master
Commit: 8965a3145b69c292e7c139ae065d5f8fa7c57dda
Database Version: 44.0
Python Version: 2.7.11 (default, Feb 17 2016, 07:58:43) [GCC 4.3.6]
SSL Version: OpenSSL 1.0.2f 28 Jan 2016
OS: Linux-3.12.6-x86_64-with-glibc2.0
Locale: en_US.UTF-8
Some more post processing problems I have posted:
https://github.com/SickRage/SickRage/issues/3220#issuecomment-282538162
Does not work here either: Latest SR, master
after post processing: .nfo, .sfv, .srr and a sample video file are still in the folder.
folder has not been deleted.
possibly i have hosed my post processing settings in attempts to get the folder auto-removed
Patience, we know.
Just a note, with this version
Branch: master
Commit: 8965a3145b69c292e7c139ae065d5f8fa7c57dda
Version: v2017.02.24-1
Database Version: 44.0
The file is moved (errors and warnings as previous post) to the folder but also the database isn't updated to recognise the file is actually there. The db shows snatched.
Net status - worse than having leftover subfolders.
In some cases, the postprocessor will deliberately do nothing with the download but report that it did, without checking against the database.
For example, when the video file in the download dir is the same size as the one in SickRage library.
Maybe this is the case in your last comment. Or it could be just failing to even get to the part of updating the database because of previous errors.
I think you should test with a new show not currently in your database and with the changes in #3233.
@sharkykh OK, here's some logs and info
File is listed and snatched and download complete, file does not exist in the shows folder.
Emerald City
9 The Villain That's Become Sat, 25.02.17, 09:00 Snatched 720p WEB-DL
Execute manual processing with debug logging on.
2017-02-27 17:16:06 INFO Thread-17 :: Beginning manual post processing task: /volume1/Media/ZExtract
2017-02-27 17:16:07 INFO Thread-17 :: Processing /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv (None)
2017-02-27 17:16:08 INFO Thread-17 :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-02-27 17:16:08 INFO Thread-17 :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-02-27 17:16:08 INFO Thread-17 :: Trying to clean any empty folders under /volume1/Media/Series/E-H/Emerald City
2017-02-27 17:16:08 INFO Thread-17 :: Release name (Emerald.City.S01E09.720p) found from file (Emerald.City.S01E09.720p.nfo)
2017-02-27 17:16:10 ERROR Thread-17 :: [8965a31] Unable to move file /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.nfo to /volume1/Media/Series/E-H/Emerald City/Emerald.City.S01E09.The.Villain.Thats.Become.nfo-orig: error 2 : No such file or directory
Traceback (most recent call last):
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/sickbeard/postProcessor.py", line 370, in _int_move
helpers.moveFile(cur_file_path, new_file_path)
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/sickbeard/helpers.py", line 374, in moveFile
ek(shutil.move, srcFile, destFile)
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/sickrage/helper/encoding.py", line 40, in ek
result = function(*[ss(x) if isinstance(x, (str, unicode)) else x for x in args], **kwargs)
File "/usr/local/python/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/usr/local/python/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/local/python/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.nfo'
2017-02-27 17:16:10 WARNING Thread-17 :: Processing failed for /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv: Unable to move the files to their new home
2017-02-27 17:16:10 WARNING Thread-17 :: Processing Failed
2017-02-27 17:16:10 INFO Thread-17 :: Some items were not processed.
2017-02-27 17:16:10 INFO Thread-17 :: /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv : Processing failed: Unable to move the files to their new home
2017-02-27 17:16:10 INFO Thread-17 :: Manual post processing task for /volume1/Media/ZExtract completed
2017-02-27 17:22:48 DEBUG MANUAL :: Executing "/volume1/@appstore/git/bin/git" config remote.origin.url https://github.com/********/********.git with your shell in /usr/local/sickbeard-custom/var/SickBeard
2017-02-27 17:22:48 DEBUG MANUAL :: "/volume1/@appstore/git/bin/git" config remote.origin.url https://github.com/********/********.git : returned successful
2017-02-27 17:22:48 DEBUG MANUAL :: Executing "/volume1/@appstore/git/bin/git" config remote.origin.pushurl https://github.com/BKSteve/********.git with your shell in /usr/local/sickbeard-custom/var/SickBeard
2017-02-27 17:22:48 DEBUG MANUAL :: "/volume1/@appstore/git/bin/git" config remote.origin.pushurl https://github.com/BKSteve/********.git : returned successful
2017-02-27 17:22:48 DEBUG MANUAL :: Executing "/volume1/@appstore/git/bin/git" symbolic-ref -q HEAD with your shell in /usr/local/sickbeard-custom/var/SickBeard
2017-02-27 17:22:48 DEBUG MANUAL :: "/volume1/@appstore/git/bin/git" symbolic-ref -q HEAD : returned successful
2017-02-27 17:22:48 DEBUG MANUAL :: Executing "/volume1/@appstore/git/bin/git" ls-remote --heads origin with your shell in /usr/local/sickbeard-custom/var/SickBeard
2017-02-27 17:22:56 DEBUG MANUAL :: "/volume1/@appstore/git/bin/git" ls-remote --heads origin : returned successful
2017-02-27 17:23:26 INFO Thread-14 :: Manual post processing task for /volume1/Media/ZExtract was added to the queue
2017-02-27 17:23:31 INFO POSTPROCESSOR-MANUAL :: Beginning manual post processing task: /volume1/Media/ZExtract
2017-02-27 17:23:31 DEBUG POSTPROCESSOR-MANUAL :: Processing folder /volume1/Media/ZExtract
2017-02-27 17:23:31 DEBUG POSTPROCESSOR-MANUAL :: Processing folder /volume1/Media/ZExtract
2017-02-27 17:23:31 DEBUG POSTPROCESSOR-MANUAL :: Using cached parse result for: Emerald.City.S01E09.720p
2017-02-27 17:23:31 DEBUG POSTPROCESSOR-MANUAL :: Processing folder /volume1/Media/ZExtract/Emerald.City.S01E09.720p
2017-02-27 17:23:31 DEBUG POSTPROCESSOR-MANUAL :: Using cached parse result for: Emerald.City.S01E09.720p
2017-02-27 17:23:31 DEBUG POSTPROCESSOR-MANUAL :: Found unwanted files: ['Emerald.City.S01E09.720p.nfo']
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Using cached parse result for: /volume1/Media/ZExtract/Emerald.City.S01E09.720p
2017-02-27 17:23:32 INFO POSTPROCESSOR-MANUAL :: Processing /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv (None)
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Analyzing name Emerald.City.S01E09.720p.mkv
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Using cached parse result for: Emerald.City.S01E09.720p
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Retrieving episode object for 1x9
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Snatch history had a quality in it, using that: 720p WEB-DL
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Quality of the episode we're processing: 720p WEB-DL
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Is ep a priority download: False
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: File /volume1/Media/Series/E-H/Emerald City/Emerald.City.S01E09.The.Villain.That´s.Become.mkv doesn't exist so there's no worries about replacing it
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Trying to determine free space on destination drive
2017-02-27 17:23:32 INFO POSTPROCESSOR-MANUAL :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: No associated files for /volume1/Media/Series/E-H/Emerald City/Emerald.City.S01E09.The.Villain.That´s.Become.mkv were found during this pass
2017-02-27 17:23:32 INFO POSTPROCESSOR-MANUAL :: Trying to clean any empty folders under /volume1/Media/Series/E-H/Emerald City
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Found release name Emerald.City.S01E09.720p
2017-02-27 17:23:32 DEBUG POSTPROCESSOR-MANUAL :: Using cached parse result for: Emerald.City.S01E09.720p
2017-02-27 17:23:32 INFO POSTPROCESSOR-MANUAL :: Release name (Emerald.City.S01E09.720p) found from file (Emerald.City.S01E09.720p.nfo)
2017-02-27 17:23:33 DEBUG POSTPROCESSOR-MANUAL :: Parsed /volume1/Media/Series/E-H/Emerald City/Emerald.City.S01E09.The.Villain.That´s.Become into Emerald City - S01E09 [ABD: False] [ANIME: False] [whichReg: ['standard']]
2017-02-27 17:23:33 DEBUG POSTPROCESSOR-MANUAL :: Using cached parse result for: Emerald.City.S01E09.720p
2017-02-27 17:23:33 DEBUG POSTPROCESSOR-MANUAL :: Found codec for 'Emerald City: The Villain That's Become'.
2017-02-27 17:23:33 DEBUG POSTPROCESSOR-MANUAL :: formatting pattern: %S.N.S%0SE%0E.%E.N -> Emerald.City.S01E09.The.Villain.Thats.Become
2017-02-27 17:23:33 DEBUG POSTPROCESSOR-MANUAL :: Destination folder for this episode: /volume1/Media/Series/E-H/Emerald City
2017-02-27 17:23:33 DEBUG POSTPROCESSOR-MANUAL :: Checking if the path /volume1/Media/Series/E-H/Emerald City already exists
2017-02-27 17:23:34 DEBUG POSTPROCESSOR-MANUAL :: Found the following associated files for /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv: [u'/volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.nfo']
2017-02-27 17:23:34 DEBUG POSTPROCESSOR-MANUAL :: Associated files to delete for /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv: [u'/volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.nfo']
2017-02-27 17:23:34 DEBUG POSTPROCESSOR-MANUAL :: Deleting file /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.nfo
2017-02-27 17:23:34 DEBUG POSTPROCESSOR-MANUAL :: Moving file from /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv to /volume1/Media/Series/E-H/Emerald City/Emerald.City.S01E09.The.Villain.Thats.Become.mkv
2017-02-27 17:23:34 DEBUG POSTPROCESSOR-MANUAL :: Not running as root or owner of /volume1/Media/Series/E-H/Emerald City/Emerald.City.S01E09.The.Villain.Thats.Become.mkv, not trying to set permissions
2017-02-27 17:23:34 DEBUG POSTPROCESSOR-MANUAL :: Moving file from /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.nfo to /volume1/Media/Series/E-H/Emerald City/Emerald.City.S01E09.The.Villain.Thats.Become.nfo-orig
2017-02-27 17:23:34 ERROR POSTPROCESSOR-MANUAL :: [8965a31] Unable to move file /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.nfo to /volume1/Media/Series/E-H/Emerald City/Emerald.City.S01E09.The.Villain.Thats.Become.nfo-orig: error 2 : No such file or directory
Traceback (most recent call last):
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/sickbeard/postProcessor.py", line 370, in _int_move
helpers.moveFile(cur_file_path, new_file_path)
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/sickbeard/helpers.py", line 374, in moveFile
ek(shutil.move, srcFile, destFile)
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/sickrage/helper/encoding.py", line 40, in ek
result = function(*[ss(x) if isinstance(x, (str, unicode)) else x for x in args], **kwargs)
File "/usr/local/python/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/usr/local/python/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/local/python/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.nfo'
2017-02-27 17:23:34 WARNING POSTPROCESSOR-MANUAL :: Processing failed for /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv: Unable to move the files to their new home
2017-02-27 17:23:34 DEBUG POSTPROCESSOR-MANUAL :: Processing folder /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Screens
2017-02-27 17:23:34 DEBUG POSTPROCESSOR-MANUAL :: /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Screens : No processable items found in folder
2017-02-27 17:23:34 WARNING POSTPROCESSOR-MANUAL :: Processing Failed
2017-02-27 17:23:34 INFO POSTPROCESSOR-MANUAL :: Some items were not processed.
2017-02-27 17:23:34 INFO POSTPROCESSOR-MANUAL :: /volume1/Media/ZExtract/Emerald.City.S01E09.720p/Emerald.City.S01E09.720p.mkv : Processing failed: Unable to move the files to their new home
2017-02-27 17:23:34 INFO POSTPROCESSOR-MANUAL :: Manual post processing task for /volume1/Media/ZExtract completed
The episode line for the show after refresh remains unchanged.
Emerald City
9 The Villain That's Become Sat, 25.02.17, 09:00 Snatched 720p WEB-DL
The file "Emerald.City.S01E09.The.Villain.Thats.Become.mkv" is now in the shows folder.
Update - Screens subfolder still remains undeleted. nfo file is deleted.
@BKSteve Yeah, the outcome didn't change because nothing in the code changed in the last couple of commits. I haven't checked thoroughly but I still think the errors are what's keeping it from doing the database update. For now, you just wait for the next update...
@sharkykh No worries, I'll wait for the next update.
Just trying to help by providing you guys doing the programming with as much info as possible.
@BKSteve - in the meantime just babysit and do a rescan on the series that pull down episodes then have an issue - at least it brings them in this way. While we wait to test the next commits, at least your db will get updated. I use plex, so I do a rescan there as well, and all is as it should be...
Patience is a virtue - with all the SR contributors do for us, we owe them nothing less :-)
Hey everyone,
please test develop branch (those of you who can switch to it)
We need your feedback, thanks!
If you add your github credentials in SickRage, it will let you switch to develop in the gui
:-( We're not there yet... Develop branch all commits pulled in, and first backlog episode throws an error:
2017-02-27 17:19:53 DEBUG SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: Found result Modern.Family.S07E17.HDTV.x264-FLEET at https://dognzb.cr/fetch/7ef6c586b2a57da9a3260bd0542281b7/bbad2913e3a540c2febd2ab75f0591f0
2017-02-27 17:19:53 DEBUG SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: Single episode result.
2017-02-27 17:19:53 DEBUG SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: The highest quality of any match is SD DVD
2017-02-27 17:19:53 DEBUG SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: Picking the best result out of [u'Modern.Family.S07E17.DVDRip.X264-REWARD', u'Modern.Family.S07E17.HDTV.x264-FLEET', u'Modern.Family.S07E17.HDTV.x264-FLEET']
2017-02-27 17:19:53 INFO SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: Quality of Modern.Family.S07E17.DVDRip.X264-REWARD is SD DVD
2017-02-27 17:19:53 INFO SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: Quality of Modern.Family.S07E17.HDTV.x264-FLEET is SDTV
2017-02-27 17:19:53 INFO SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: Quality of Modern.Family.S07E17.HDTV.x264-FLEET is SDTV
2017-02-27 17:19:53 DEBUG SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: Picked Modern.Family.S07E17.DVDRip.X264-REWARD as the best
2017-02-27 17:19:53 DEBUG SEARCHQUEUE-BACKLOG-95011 :: [DOGnzb] :: Checking if we should keep searching after we've found Modern.Family.S07E17.DVDRip.X264-REWARD
2017-02-27 17:19:53 INFO SEARCHQUEUE-BACKLOG-95011 :: Downloading Modern.Family.S07E17.DVDRip.X264-REWARD from DOGnzb
2017-02-27 17:19:53 INFO SEARCHQUEUE-BACKLOG-95011 :: Sending NZB to SABnzbd
2017-02-27 17:19:54 DEBUG SEARCHQUEUE-BACKLOG-95011 :: Result text from SAB: {u'status': True, u'nzo_ids': [u'SABnzbd_nzo_8s3iwv']}
2017-02-27 17:19:54 DEBUG SEARCHQUEUE-BACKLOG-95011 :: Checking if we should stop searching for a better quality for for episode Modern.Family.S07E17.DVDRip.X264-REWARD
2017-02-27 17:19:54 DEBUG SEARCHQUEUE-BACKLOG-95011 :: formatting pattern: %SN - %Sx%0E - %EN - %QN -> Modern Family - 7x17 - Express Yourself - SD DVD
2017-02-27 17:19:54 DEBUG SEARCHQUEUE-BACKLOG-95011 :: Transaction with 1 queries executed
2017-02-27 17:21:06 DEBUG POSTPROCESSOR :: Starting new thread: POSTPROCESSOR
2017-02-27 17:21:07 INFO POSTPROCESSOR :: Auto post processing task for C:\Downloads\Sickrage was added to the queue
2017-02-27 17:21:12 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: C:\Downloads\Sickrage
2017-02-27 17:21:12 DEBUG POSTPROCESSOR-AUTO :: Processing folder C:\Downloads\Sickrage
2017-02-27 17:21:12 DEBUG POSTPROCESSOR-AUTO :: Processing folder C:\Downloads\Sickrage
2017-02-27 17:21:12 DEBUG POSTPROCESSOR-AUTO :: C:\Downloads\Sickrage : No processable items found in folder
2017-02-27 17:21:12 INFO POSTPROCESSOR-AUTO :: Successfully processed
2017-02-27 17:21:12 INFO POSTPROCESSOR-AUTO :: Auto post processing task for C:\Downloads\Sickrage completed
2017-02-27 17:22:32 INFO Thread-26 :: Manual post processing task for C:\Downloads\Sickrage was added to the queue
2017-02-27 17:22:37 INFO POSTPROCESSOR-MANUAL :: Beginning manual post processing task: C:\Downloads\Sickrage
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Processing folder C:\Downloads\Sickrage
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Processing folder C:\Downloads\Sickrage
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Parsed Modern Family - S07E17 - HDTV x264-FLEET.mp4 into Modern Family - S07E17 [GROUP: FLEET] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Found unwanted files: [u'Modern Family - S07E17 - HDTV x264-FLEET.txt']
2017-02-27 17:22:37 INFO POSTPROCESSOR-MANUAL :: Processing C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.mp4 (None)
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Analyzing name Modern Family - S07E17 - HDTV x264-FLEET.mp4
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Parsed Modern Family - S07E17 - HDTV x264-FLEET into Modern Family - S07E17 [GROUP: FLEET] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Retrieving episode object for 7x17
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Snatch history had a quality in it, using that: SDTV
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Quality of the episode we're processing: SDTV
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: SR snatched this episode and it is not processed before
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Is ep a priority download: True
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: There is no existing file so there's no worries about replacing it
2017-02-27 17:22:37 INFO POSTPROCESSOR-MANUAL :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Trying to determine free space on destination drive
2017-02-27 17:22:37 INFO POSTPROCESSOR-MANUAL :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-02-27 17:22:37 DEBUG POSTPROCESSOR-MANUAL :: Found release name Modern Family - S07E17 - HDTV x264-FLEET
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: Folder name (Sickrage) appears to be a valid release name. Using it.
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: Using cached parse result for: Modern Family - S07E17 - HDTV x264-FLEET
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: Found codec for 'Modern Family: Express Yourself'.
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: formatting pattern: %S.N.S%0SE%0E.%Q.N-%RG -> Modern.Family.S07E17.SDTV-FLEET
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: Using cached parse result for: Modern Family - S07E17 - HDTV x264-FLEET
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: Found codec for 'Modern Family: Express Yourself'.
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: formatting pattern: Season %0S -> Season 07
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: Destination folder for this episode: F:\Media Library\Series\Modern Family\Season 07
2017-02-27 17:22:38 DEBUG POSTPROCESSOR-MANUAL :: Checking if the path F:\Media Library\Series\Modern Family\Season 07 already exists
2017-02-27 17:22:39 DEBUG POSTPROCESSOR-MANUAL :: Found the following associated files for C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.mp4: [u'C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.txt']
2017-02-27 17:22:39 DEBUG POSTPROCESSOR-MANUAL :: Associated files to delete for C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.mp4: [u'C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.txt']
2017-02-27 17:22:39 DEBUG POSTPROCESSOR-MANUAL :: Deleting file C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.txt
2017-02-27 17:22:39 DEBUG POSTPROCESSOR-MANUAL :: Moving file from C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.mp4 to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E17.SDTV-FLEET.mp4
2017-02-27 17:22:40 DEBUG POSTPROCESSOR-MANUAL :: Moving file from C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.txt to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E17.SDTV-FLEET.txt
2017-02-27 17:22:40 ERROR POSTPROCESSOR-MANUAL :: [da7a35a] Unable to move file C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.txt to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E17.SDTV-FLEET.txt: error 2 : No such file or directory
Traceback (most recent call last):
File "C:\SickRage\SickRage\sickbeard\postProcessor.py", line 367, in _int_move
helpers.moveFile(cur_file_path, new_file_path)
File "C:\SickRage\SickRage\sickbeard\helpers.py", line 372, in moveFile
ek(shutil.move, srcFile, destFile)
File "C:\SickRage\SickRage\sickrage\helper\encoding.py", line 41, in ek
result = function(args, *kwargs)
File "C:\SickRage\Python\lib\shutil.py", line 302, in move
copy2(src, real_dst)
File "C:\SickRage\Python\lib\shutil.py", line 130, in copy2
copyfile(src, dst)
File "C:\SickRage\Python\lib\shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.txt'
2017-02-27 17:22:41 WARNING POSTPROCESSOR-MANUAL :: Processing failed for C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.mp4: Unable to move the files to their new home
2017-02-27 17:22:41 WARNING POSTPROCESSOR-MANUAL :: Processing Failed
2017-02-27 17:22:41 INFO POSTPROCESSOR-MANUAL :: Some items were not processed.
2017-02-27 17:22:41 INFO POSTPROCESSOR-MANUAL :: C:\Downloads\Sickrage\Modern Family - S07E17 - HDTV x264-FLEET.mp4 : Processing failed: Unable to move the files to their new home
2017-02-27 17:22:41 INFO POSTPROCESSOR-MANUAL :: Manual post processing task for C:\Downloads\Sickrage completed
Just a theory - not tested. I have, in my SR config (Post Processing section) ticked both 'move associated files' and 'delete non associated files'. Reading that log, it seems to me that the post processor may be deleting the file before trying to move it, hence it is no longer there, and thus throwing the error? Perhaps we could confirm by switching off one or both of those?
Please do!
Try using each option on its own.
Once with one enabled and other one disabled.
If this is the case then we are much much closer to fixing it.
It seemed to work for me with an nfo, mkv and a screens folder, in a rar. All was deleted with the latest changes to develop.
Disabled the delete option only and the file was moved successfully - seems having both checked is causing the problem for me - can the others experiencing the issue perhaps confirm?
2017-02-27 17:51:07 DEBUG POSTPROCESSOR :: Starting new thread: POSTPROCESSOR
2017-02-27 17:51:07 INFO POSTPROCESSOR :: Auto post processing task for C:\Downloads\Sickrage was added to the queue
2017-02-27 17:51:12 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: C:\Downloads\Sickrage
2017-02-27 17:51:12 DEBUG POSTPROCESSOR-AUTO :: Processing folder C:\Downloads\Sickrage
2017-02-27 17:51:12 DEBUG POSTPROCESSOR-AUTO :: Processing folder C:\Downloads\Sickrage
2017-02-27 17:51:12 DEBUG POSTPROCESSOR-AUTO :: Parsed Modern Family - S07E16 - PROPER HDTV x264-KILLERS.mp4 into Modern Family - S07E16 [GROUP: KILLERS] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
2017-02-27 17:51:12 DEBUG POSTPROCESSOR-AUTO :: Found unwanted files: [u'Modern Family - S07E16 - PROPER HDTV x264-KILLERS.txt']
2017-02-27 17:51:12 INFO POSTPROCESSOR-AUTO :: Processing C:\Downloads\Sickrage\Modern Family - S07E16 - PROPER HDTV x264-KILLERS.mp4 (None)
2017-02-27 17:51:12 DEBUG POSTPROCESSOR-AUTO :: Analyzing name Modern Family - S07E16 - PROPER HDTV x264-KILLERS.mp4
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Parsed Modern Family - S07E16 - PROPER HDTV x264-KILLERS into Modern Family - S07E16 [GROUP: KILLERS] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Retrieving episode object for 7x16
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Snatch history had a quality in it, using that: SDTV
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Quality of the episode we're processing: SDTV
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: SR snatched this episode and it is not processed before
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Is ep a priority download: True
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: There is no existing file so there's no worries about replacing it
2017-02-27 17:51:13 INFO POSTPROCESSOR-AUTO :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Trying to determine free space on destination drive
2017-02-27 17:51:13 INFO POSTPROCESSOR-AUTO :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Found release name Modern Family - S07E16 - PROPER HDTV x264-KILLERS
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Folder name (Sickrage) appears to be a valid release name. Using it.
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Modern Family - S07E16 - PROPER HDTV x264-KILLERS
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Found codec for 'Modern Family: The Cover-Up'.
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: formatting pattern: %S.N.S%0SE%0E.%Q.N-%RG -> Modern.Family.S07E16.SDTV-KILLERS
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Modern Family - S07E16 - PROPER HDTV x264-KILLERS
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Found codec for 'Modern Family: The Cover-Up'.
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: formatting pattern: Season %0S -> Season 07
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Destination folder for this episode: F:\Media Library\Series\Modern Family\Season 07
2017-02-27 17:51:13 DEBUG POSTPROCESSOR-AUTO :: Checking if the path F:\Media Library\Series\Modern Family\Season 07 already exists
2017-02-27 17:51:14 DEBUG POSTPROCESSOR-AUTO :: Found the following associated files for C:\Downloads\Sickrage\Modern Family - S07E16 - PROPER HDTV x264-KILLERS.mp4: [u'C:\\Downloads\\Sickrage\\Modern Family - S07E16 - PROPER HDTV x264-KILLERS.txt']
2017-02-27 17:51:14 DEBUG POSTPROCESSOR-AUTO :: Moving file from C:\Downloads\Sickrage\Modern Family - S07E16 - PROPER HDTV x264-KILLERS.mp4 to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E16.SDTV-KILLERS.mp4
2017-02-27 17:51:18 DEBUG POSTPROCESSOR-AUTO :: Moving file from C:\Downloads\Sickrage\Modern Family - S07E16 - PROPER HDTV x264-KILLERS.txt to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E16.SDTV-KILLERS.txt
2017-02-27 17:51:18 DEBUG POSTPROCESSOR-AUTO :: Setter sets location to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E16.SDTV-KILLERS.mp4
2017-02-27 17:51:18 DEBUG POSTPROCESSOR-AUTO :: Transaction with 2 queries executed
2017-02-27 17:51:19 DEBUG POSTPROCESSOR-AUTO :: Parsed F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E16.SDTV-KILLERS into Modern Family - S07E16 [GROUP: KILLERS] [ABD: False] [ANIME: False] [whichReg: [u'standard', u'season_only']]
2017-02-27 17:51:19 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Modern Family - S07E16 - PROPER HDTV x264-KILLERS
2017-02-27 17:51:19 DEBUG POSTPROCESSOR-AUTO :: Found codec for 'Modern Family: The Cover-Up'.
2017-02-27 17:51:19 DEBUG POSTPROCESSOR-AUTO :: formatting pattern: %SN - %Sx%0E - %EN - %QN -> Modern Family - 7x16 - The Cover-Up - SDTV
2017-02-27 17:51:19 DEBUG POSTPROCESSOR-AUTO :: Notification for NMJ scan update not enabled, skipping this notification
2017-02-27 17:51:19 DEBUG POSTPROCESSOR-AUTO :: PLEX: Updating hosts where TV section paths match the downloaded show: 9, 2, 6
2017-02-27 17:51:19 INFO POSTPROCESSOR-AUTO :: Processing succeeded for C:\Downloads\Sickrage\Modern Family - S07E16 - PROPER HDTV x264-KILLERS.mp4
2017-02-27 17:51:19 INFO POSTPROCESSOR-AUTO :: Successfully processed
2017-02-27 17:51:19 INFO POSTPROCESSOR-AUTO :: Auto post processing task for C:\Downloads\Sickrage completed
@DrDrewZA
Trying to reproduce this issue now. What's your Associated file extensions value in the config?
Direct copy and paste: nfo,srr,sfv,srt
Which makes me wonder why it's trying to move a txt file in the first place, actually?
08:04:36 INFO::Thread-21 :: Beginning manual post processing task: /home/dusted/Projects/SickRage/Downloads
08:04:36 DEBUG::Thread-21 :: Processing folder /home/dusted/Projects/SickRage/Downloads
08:04:36 DEBUG::Thread-21 :: Processing folder /home/dusted/Projects/SickRage/Downloads
08:04:36 DEBUG::Thread-21 :: Parsed New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].rar into New Girl - S06E11 [GROUP: FLEET[rarbg].rar] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
08:04:36 DEBUG::Thread-21 :: Packed Releases detected: ['New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].rar']
08:04:36 DEBUG::Thread-21 :: Checking if archive is valid and contains a video: /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].rar
08:04:36 DEBUG::Thread-21 :: Unpacking archive: New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].rar
08:04:41 DEBUG::Thread-21 :: Adding extracted directories to the list of directories to process: [u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]']
08:04:41 DEBUG::Thread-21 :: Found unwanted files: ['New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].rar']
08:04:41 DEBUG::Thread-21 :: Deleting file: New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].rar
08:04:41 DEBUG::Thread-21 :: Processing folder /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]
08:04:41 DEBUG::Thread-21 :: Processing folder /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]
08:04:41 DEBUG::Thread-21 :: Parsed New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg] into New Girl - S06E11 [GROUP: FLEET[rarbg]] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
08:04:41 DEBUG::Thread-21 :: Found unwanted files: ['New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].nfo', 'New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].txt']
08:04:41 INFO::Thread-21 :: Processing /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv (New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg])
08:04:41 DEBUG::Thread-21 :: Analyzing name New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]
08:04:41 DEBUG::Thread-21 :: Parsed New.Girl.S06E11.720p.HDTV.x264-FLEET into New Girl - S06E11 [GROUP: FLEET] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
08:04:42 DEBUG::Thread-21 :: Retrieving episode object for 6x11
08:04:42 DEBUG::Thread-21 :: Setter sets location to /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.mkv
08:04:42 DEBUG::Thread-21 :: Snatch history had a quality in it, using that: 720p HDTV
08:04:42 DEBUG::Thread-21 :: Quality of the episode we're processing: 720p HDTV
08:04:42 DEBUG::Thread-21 :: Is ep a priority download: True
08:04:42 DEBUG::Thread-21 :: File /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.mkv is the same size as /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv
08:04:42 INFO::Thread-21 :: This download is marked a priority download so I'm going to replace an existing file if I find one
08:04:42 DEBUG::Thread-21 :: Trying to determine free space on destination drive
08:04:42 INFO::Thread-21 :: Process method is 'move' and src and destination are on the same device, skipping free space check
08:04:42 DEBUG::Thread-21 :: No associated files for /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.mkv were found during this pass
08:04:42 DEBUG::Thread-21 :: Deleting file /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.mkv
08:04:42 INFO::Thread-21 :: Trying to clean any empty folders under /home/dusted/Videos/New Girl/Season 06
08:04:42 INFO::Thread-21 :: Deleting empty folder: /home/dusted/Videos/New Girl/Season 06
08:04:42 DEBUG::Thread-21 :: Found release name New.Girl.S06E11.720p.HDTV.x264-FLEET
08:04:42 INFO::Thread-21 :: Using nzb_name for release name.
08:04:42 DEBUG::Thread-21 :: Parsed /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back into New Girl - S06E11 [ABD: False] [ANIME: False] [whichReg: [u'standard', u'season_only']]
08:04:42 DEBUG::Thread-21 :: Using cached parse result for: New.Girl.S06E11.720p.HDTV.x264-FLEET
08:04:42 DEBUG::Thread-21 :: Found codec for 'New Girl: Raisin's Back'.
08:04:42 DEBUG::Thread-21 :: formatting pattern: %SN - S%0SE%0E - %EN -> New Girl - S06E11 - Raisin's Back
08:04:42 DEBUG::Thread-21 :: Parsed /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back into New Girl - S06E11 [ABD: False] [ANIME: False] [whichReg: [u'standard', u'season_only']]
08:04:42 DEBUG::Thread-21 :: Using cached parse result for: New.Girl.S06E11.720p.HDTV.x264-FLEET
08:04:42 DEBUG::Thread-21 :: Found codec for 'New Girl: Raisin's Back'.
08:04:42 DEBUG::Thread-21 :: formatting pattern: Season %0S -> Season 06
08:04:42 DEBUG::Thread-21 :: Destination folder for this episode: /home/dusted/Videos/New Girl/Season 06
08:04:42 DEBUG::Thread-21 :: Checking if the path /home/dusted/Videos/New Girl/Season 06 already exists
08:04:42 DEBUG::Thread-21 :: Folder /home/dusted/Videos/New Girl/Season 06/ didn't exist, creating it
08:04:43 DEBUG::Thread-21 :: Found the following associated files for /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv: [u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].nfo', u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].txt']
08:04:43 DEBUG::Thread-21 :: Associated files to allow for /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv: [u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].nfo']
08:04:43 DEBUG::Thread-21 :: Associated files to delete for /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv: [u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].txt']
08:04:43 DEBUG::Thread-21 :: Deleting file /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].txt
08:04:43 DEBUG::Thread-21 :: Moving file from /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv to /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.mkv
08:04:43 DEBUG::Thread-21 :: Moving file from /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].nfo to /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.nfo-orig
08:04:43 DEBUG::Thread-21 :: Setter sets location to /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.mkv
08:04:43 DEBUG::Thread-21 :: Transaction with 2 queries executed
08:04:43 DEBUG::Thread-21 :: Parsed /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back into New Girl - S06E11 [ABD: False] [ANIME: False] [whichReg: [u'standard', u'season_only']]
08:04:43 DEBUG::Thread-21 :: Using cached parse result for: New.Girl.S06E11.720p.HDTV.x264-FLEET
08:04:43 DEBUG::Thread-21 :: Found codec for 'New Girl: Raisin's Back'.
08:04:43 DEBUG::Thread-21 :: formatting pattern: %SN - %Sx%0E - %EN - %QN -> New Girl - 6x11 - Raisin's Back - 720p HDTV
08:04:43 DEBUG::Thread-21 :: Notification for NMJ scan update not enabled, skipping this notification
08:04:43 INFO::Thread-21 :: Processing succeeded for /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv
08:04:43 INFO::Thread-21 :: Deleting folder: /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]
08:04:43 DEBUG::Thread-21 :: Deleted folder: /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]
08:04:43 INFO::Thread-21 :: Successfully processed
08:04:43 INFO::Thread-21 :: Successfully processed
08:04:43 INFO::Thread-21 :: Manual post processing task for /home/dusted/Projects/SickRage/Downloads completed
Methinks you arent on the latest develop branch.
From my changelog:
v2017.02.24-1
full changelog
•Fixes #3200
•Fix for Post Processing extracted folder deletion (#3207)
•Several fixes (#3203)
•Fix #3184. Set locale when starting SR with upstart (#3202)
•Limetorrents fix + Unpack directory new feature (#3199)
•Add "Scrambled" to removeWordsList (#3197)
•Rework on post processing logic for associated files (#3193
@DrDrewZA thats not where you check for the commit you are on, those changes are only on master. We just merged fixes into develop about an hour ago.
@sharkykh why is it deleting the rar before the files are processed? Thats no bueno
I am def on develop branch though...
SickRage Info:
Branch: develop
Commit: da7a35a77e7233273e78ff1cd25a928950f69139
Version: v2017.02.24-1
Database Version: 44.0
Python Version:
2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]
SSL Version:
OpenSSL 1.0.2a 19 Mar 2015
OS:
Windows-8-6.2.9200
Locale:
en_ZA.cp1252
@miigotu Don't believe it's any of my doing.
I think it deletes it as unwanted file, as it should on auto-postprocess with 'move' method.
And only after it extracts it.
Hold on, I'm still testing.
@DrDrewZA You need to restart SR after switching branches
SickRage Info:
Branch: develop
Commit: da7a35a77e7233273e78ff1cd25a928950f69139
Version: v2017.02.24-1
Database Version: 44.0
If you restarted SickRage, try post processing now
@miigotu Just updating that I was able to reproduce:
https://gist.github.com/sharkykh/8eb146ddd104bb1fcb07ebc99c2ff341
Now I'll go in and debug. But just so you know it failed _inside_ process_media
I suspect its the same cause of the rar being deleted before they are processed. Files shouldnt be deleted until processing for that file is totally completed.
No Rar file actually.
Yes but its the same cause ^
phew You had me feeling like a moron for a moment there ;-) I was sure I had done all you mentioned, but restarted anyway and downloaded again, after re-enabling the download checkbox in post processing - same error:
2017-02-27 18:39:28 DEBUG POSTPROCESSOR :: Starting new thread: POSTPROCESSOR
2017-02-27 18:39:28 INFO POSTPROCESSOR :: Auto post processing task for C:\Downloads\Sickrage was added to the queue
2017-02-27 18:39:28 INFO POSTPROCESSOR-AUTO :: Beginning auto post processing task: C:\Downloads\Sickrage
2017-02-27 18:39:28 DEBUG POSTPROCESSOR-AUTO :: Processing folder C:\Downloads\Sickrage
2017-02-27 18:39:28 DEBUG POSTPROCESSOR-AUTO :: Processing folder C:\Downloads\Sickrage
2017-02-27 18:39:28 DEBUG POSTPROCESSOR-AUTO :: Parsed Modern Family - S07E14 - HDTV x264-KILLERS.mp4 into Modern Family - S07E14 [GROUP: KILLERS] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
2017-02-27 18:39:28 DEBUG POSTPROCESSOR-AUTO :: Found unwanted files: [u'Modern Family - S07E14 - HDTV x264-KILLERS.txt']
2017-02-27 18:39:28 INFO POSTPROCESSOR-AUTO :: Processing C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.mp4 (None)
2017-02-27 18:39:28 DEBUG POSTPROCESSOR-AUTO :: Analyzing name Modern Family - S07E14 - HDTV x264-KILLERS.mp4
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Parsed Modern Family - S07E14 - HDTV x264-KILLERS into Modern Family - S07E14 [GROUP: KILLERS] [ABD: False] [ANIME: False] [whichReg: [u'standard']]
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Retrieving episode object for 7x14
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Snatch history had a quality in it, using that: SDTV
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Quality of the episode we're processing: SDTV
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: SR snatched this episode and it is not processed before
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Is ep a priority download: True
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: There is no existing file so there's no worries about replacing it
2017-02-27 18:39:29 INFO POSTPROCESSOR-AUTO :: This download is marked a priority download so I'm going to replace an existing file if I find one
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Trying to determine free space on destination drive
2017-02-27 18:39:29 INFO POSTPROCESSOR-AUTO :: Process method is 'move' and src and destination are on the same device, skipping free space check
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Found release name Modern Family - S07E14 - HDTV x264-KILLERS
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Folder name (Sickrage) appears to be a valid release name. Using it.
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Modern Family - S07E14 - HDTV x264-KILLERS
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Found codec for 'Modern Family: The Storm'.
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: formatting pattern: %S.N.S%0SE%0E.%Q.N-%RG -> Modern.Family.S07E14.SDTV-KILLERS
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Using cached parse result for: Modern Family - S07E14 - HDTV x264-KILLERS
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Found codec for 'Modern Family: The Storm'.
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: formatting pattern: Season %0S -> Season 07
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Destination folder for this episode: F:\Media Library\Series\Modern Family\Season 07
2017-02-27 18:39:29 DEBUG POSTPROCESSOR-AUTO :: Checking if the path F:\Media Library\Series\Modern Family\Season 07 already exists
2017-02-27 18:39:30 DEBUG POSTPROCESSOR-AUTO :: Found the following associated files for C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.mp4: [u'C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.txt']
2017-02-27 18:39:30 DEBUG POSTPROCESSOR-AUTO :: Associated files to delete for C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.mp4: [u'C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.txt']
2017-02-27 18:39:30 DEBUG POSTPROCESSOR-AUTO :: Deleting file C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.txt
2017-02-27 18:39:30 DEBUG POSTPROCESSOR-AUTO :: Moving file from C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.mp4 to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E14.SDTV-KILLERS.mp4
2017-02-27 18:39:33 DEBUG POSTPROCESSOR-AUTO :: Moving file from C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.txt to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E14.SDTV-KILLERS.txt
2017-02-27 18:39:33 ERROR POSTPROCESSOR-AUTO :: [da7a35a] Unable to move file C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.txt to F:\Media Library\Series\Modern Family\Season 07\Modern.Family.S07E14.SDTV-KILLERS.txt: error 2 : No such file or directory
Traceback (most recent call last):
File "C:\SickRage\SickRagesickbeard\postProcessor.py", line 367, in _int_move
helpers.moveFile(cur_file_path, new_file_path)
File "C:\SickRage\SickRagesickbeard\helpers.py", line 372, in moveFile
ek(shutil.move, srcFile, destFile)
File "C:\SickRage\SickRagesickrage\helperencoding.py", line 41, in ek
result = function(args, *kwargs)
File "C:\SickRage\Python\libshutil.py", line 302, in move
copy2(src, real_dst)
File "C:\SickRage\Python\libshutil.py", line 130, in copy2
copyfile(src, dst)
File "C:\SickRage\Python\libshutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.txt'
2017-02-27 18:39:33 INFO SEARCHQUEUE-DAILY-SEARCH :: Beginning daily search for new episodes
2017-02-27 18:39:33 WARNING POSTPROCESSOR-AUTO :: Processing failed for C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.mp4: Unable to move the files to their new home
2017-02-27 18:39:33 WARNING POSTPROCESSOR-AUTO :: Processing Failed
2017-02-27 18:39:33 INFO POSTPROCESSOR-AUTO :: Some items were not processed.
2017-02-27 18:39:33 INFO POSTPROCESSOR-AUTO :: C:\Downloads\Sickrage\Modern Family - S07E14 - HDTV x264-KILLERS.mp4 : Processing failed: Unable to move the files to their new home
2017-02-27 18:39:33 DEBUG SEARCHQUEUE-DAILY-SEARCH :: Seeing if we need anything from 90210
2017-02-27 18:39:33 INFO POSTPROCESSOR-AUTO :: Auto post processing task for C:\Downloads\Sickrage completed
@sharkykh I still cannot reproduce with manual pp, whats your process/settings?
@miigotu Try enabling Delete files and folders in manual PP
The.Good.Fight.S01E02.WEB-DL.x264-RARBG
│ RARBG.mp4
│ RARBG.txt
│ The.Good.Fight.S01E02.WEB-DL.x264-RARBG.mp4
│ The.Good.Fight.S01E02.WEB-DL.x264-RARBG.nfo
│
└───Subs
2_Eng.srt
Relevant settings:
sickbeard.MOVE_ASSOCIATED_FILES = True
sickbeard.DELETE_NON_ASSOCIATED_FILES = True
sickbeard.ALLOWED_EXTENSIONS = u'srr,sfv,srt'
See, the problem is when this line in list_associated_files is hit:
if sickbeard.MOVE_ASSOCIATED_FILES and associated_file_path.endswith(tuple(sickbeard.ALLOWED_EXTENSIONS.split(","))):
So sickbeard.MOVE_ASSOCIATED_FILES is True,
but NFO/TXT whatever the file that is failing isn't in sickbeard.ALLOWED_EXTENSIONS.
so it deletes it before getting the chance to move it.
So sickbeard.MOVE_ASSOCIATED_FILES is True, but NFO/TXT whatever the file that is failing isn't in sickbeard.ALLOWED_EXTENSIONS.
Thats how it is supposed to work.
OK, so I've been looking at the wrong place. I should verify that this is same for when _combined_file_operation starts doing the moves
@miigotu you have nfo allowed
09:04:47 DEBUG::POSTPROCESSOR-AUTO :: Associated files to _allow_ for /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv: [u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]._nfo_']
But maybe you're right...
Yes, but his error was with .txt which I dont have allowed
Strange, it happened this time with nfo...
That's why I now think that there's just an inconsistency between what list_associated_files decides to allow and what it deletes, and what _combined_file_operation is later trying to move (or do with it).
Strange, it happened this time with nfo...
Something's off with it.
These are my full settings:
https://cloud.githubusercontent.com/assets/10238474/23371987/867ad940-fd22-11e6-9dd2-ce737e522756.png
The file is deleted on "delete_files(current_directory, unwanted_files, result)"
But that's after process_media, which already deletes them if they're not allowed
Figured it out I think, gimme a sec
You were only setting file_path_list to the file_path_list_to_allow when there were file_path_list_to_allow, otherwise it returned the full list ^^
09:36:19 DEBUG::Thread-16 :: Found the following associated files for /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv: [u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].nfo', u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].txt']
09:36:19 DEBUG::Thread-16 :: Associated files to delete for /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv: [u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].nfo', u'/home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].txt']
09:36:19 DEBUG::Thread-16 :: Deleting file /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].nfo
09:36:19 DEBUG::Thread-16 :: Deleting file /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].txt
09:36:19 DEBUG::Thread-16 :: Moving file from /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv to /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.mkv
09:36:19 DEBUG::Thread-16 :: Setter sets location to /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back.mkv
09:36:19 DEBUG::Thread-16 :: Transaction with 2 queries executed
09:36:19 DEBUG::Thread-16 :: Parsed /home/dusted/Videos/New Girl/Season 06/New Girl - S06E11 - Raisin's Back into New Girl - S06E11 [ABD: False] [ANIME: False] [whichReg: [u'standard', u'season_only']]
09:36:19 DEBUG::Thread-16 :: Using cached parse result for: New.Girl.S06E11.720p.HDTV.x264-FLEET
09:36:19 DEBUG::Thread-16 :: Found codec for 'New Girl: Raisin's Back'.
09:36:19 DEBUG::Thread-16 :: formatting pattern: %SN - %Sx%0E - %EN - %QN -> New Girl - 6x11 - Raisin's Back - 720p HDTV
09:36:19 DEBUG::Thread-16 :: Notification for NMJ scan update not enabled, skipping this notification
09:36:19 INFO::Thread-16 :: Processing succeeded for /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg].mkv
09:36:19 INFO::Thread-16 :: Deleting folder: /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]
09:36:19 DEBUG::Thread-16 :: Deleted folder: /home/dusted/Projects/SickRage/Downloads/New.Girl.S06E11.720p.HDTV.x264-FLEET[rarbg]
09:36:19 INFO::Thread-16 :: Successfully processed
09:36:19 INFO::Thread-16 :: Manual post processing task for /home/dusted/Projects/SickRage/Downloads completed
That explains why it was hard to reproduce, since it only raised when there were files to delete but no files to allow.
@miigotu @sharkykh Sorry for the late anwser, but this is probably releated to the change I've implemented last week to make an option to delete the unwanted files. Do you want me to have a look at it?
Holy crap.
And btw, I don't think I ever touched that line of code.
@h3llrais3r I'm not pointing fingers, git history does! :stuck_out_tongue:
nbd, just glad I found it lol.
I saw the issue this morning and would have a look at it this evening, but you guys were faster 😄
Me too lol
It will move to master in a few days. It would be helpful if you guys remained on develop until then to be sure no other issues pop up.
@miigotu
I suspect its the same cause of the rar being deleted before they are processed. Files shouldnt be deleted until processing for that file is totally completed.
Generally speaking, let's say the extracted folder was processed successfully.
Do we _always_ delete the rar files?
Or only when _method is move_ - like all other files?
Because if I'm downloading a rar'd release, and I'm seeding the torrent -
I wouldn't want to delete it until I'm done seeding.
Should be only when it is move
Can confirm this now works for me - many thanks for all the effort guys - kudos
Branch: master
Commit: 66babc76d28646807c1040a3e225072b410489ad
Version: v2017.03.02-1
Database Version: 44.0
I've just noticed that d/l ed episodes Folders are not still not deleted for me.
After the ep is moved to the target the sample Video as well as nfo srr and sfv are kept with the folder.
Should the fix work out of the box or is there a Special Post-processing config i Need to do


Thx for the screenshots. Not working for me, my setup is different however:
Use nzbtomedia for postprocessing in sab. SR will never see the rar file this way.
I only want to move the ep and delete anything else so I keep the associated exts empty and the "move associated" tick unset. Given these settings the folder is kept with nfo srr sfv and a sample mkv
Reply to this email directly, view it on GitHub, or mute the thread.
Fill in the associated ext box and tick move ass. Â Doesn't really matter that you have another level of pp - sabnzbd does similar for me and once Sr does its thing just the episode is moved and everything else deleted - works beautifully
@udochrist And the Delete non associatated files option? And Dont delete empty folders?
@miigotu Thanks again for your comment. My current setup is as per screenshot attached earlier. I will check once the next ep gets processed if the folder gets deleted after processing. and the do another test.
and besides: Maybe the options on that configuration item are all a bit overwhelming to me. they look like a lot of bits and pieces moved from an old piece of software to handle some extremely specific situations. (just my opinion when i see "do" and "dont" options on the same config item)
This might be off-topic and more to start about the configuration as such (from a "Joe User" perspective that is)
1) Why would i have to flag "delete empty folders". What is the sense in keeping them opposed to keeping non-empty folders? as long as my wanted files (extensions) are moved i don't mind deleting even non-empty folders.
2) i think a field "keep associated files with extension" is all i need. All the rest will be deleted and forgotten. Why do i have to use a tick mark to enable it instead of simply filling the box.
3) What else than deleting files i don't want to keep should happen? For me the "delete non-associated" files field would suffice for all use-cases i can think of
all in all a simple text entry "move/keep associated files with extension" as a comma separated list should be sufficient to fully process and then delete the folder.
The only check that of course has to be done is:
has there any video file (possibly by known extension or how thats done right now) been processed into the target folder. this check simply reflects into a success or failure status triggering the deletion of the folder in the first place.
Because some people use a subfolder for more than one thing, And some people want the extra files left behind so they can check for things like subtitles or other files that dont normally match.
Just because YOUR use case would only require one setting does not mean that is one size fits all.
I have updated to the latest master build and I use nzbtomedia to postprocess using sickrage and have the same issue with folders not being removed.....it seemed to all start around the same time as this bug was reported and had previously worked correctly. I have double checked the settings described and they all seem to be correct.
We know, it is still being worked on in #3358
Most helpful comment
nbd, just glad I found it lol.