Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does not seem to fetch the file from here? #8

Closed
nicolasmertens opened this issue Jul 20, 2014 · 2 comments
Closed

It does not seem to fetch the file from here? #8

nicolasmertens opened this issue Jul 20, 2014 · 2 comments

Comments

@nicolasmertens
Copy link

Check:

FileNotFoundException: https://raw.githubusercontent.com/filebot/scripts/master/amc.groovy
java.io.FileNotFoundException: https://raw.githubusercontent.com/filebot/scripts/master/amc.groovy
at net.sourceforge.filebot.web.WebRequest.fetch(WebRequest.java:140)
at net.sourceforge.filebot.web.WebRequest.fetchIfModified(WebRequest.java:118)
at net.sourceforge.filebot.web.CachedResource.fetchData(CachedResource.java:32)
at net.sourceforge.filebot.web.CachedResource.fetchData(CachedResource.java:11)
at net.sourceforge.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:133)
at net.sourceforge.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:78)
at net.sourceforge.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:236)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:84)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:123)
at net.sourceforge.filebot.Main.main(Main.java:192)

@rednoah
Copy link
Member

rednoah commented Jul 20, 2014

Please update your FileBot

@rednoah rednoah closed this as completed Jul 20, 2014
@ctroncoso
Copy link

Caution:
If using ubuntu 14.04, there is no Java 8 available. FileBot 4.5 won't run on 7.
Stick with 4.2 while openjdk-8 becomes available on the repositories.
You'll need to run the scripts locally.
Copy amc.groovy to a local directory (i.e. ~/.filebot/scripts) along with the 3 files in the lib folder.

.filebot/scripts/amc.groovy
.filebot/scripts/lib
.filebot/scripts/lib/web.groovy
.filebot/scripts/lib/htpc.groovy
.filebot/scripts/lib/ant.groovy

Execute AMC as filebot -script /full/path/to/script/amc.groovy .....

Notice it's -script FILE not -script fn:

To go back to 4.2, download the deb needed from http://sourceforge.net/projects/filebot/files/filebot/
Then run sudo dpkg --force-depends -i filebot_4.2_*.deb.

Make sure you got Java 7installed or run sudo apt-get --assume-yes install openjdk-7-jre

Cheers!

Note: check the ownership of the directories inside ~/.filebot/ after installing. If they are set to root:root chmod them to the user who runs the script (you?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants