[SOLVED] Ubuntu/Deluge:Script3.groovy: 1: unexpected token
Posted: 27 Mar 2014, 14:13
Hello,
I'm using FileBot on Ubuntu 12.04 for a while now, where Deluge starts a script after finalising any torrent download.
Suddenly, this simple script seems to return an error, for no obvious reason.
Error in amc.log:
any idea what could have changed to produce this behaviour?
thanks!
Doogie
I'm using FileBot on Ubuntu 12.04 for a while now, where Deluge starts a script after finalising any torrent download.
Suddenly, this simple script seems to return an error, for no obvious reason.
Code: Select all
#!/bin/bash
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
filebot -script fn:amc --output "$HOME/Videos" --log-file amc.log --action copy --conflict override -non-strict --def artwork=y "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME"
Error in amc.log:
Code: Select all
MultipleCompilationErrorsException: startup failed:
Script3.groovy: 1: unexpected token: < @ line 1, column 1.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
1 error
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script3.groovy: 1: unexpected token: < @ line 1, column 1.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
1 error
at net.sourceforge.filebot.cli.ScriptShell.evaluate(ScriptShell.java:102)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:95)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:125)
at net.sourceforge.filebot.Main.main(Main.java:190)
Failure (°_°)
thanks!
Doogie