Filebot CLI for AMC stopped working

Support for macOS users
Post Reply
mrpeanut
Posts: 5
Joined: 24 Feb 2015, 03:48

Filebot CLI for AMC stopped working

Post by mrpeanut »

My install on Mac El Capitan (10.11.5) has been working flawlessly for over a year.

I have the App Store Paid version installed in addition to the Cask version allowing me to run CLI. All of a sudden tonight I got an error running the same script that's been working forever.

filebot -script fn:amc --output "$HOME/Media" --log-file amc.log --action move -non-strict --conflict skip -non-strict "$HOME/Media/Torrented" --def "seriesFormat=$HOME/Media/Ripped-2/TV\ Shows/{n}/{'Season '+s.pad(2)}/{n} - {S00E00} - {t}" --def "movieFormat=$HOME/Media/Ripped-1/Movies/{n} [{y}]" --def clean=y --def subtitles=en
FileNotFoundException: https://raw.githubusercontent.com/fileb ... amc.groovy
java.io.FileNotFoundException: https://raw.githubusercontent.com/fileb ... amc.groovy
at net.filebot.web.WebRequest.fetch(WebRequest.java:123)
at net.filebot.web.WebRequest.fetchIfModified(WebRequest.java:101)
at net.filebot.web.CachedResource.fetchData(CachedResource.java:32)
at net.filebot.web.CachedResource.fetchData(CachedResource.java:11)
at net.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:137)
at net.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:82)
at net.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:206)
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 (°_°)
I then tried to delete and reinstall both the App store version and the Cask version.

Running the Cask Install command:

brew cask install filebot --force
==> Caveats
FileBot requires Java 8. Run "java -version" to verify.

==> Downloading http://downloads.sourceforge.net/projec ... app.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'filebot' with message: Download failed: http://downloads.sourceforge.net/projec ... app.tar.gz
...and
java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
Help Please!
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot CLI for AMC stopped working

Post by rednoah »

According to the logs you're using very outdated versions of both FileBot and Java.

Please follow the "Upgrade FileBot" instructions: viewtopic.php?f=4&t=2049
:idea: Please read the FAQ and How to Request Help.
mrpeanut
Posts: 5
Joined: 24 Feb 2015, 03:48

Re: Filebot CLI for AMC stopped working

Post by mrpeanut »

I *think* I've got the updated Java version installed, however when I check via the command line, I'm not sure.

From the browser "verify" window offered from Oracle, I get:
Congratulations!
You have the recommended Java installed (1.8.0_92).
However, from the command line:

java -version

I get:
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
...which doesn't' seem to match.

Then, when trying to re-install filebot:

brew cask install filebot --force

I still get:
==> Caveats
FileBot requires Java 8. Run "java -version" to verify.

==> Downloading http://downloads.sourceforge.net/projec ... ot/FileBot

curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'filebot' with message: Download failed: http://downloads.sourceforge.net/projec ... app.tar.gz
mrpeanut
Posts: 5
Joined: 24 Feb 2015, 03:48

Re: Filebot CLI for AMC stopped working

Post by mrpeanut »

Ok, so I had to update then upgrade brew, then clean some stuff up (removing old cask installs, etc), then re-install java and reinstall filebot...

It's installed. I'll be back if it doesn't work for some reason!

Thanks for the support!
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot CLI for AMC stopped working

Post by rednoah »

rednoah wrote:If you want to upgrade filebot you can run:

Code: Select all

brew update && brew upgrade && brew cask install filebot --force
brew update will update the local package index. brew can't know about newer versions of anything unless the package index is updated first.
:idea: Please read the FAQ and How to Request Help.
Post Reply