Page 1 of 1

AMC Script dev branch - ERROR

Posted: 21 Apr 2015, 04:49
by mrbucket101
I switched over to the dev branch of Filebot AMC a while back, you can read about that here. http://www.filebot.net/forums/viewtopic.php?f=8&t=2486

Just today I started getting errors when using the dev branch of the script. I have since switched back to the public version of the script and I do not have any issues.

But I thought I would post my error log in case you had made any changes to the dev script and would like some output.

Code: Select all

Parameter: ut_dir = /home/hollanbm/Downloads/TV/****
Parameter: ut_kind = multi
Parameter: ut_title = ****
Parameter: ut_label = TV
Parameter: music = n
Parameter: clean = y
Parameter: subtitles = en
Parameter: pushbullet = *****
Parameter: pushover = *****
Parameter: excludeList = /home/hollanbm/.filebot/amc_exclude.txt
Parameter: mail = *****
Parameter: mailto = *****
Parameter: reportError = y
Parameter: musicFormat = Music/{n}/{album+'/'}{pi.pad(2)+' - '}{artist} - {t}
Parameter: seriesFormat = TV/{n}/{episode.special ? 'Season 00' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/)}{'.'+lang}

Code: Select all

MultipleCompilationErrorsException: startup failed:
Script1.groovy: 133: unable to resolve class FileSet 
 @ line 133, column 22.
   def excludePathSet = new FileSet()
                        ^

1 error

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 133: unable to resolve class FileSet 
 @ line 133, column 22.
   def excludePathSet = new FileSet()
                        ^

1 error

	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:112)
	at net.filebot.Main.main(Main.java:169)
Failure (°_°)
MultipleCompilationErrorsException: startup failed:
Script1.groovy: 133: unable to resolve class FileSet 
 @ line 133, column 22.
   def excludePathSet = new FileSet()
                        ^

1 error

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 133: unable to resolve class FileSet 
 @ line 133, column 22.
   def excludePathSet = new FileSet()
                        ^

1 error

	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:112)
	at net.filebot.Main.main(Main.java:169)
Failure (°_°)

Re: AMC Script dev branch - ERROR

Posted: 21 Apr 2015, 06:28
by rednoah
Currently, you'll need r2892 or higher (e.g. 4.5.7_B2) if you wanna run the devel branch.

@download https://sourceforge.net/projects/filebo ... ebot/HEAD/

PS: Thanks for using and reporting on issues in the dev branch. :ugeek:

Re: AMC Script dev branch - ERROR

Posted: 22 Apr 2015, 04:53
by mrbucket101
rednoah wrote:Currently, you'll need r2892 or higher (e.g. 4.5.7_B2) if you wanna run the devel branch.

@download https://sourceforge.net/projects/filebo ... ebot/HEAD/

PS: Thanks for using and reporting on issues in the dev branch. :ugeek:

Thanks for the heads up

Just installed Filebot_4.5.7B2


For future reference, other than checking every so often, is there a way for us headless users to upgrade filebot automatically?

Like maybe a groovy script possibly? filebot -script fn:upgrade

It would require root access of course, but I could schedule that in my root crontab and not have any issues.

Re: AMC Script dev branch - ERROR

Posted: 22 Apr 2015, 08:31
by rednoah
Just use the portable package. It'll also include update-filebot.sh which is a very simple shell script that'll grab the latest jar from HEAD.

As you can see from update-filebot.sh the latest jar is always available here:
http://sourceforge.net/projects/filebot ... ileBot.jar

update-filebot.sh only updates the jar, not filebot.sh startup script, but that changes very rarely so it's not a major issue.

On my NAS I do this for testing:

Code: Select all

/volume1/app/filebot/update-filebot
/volume1/app/filebot/filebot -script dev:amc ...

Re: AMC Script dev branch - ERROR

Posted: 07 Jun 2015, 21:53
by davidfm52
Hi @rednoah,

I am forking the dev branch for scripts to start some customizations. I needed to upgrade Filebot to the revision you mentioned, and it worked fine in my Debian machine.

How about the ARM version? I checked the several packages in 4.6 folder and I don't the one with _arm_ in it, is it _noarch now? the only .ipk there...

I am afraid I cannot use update-filebot as it will grab the portable version, not the optimized one for ARM right?

Thank you! I hope to contribute back some stuff soon!

Re: AMC Script dev branch - ERROR

Posted: 07 Jun 2015, 22:24
by rednoah
noarch means it'll work on all architectures, same as the portable, because FileBot.jar is identical on all platforms.