Page 1 of 1

error running script

Posted: 13 Sep 2012, 21:22
by vood
Hi,
I recently discovered filebot, and Im trying to use it with the deluge integration script (http://filebot.sourceforge.net/forums/v ... ?f=4&t=174).
Ive installed filebot portable on my dedicated server and when I run the script with :
java -jar FileBot.jar -script "/xx/deluge.groovy" "/home/downloads/" --output "/home/downloads/videos/" --action symlink --conflict override --def subtitles=true --def artwork=true

Im getting this error :

Code: Select all

MultipleCompilationErrorsException: startup failed:
Script3.groovy: 3: unexpected char: '#' @ line 3, column 1.
   # Customizable filebot and script options. Lines starting with # are disbled.
   ^

1 error

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script3.groovy: 3: unexpected char: '#' @ line 3, column 1.
   # Customizable filebot and script options. Lines starting with # are disbled.
   ^

1 error

        at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
        at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (°_°)
I really dont understand why its failing on # as its used for comments...
thanks for your help

Re: error running script

Posted: 14 Sep 2012, 01:09
by rednoah
So you're just trying to run that python script for deluge with filebots groovy script engine. That doesn't work. Read the instruction on how to use the deluge integration. Also run filebot with filebot.sh that is part of the portable package.

Re: error running script

Posted: 14 Sep 2012, 19:34
by vood
thanks for your answer, but I already read the so few instructions and I dont really understand what to do.
I edited and uploaded the file called "completed" on my server, and then which commands shall i enter in the execution plugin ?
I didnt upload the started.py file as Im not using growl notification.

Re: error running script

Posted: 15 Sep 2012, 13:23
by rednoah
I don't write the deluge wrapper nor do I use deluge. You could post on that deluge thread?

Here is how it works:
1. deluge calls that python script I assume
(don't know exactly how to set that up, i suppose you just add the path to the python script)

2. that python script just runs filebot -script ...
(as long as filebot is in the PATH it should work out-of-the-box)

Re: error running script

Posted: 16 Sep 2012, 20:36
by vood
thanks for your help, Im a noob but it helped me out to understand the way all this stuff works