Page 1 of 1

Illegal Char <:> Since Updating

Posted: 26 Sep 2015, 02:02
by atkinson137
Been using FileBot for about a year now, best thing ever. Really. Awesome work.

But now on to the problem. Ive been getting this error ever since updating last night:

Code: Select all

Run script [fn:amc] at [Sat Sep 26 09:51:21 PDT 2015]
Parameter: seriesFormat = D:/Library/Cinema/Television Shows/{n}/{'Season '+s.pad(2)}/{n} {s00e00} - {t}{'.'+lang}
Parameter: movieFormat = D:/Library/Cinema/Movies/{collection+'/'}{n}/{n} ({y}){' Part '+pi}{'.'+lang}
Parameter: excludeList = amc.txt
Parameter: subtitles = en
Parameter: pushover = *****
Parameter: plex = localhost
Argument: D:\Downloads\Completed
InvalidPathException: Illegal char <:> at index 2: D:\Downloads\Completed\San Andreas (2015)\San.Andreas.2015.720p.BluRay.x264.YIFY.mp4
java.nio.file.InvalidPathException: Illegal char <:> at index 2: D:\Downloads\Completed\San Andreas (2015)\San.Andreas.2015.720p.BluRay.x264.YIFY.mp4
	at net.filebot.util.FileSet.getPath(FileSet.java:84)
	at net.filebot.util.FileSet.add(FileSet.java:44)
	at net.filebot.util.FileSet.lambda$feed$49(FileSet.java:48)
	at net.filebot.util.FileSet.feed(FileSet.java:48)
	at net.filebot.util.FileSet$feed.call(Unknown Source)
	at Script1.run(Script1.groovy:139)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
	at net.filebot.Main.main(Main.java:168)
Failure (°_°)
The only solution is to delete my entire exclude file, otherwise FileBot fails. I have changed nothing since updating, I've been using the same script for months now. Here is my CLI:

Code: Select all

filebot -script fn:amc --output "D:/Library/FileBot/" --log-file amc.log --action copy -non-strict "D:\Downloads\Completed" -r --conflict skip --def "seriesFormat=D:/Library/Cinema/Television Shows/{n}/{'Season '+s.pad(2)}/{n} {s00e00} - {t}{'.'+lang}" "movieFormat=D:/Library/Cinema/Movies/{collection+'/'}{n}/{n} ({y}){' Part '+pi}{'.'+lang}" "excludeList=amc.txt" "subtitles=en" "pushover=***" "plex=localhost"
It appears that the excludes are causing FB to throw the invalid char exception. Is there a fix for this? Or am I doing it wrong?

Edit: Here is a sucessful run: (I removed all from my excludes for this)

Code: Select all

Run script [fn:amc] at [Sat Sep 26 10:12:30 PDT 2015]
Parameter: seriesFormat = D:/Library/Cinema/Television Shows/{n}/{'Season '+s.pad(2)}/{n} {s00e00} - {t}{'.'+lang}
Parameter: movieFormat = D:/Library/Cinema/Movies/{collection+'/'}{n}/{n} ({y}){' Part '+pi}{'.'+lang}
Parameter: excludeList = amc.txt
Parameter: subtitles = en
Parameter: pushover = *****
Parameter: plex = localhost
Argument: D:\Downloads\Completed
Using excludes: D:\Library\FileBot\amc.txt (1)
Input: D:\Downloads\Completed\San Andreas (2015)\San.Andreas.2015.720p.BluRay.x264.YIFY.mp4
Input: D:\Downloads\Completed\Tomorrowland (2015)\Tomorrowland.2015.720p.BluRay.x264.YIFY.mp4
Exclude: D:\Downloads\Completed\San Andreas (2015)\WWW.YTS.TO.jpg
Exclude: D:\Downloads\Completed\Tomorrowland (2015)\WWW.YTS.TO.jpg
San.Andreas.2015.720p.BluRay.x264.YIFY.mp4 [series: null, movie: San Andreas (2015)]
Tomorrowland.2015.720p.BluRay.x264.YIFY.mp4 [series: null, movie: Tomorrowland (2015)]
Group: [tvs:null, mov:san andreas 2015, anime:null] => [San.Andreas.2015.720p.BluRay.x264.YIFY.mp4]
Group: [tvs:null, mov:tomorrowland 2015, anime:null] => [Tomorrowland.2015.720p.BluRay.x264.YIFY.mp4]
Get [English] subtitles for 1 files
Sep 26, 2015 10:12:35 AM 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.
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
Rename movies using [TheMovieDB]
Auto-detect movie from context: [D:\Downloads\Completed\San Andreas (2015)\San.Andreas.2015.720p.BluRay.x264.YIFY.mp4]
Skipped [D:\Downloads\Completed\San Andreas (2015)\San.Andreas.2015.720p.BluRay.x264.YIFY.mp4] because [D:\Library\Cinema\Movies\San Andreas\San Andreas (2015).mp4] already exists
Processed 1 files
Get [English] subtitles for 1 files
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
Rename movies using [TheMovieDB]
Auto-detect movie from context: [D:\Downloads\Completed\Tomorrowland (2015)\Tomorrowland.2015.720p.BluRay.x264.YIFY.mp4]
[COPY] Rename [D:\Downloads\Completed\Tomorrowland (2015)\Tomorrowland.2015.720p.BluRay.x264.YIFY.mp4] to [D:\Library\Cinema\Movies\Tomorrowland\Tomorrowland (2015).mp4]
Processed 1 files
Notify Plex: localhost
GET: https://localhost:32400/library/sections/all/refresh
SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching localhost found.
Sending Pushover notification
Done ヾ(@⌒ー⌒@)ノ
Note, I fixed my OpenSubs problem

Re: Illegal Char <:> Since Updating

Posted: 26 Sep 2015, 08:58
by rednoah
1.
So once you delete the exclude lists it works? And after it works and creates a new exclude list with paths like D:\Downloads\... it still works? Or does it fail every time if there's a normal absolute windows path?

2.
Make sure you've updated to the latest Java 8u60 runtime.

EDIT:

Did you open the exclude list with Windows Text Editor? You've corrupted the file, since Windows Tools add magic invisible characters (BOM) at the beginning of plain text files.

Do yourself a favour and another notepad => https://notepad-plus-plus.org/

Re: Illegal Char <:> Since Updating

Posted: 26 Sep 2015, 22:34
by atkinson137
1) works if nothing is in the exclude list or it does not exist.
2) Java is updated.

I have been using regular notepad (I do have n++). Ill try n++ to see if that works now.


EDIT: It was notepad causing the problem. Thanks for the help.