Error using suball and maxdayage

Any questions? Need some help?
Post Reply
f3bruary
Posts: 35
Joined: 16 May 2014, 11:33

Error using suball and maxdayage

Post by f3bruary »

Hey rednoah,

So I've been working on that script and using the following command now:

thegibson> filebot -script fn:suball --def maxAgeDays=20 --lang nl --output srt /volume1/video/series

and it works fine, there's just this weird issue that happen when I scan the movies dir instead:


thegibson> filebot -script fn:suball --def maxAgeDays=20 --lang nl --output srt /volume1/video/movies
NullPointerException: java.lang.NullPointerException
java.lang.NullPointerException
at net.filebot.cli.ScriptShellMethods$1.preVisitDirectory(ScriptShellMethods.java:166)
at net.filebot.cli.ScriptShellMethods$1.preVisitDirectory(ScriptShellMethods.java:160)
at net.filebot.cli.ScriptShellMethods.getMediaFolders(ScriptShellMethods.java:160)
at net.filebot.cli.ScriptShellMethods.eachMediaFolder(ScriptShellMethods.java:181)
at Script1.run(Script1.groovy:38)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:60)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:81)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:108)
at net.filebot.Main.main(Main.java:192)
Failure (°_°)

exact same command, just a different folder.
uname -a: Linux thegibson 2.6.32.12 #4458 Thu Apr 3 10:33:17 CST 2014 armv5tel GNU/Linux synology_88f6282_112+
User avatar
rednoah
The Source
Posts: 23934
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error using suball and maxdayage

Post by rednoah »

I'd guess it's a permissions issue.

EDIT: Fixed with r2268.
:idea: Please read the FAQ and How to Request Help.
f3bruary
Posts: 35
Joined: 16 May 2014, 11:33

Re: Error using suball and maxdayage

Post by f3bruary »

it works fine with:

filebot -get-missing-subtitles --lang nl --output srt -r /volume1/video/movies

it's just the -script fn:suball --def maxAgeDays=20 that makes it crash
f3bruary
Posts: 35
Joined: 16 May 2014, 11:33

Re: Error using suball and maxdayage

Post by f3bruary »

rednoah wrote:I'd guess it's a permissions issue.

EDIT: Fixed with r2268.
I see you fixed it, what was the issue ?
User avatar
rednoah
The Source
Posts: 23934
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error using suball and maxdayage

Post by rednoah »

Still a permission issue. Somewhere you got a folder where the java process doesn't have permission to list files. Instead of crashing it will no ignore these folders.
:idea: Please read the FAQ and How to Request Help.
f3bruary
Posts: 35
Joined: 16 May 2014, 11:33

Re: Error using suball and maxdayage

Post by f3bruary »

hmm I see. You have any idea how I can find out which folder(s) or file(s) causes this ? I tried running filebot as root with the same result.
Post Reply