get39678 wrote:fails to remove PasswordDetector temp file - temp\PasswordDetector\67 still exists on drive. I do not know if this will help but if FakeDetector is also active a temp\FakeDetector\67 file is also left behind
I've noticed this too, I've got a folder of undeleted "temp" files aswell since I've upgraded to r1094, I don't think that the queue/post processing scripts (FakeDetector and PasswordDetector) are being called in post processing when they should delete the "temp" files.
.... ok since I've typed the above out, I've upgraded to r1098, downloaded a nzb, I can confirm that it's removed the temp file for both scripts and I haven't touched the code. Maybe check in the log and look for if they have been used as a post process script like this:
Code: Select all
INFO Wed Aug 20 2014 0:50:13 Post-process-script PasswordDetector.py for TEST_NZB successful
DETAIL Wed Aug 20 2014 0:50:13 PasswordDetector: Removing temp file complete
INFO Wed Aug 20 2014 0:50:12 Executing post-process-script PasswordDetector.py for TEST_NZB
INFO Wed Aug 20 2014 0:50:12 Post-process-script FakeDetector.py for TEST_NZB successful
DETAIL Wed Aug 20 2014 0:50:12 FakeDetector: Detecting completed for TEST_NZB
DETAIL Wed Aug 20 2014 0:50:12 FakeDetector: Removing temp file complete
DETAIL Wed Aug 20 2014 0:50:10 FakeDetector: Detecting fake for TEST_NZB
INFO Wed Aug 20 2014 0:50:09 Executing post-process-script FakeDetector.py for TEST_NZB
get39678 wrote:
CODE: SELECT ALL
Wed Aug 20 12:52:22 2014 INFO Executing queue-script PasswordDetector.py for test2
Wed Aug 20 12:52:23 2014 DETAIL PasswordDetector: Detecting password for test2
Wed Aug 20 12:52:23 2014 DETAIL PasswordDetector: Created temp file /somewhere/temp/PasswordDetector/67
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: Traceback (most recent call last):
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: File "/somewhere/scripts/PasswordDetector.py", line 361, in <module>
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: main()
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: File "/somewhere/scripts/PasswordDetector.py", line 348, in main
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: if contains_password(Directory) is True:
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: File "/somewhere/scripts/PasswordDetector.py", line 166, in contains_password
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: files = get_latest_file(dir)
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: File "/somewhere/scripts/PasswordDetector.py", line 157, in get_latest_file
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: return os.listdir(dir)
Wed Aug 20 12:52:23 2014 INFO PasswordDetector: OSError: [Errno 2] No such file or directory: '/somewhere/incomplete/test2.#67'
Ok I got the same error here, I'll check it out. When I start a download, I can see the download folder in incomplete being created after that error, confirming that the folder doesn't exist.