Page 1 of 1

[BUG] Parsing Series

Posted: 16 Oct 2016, 18:00
by arckosfr
Hello, on some series EP i have this bug :

Code: Select all

xattr: [Lucifer.S01E01.FASTSUB.VOSTFR.720p.HDTV.x264-BoSs.mkv] => [null - 1x01 - null]
null
java.lang.NullPointerException
        at net.filebot.similarity.Normalization.normalizePunctuation(Normalization.java:39)
        at net.filebot.media.MediaDetection.lambda$getUniqueQuerySet$10(MediaDetection.java:950)
        at net.filebot.media.MediaDetection.addUniqueQuerySet(MediaDetection.java:968)
        at net.filebot.media.MediaDetection.getUniqueQuerySet(MediaDetection.java:951)
        at net.filebot.media.MediaDetection.detectSeriesNames(MediaDetection.java:346)
        at net.filebot.media.MediaDetection.detectSeriesNames(MediaDetection.java:329)
        at net.filebot.cli.ScriptShellBaseClass.detectSeriesName(ScriptShellBaseClass.java:219)
        at net.filebot.cli.ScriptShellBaseClass.detectSeriesName(ScriptShellBaseClass.java:207)
        at Script1$_run_closure69.doCall(Script1.groovy:287)
        at Script1.run(Script1.groovy:273)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
        at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:113)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:28)
        at net.filebot.Main.main(Main.java:124)
Failure (°_°)
i'm on 4.7.2
linux debian
i already test with --lang fr and en, nothing change

Can you help me ?

Re: [BUG] Parsing Series

Posted: 16 Oct 2016, 18:33
by rednoah
xattr looks strange. There shouldn't be any null values in xattr metadata. You can try clearing xattr via the xattr script.

Re: [BUG] Parsing Series

Posted: 16 Oct 2016, 19:04
by arckosfr

Code: Select all

lemark@box:~$ .filebot/filebot.sh -script fn:xattr --action clear
Done ヾ(@⌒ー⌒@)ノ
done with that ? nothing change (bug still appear)

the script i used

Code: Select all

filebot.sh -script fn:amc --lang en --output "/home/lemark/Media" --log-file "/home/lemark/.session/amc.log" --action symlink --log ALL --conflict override -non-strict --def music=y artwork=y path_to_the_file

Re: [BUG] Parsing Series

Posted: 16 Oct 2016, 19:32
by rednoah
This line shows that there are xattr with null values (no idea how you did that, but it looks like the files have been processed with filebot before in a strange way):

Code: Select all

xattr: [Lucifer.S01E01.FASTSUB.VOSTFR.720p.HDTV.x264-BoSs.mkv] => [null - 1x01 - null]
This error is caused by null values from the xattr data:

Code: Select all

null
java.lang.NullPointerException

This command does nothing. Which files do you want to clear xattr from? You need to pass in the files you wanna clear:

Code: Select all

lemark@box:~$ .filebot/filebot.sh -script fn:xattr --action clear
Done ヾ(@⌒ー⌒@)ノ
From the examples:

Code: Select all

filebot -script fn:xattr /path/to/files
@see viewtopic.php?t=5#p5394


If you clear xattr, then there will be no xattr, no xattr logging message, and that error will likely be gone as well. If there still is an error, it'll be a different one, for which I'll need to see the logs.