Page 1 of 1

ExcludeList amc.txt gets deleted

Posted: 05 Dec 2016, 20:50
by pax0707
Starting yesterday I've noticed filebot copying old episodes again.
Soon I've noticed that exclude list file gets deleted and ofc after that filebot starts to copy everything from download folder to my watch folder again bat files already there.

Code: Select all

FileBot 4.7.5 (r4634)
JNA Native: 4.0.1
MediaInfo: 0.7.78
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2016-11-26 (r465)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 2 Core / 910 MB Max Memory / 18 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
Data: C:\Users\pax07\AppData\Roaming\FileBot
Done ?(?????)?
Log:
http://pastebin.com/vE5BwG6f

Re: ExcludeList amc.txt gets deleted

Posted: 06 Dec 2016, 08:47
by pax0707
It's happening again.
From my mail notification at 7:52 AM, 7:32 AM, 5:53 AM, 2:11 AM.



http://pastebin.com/YMfx5KkW

Re: ExcludeList amc.txt gets deleted

Posted: 06 Dec 2016, 09:01
by rednoah
It says there's an exclude list with 32 entries:

Code: Select all

Use excludes: D:\Done\SERIJE\amc.txt (32)
Shouldn't it be 0 if it was deleted? Is supposed to be a huge exclude list with 1234 entries? I see no errors in the logs and exclude list increases from 32 to 34 entries after processing a few files.

Re: ExcludeList amc.txt gets deleted

Posted: 06 Dec 2016, 09:11
by pax0707
Check line:
96: Use excludes: D:\Done\SERIJE\amc.txt
370: Use excludes: D:\Done\SERIJE\amc.txt
664: Use excludes: D:\Done\SERIJE\amc.txt
970, 1308, then it's ok till line 1746.

From what I've observed amx.txt randomly get's deleted.

I have no idea what's happening. It' was working fine for months and just started happening over night.
It's very frustrating.

Re: ExcludeList amc.txt gets deleted

Posted: 06 Dec 2016, 13:53
by rednoah
What's the filebot command you're executing?

Re: ExcludeList amc.txt gets deleted

Posted: 06 Dec 2016, 14:12
by pax0707

Code: Select all

filebot.launcher -script fn:amc "D:/Done/BTN" --output "D:/Done/SERIJE" --log-file "D:/Filebot/btn.log" --action copy --conflict auto -non-strict --def "seriesFormat=D:/Done/SERIJE/{n} - {s00e00} - {t}" --def "animeFormat=D:/Done/ANIME/{n} - {s00e00} - {t}" --def excludeList=amc.txt --def unsorted=y --def myepisodes=xxxx:xxxx --def plex=localhost:xxxxx --def gmail=xxxxx:xxxxx --def reportError=y --def [email protected]

Re: ExcludeList amc.txt gets deleted

Posted: 06 Dec 2016, 17:26
by rednoah
I have no idea. According to the logs, the exclude list file just wasn't there anymore when filebot was called.

I recommend setting an absolute path to an exclude list file somewhere that you know for sure isn't being touched by filebot or any other tool you may have forgotten about.

I'd start by checking if the exclude list exists before/after running filebot. If the file disappears before/after filebot is called, then you know that another tool is the culprit.


EDIT:

This log indicates that the exclude list file was removed while filebot was running:

Code: Select all

Use excludes: D:\Done\SERIJE\amc.txt
Ignore hidden: D:\Done\BTN\desktop.ini
D:\Done\SERIJE\amc.txt
java.nio.file.NoSuchFileException: D:\Done\SERIJE\amc.txt
    at net.filebot.util.FileSet.append(FileSet.java:171)
    at Script1.run(Script1.groovy:298)
    at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
    at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
    at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:113)
    at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:30)
    at net.filebot.Main.main(Main.java:120)
The "Use excludes" will create a new file and fail if it can't. But then just a bit later it fails because the file that should exist doesn't.

There's something running on your system that's periodically deleting the exclude list file.