error running script

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
vood
Posts: 3
Joined: 13 Sep 2012, 21:15

error running script

Post 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
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: error running script

Post 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.
:idea: Please read the FAQ and How to Request Help.
vood
Posts: 3
Joined: 13 Sep 2012, 21:15

Re: error running script

Post 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.
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: error running script

Post 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)
:idea: Please read the FAQ and How to Request Help.
vood
Posts: 3
Joined: 13 Sep 2012, 21:15

Re: error running script

Post by vood »

thanks for your help, Im a noob but it helped me out to understand the way all this stuff works
Post Reply