Failed to load excludeList: ... Illegal char <:>

Any questions? Need some help?
Post Reply
swiftwitchy
Posts: 5
Joined: 26 Jan 2016, 02:43

Failed to load excludeList: ... Illegal char <:>

Post by swiftwitchy »

Hello !


Firstly, I love filebot and everything Rednoah does for all of us...
I just started having a strange problem out of nowhere and I am now getting continuous failures.


Details:
  • - I have not updated any software (Filebot 4.6.1, Java x64 8.72, qBitorrent 3.3.1) or made any changes to config, script or anything when this started failing.
    - The first time it failed, filebot log shows: "No files selected for processing"
    - For every subsequent failure, The filebot Log now shows "Failed to load excludeList: java.nio.file.InvalidPathException: Illegal char <:> at index 2: E:\INPUT\The.XFiles.S10E01.720p.HDTV.x264-AVS\the.xfiles.s10e01.720p.hdtv.x264-avs.rar" for every file it tries to process. (This entry the first listing in my large AMC.txt exclude list file. It has always been there. All entries contain the <:> character).
FileBot 4.6.1 (r3315)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.5
JRE: Java(TM) SE Runtime Environment 1.8.0_77 (Just updated from _72 now when posting this)
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 22 MB Used Memory
OS: Windows 7 (amd64)
Package: MSI
Data: C:\Users\nsadmin\AppData\Roaming\FileBot
Troubleshooting:
  • - I used a version of my script which does not use qBittorent Variables, and the same issue is still occurring.
    - When I renamed my original and used a new blank AMC.txt file, it would work for the first but then as I was expecting start giving the same error for the next time filebot is called to process data and open the exclude list (AMC.txt) file (This is obviously because the last time it ran, it added an Entry to the AMC File which contains the <:> character ...)
    -Tried updating Java
I have included the Script and the valuable part of the Filebot Log Below.
Anyone know why Filebot / java suddenly rejecting loading of the exclude list (amc.txt) simply because it has a semi-colon?


FILEBOT SCRIPT:

Code: Select all

filebot -script fn:amc --output "G:/PLEX AUTO" --action copy -non-strict --conflict auto --def unsorted=y --def clean=y --def plex=127.0.0.1:<MYPLEXKEY>"ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L" --log-file amc.log --def excludeList=amc.txt 
FILEBOT LOG: - partial
Run script [fn:amc] at [Fri Apr 01 20:38:16 EDT 2016]
Parameter: unsorted = y
Parameter: clean = y
Parameter: plex = 127.0.0.1:<MYPLEXKEY>
Parameter: ut_dir = E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS
Parameter: ut_kind = multi
Parameter: ut_title = Archer.2009.S07E01.720p.HDTV.x264-AVS
Parameter: ut_label =
Parameter: excludeList = amc.txt
Using excludes: G:\PLEX AUTO\amc.txt (6402)
Read archive [archer.2009.s07e01.720p.hdtv.x264-avs.rar] and extract to [E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs\Archer.2009.S07E01.720p.HDTV.x264-AVS]
Extracting files [E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs\Archer.2009.S07E01.720p.HDTV.x264-AVS\Archer.2009.S07E01.720p.HDTV.x264-AVS.mkv]
Input: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs\Archer.2009.S07E01.720p.HDTV.x264-AVS\Archer.2009.S07E01.720p.HDTV.x264-AVS.mkv
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.nfo
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r00
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r01
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r02
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r03
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r04
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r05
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r06
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r07
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.r08
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.sfv
Exclude: E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\Sample\sample-archer.2009.s07e01.720p.hdtv.x264-avs.mkv
Group: [tvs:archer 2009] => [Archer.2009.S07E01.720p.HDTV.x264-AVS.mkv]
Apr 01, 2016 8:38:20 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Rename episodes using [TheTVDB]
Auto-detected query: [Archer 2009]
Fetching episode data for [Archer (2009)]
[COPY] Rename [E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs\Archer.2009.S07E01.720p.HDTV.x264-AVS\Archer.2009.S07E01.720p.HDTV.x264-AVS.mkv] to [G:\PLEX AUTO\TV Shows\Archer (2009)\Season 07\Archer (2009) - S07E01 - The Figgis Agency.mkv]
Processed 1 files
Notify Plex: 127.0.0.1
GET: http://127.0.0.1:32400/library/sections ... <MYPLEXKEY>
Clean temporary extracted files
Delete E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs\Archer.2009.S07E01.720p.HDTV.x264-AVS\Archer.2009.S07E01.720p.HDTV.x264-AVS.mkv
Delete E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs
Done ヾ(@⌒ー⌒@)ノ

Run script [fn:amc] at [Fri Apr 01 22:09:58 EDT 2016]
Parameter: unsorted = y
Parameter: clean = y
Parameter: plex = 127.0.0.1:<MYPLEXKEY>
Parameter: ut_dir = E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS
Parameter: ut_kind = multi
Parameter: ut_title = Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS
Parameter: ut_label =
Parameter: excludeList = amc.txt
Using excludes: G:\PLEX AUTO\amc.txt (6416)
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E01.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E02.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E03.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E04.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E05.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E06.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E07.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E08.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E09.720p.WEBRip.x264.AAC-FooKaS.mkv
Exclude: E:\Torrent Content\Trailer.Park.Boys.2016.S10.720p.WEBRip.x264.AAC-FooKaS\Trailer.Park.Boys.2016.S10.E10.720p.WEBRip.x264.AAC-FooKaS.mkv
No files selected for processing
Failure (°_°)

Run script [fn:amc] at [Fri Apr 01 22:24:38 EDT 2016]
Parameter: unsorted = y
Parameter: clean = y
Parameter: plex = 127.0.0.1:<MYPLEXKEY>
Parameter: ut_dir = E:\Torrent Content\Batman.v.Superman-Dawn of Justice.2016.720P.HDTS.x264.AC3.HQ.Hive-CM8
Parameter: ut_kind = multi
Parameter: ut_title = Batman.v.Superman-Dawn of Justice.2016.720P.HDTS.x264.AC3.HQ.Hive-CM8
Parameter: ut_label =
Parameter: excludeList = amc.txt
Failed to load excludeList: java.nio.file.InvalidPathException: Illegal char <:> at index 2: E:\INPUT\The.XFiles.S10E01.720p.HDTV.x264-AVS\the.xfiles.s10e01.720p.hdtv.x264-avs.rar
Failure (°_°)
Exclude List (amc.txt): - partial

- The latest entries in my Original exclude list amc.txt file Log are:
E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs\Archer.2009.S07E01.720p.HDTV.x264-AVS\Archer.2009.S07E01.720p.HDTV.x264-AVS.mkv
E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\archer.2009.s07e01.720p.hdtv.x264-avs.sfv
E:\Torrent Content\Archer.2009.S07E01.720p.HDTV.x264-AVS\Sample\sample-archer.2009.s07e01.720p.hdtv.x264-avs.mkv
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to load excludeList: ... Illegal char <:>

Post by rednoah »

You've opened the file with a bad text editor (probably made by Microsoft) that a automatically added a BOM (invisible control character marking the file as UTF-8 file) on save.

Use proper text editors like Sublime or Notepad++ which don't break UTF-8 plain/text files.

@see https://en.wikipedia.org/wiki/Byte_order_mark
:idea: Please read the FAQ and How to Request Help.
swiftwitchy
Posts: 5
Joined: 26 Jan 2016, 02:43

Re: Failed to load excludeList: ... Illegal char <:>

Post by swiftwitchy »

Yes, creating a new file with notepad++ did indeed fix the problem for me.
I will remind myself never to use Microsoft Note Pad.
Post Reply