Automation broke after brew update
Posted: 11 Jan 2019, 13:02
I ran a the other day to update some of my packages, and something that updated caused my Filebot automation to break.
I'm running a postprocess.sh script from Transmission:
That's been working for ages, as is.
Once I noticed it failing, I ran it by hand on a file I'd just downloaded, as:
My amc.log error is:
When I try to run , I get the same error.
I thought it might be because the brew update got me Java 11 (which it did), so I uninstalled that and am back on what I think is Java 8:
If I try to install java10:
However, when I try to reinstall java10:
I also tried redownloading the .pkg of the Filebot CLI, which didn't seem to fix the issue (though I didn't expect it to, given this seems to be a java issue).
Any help is greatly appreciated.
Code: Select all
brew update
I'm running a postprocess.sh script from Transmission:
Code: Select all
/usr/local/bin/filebot -script fn:amc --output "$CONFIG_OUTPUT" --action move --conflict skip -non-strict --log-file amc.log --def clean=y unsorted=y music=y artwork=n excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"
Once I noticed it failing, I ran it by hand on a file I'd just downloaded, as:
Code: Select all
filebot -script fn:amc --output "/" --action move --conflict skip -non-strict --log-file amc.log --def clean=y unsorted=y music=y artwork=n excludeList=".excludes" ut_dir="/" ut_kind="multi" ut_title="Vikings"
Code: Select all
Alfred$ filebot -script fn:amc --output "/" --action move --conflict skip -non-strict --log-file amc.log --def clean=y unsorted=y music=y artwork=n excludeList=".excludes" ut_dir="/" ut_kind="multi" ut_title="Viking Games"
Locking /Users/Alfred/.filebot/logs/amc.log
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null
BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:154)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
at net.filebot.Main.main(Main.java:131)
Caused by: java.lang.UnsupportedOperationException
at groovyjarjarasm.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:651)
at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:391)
... 5 more
Failure (°_°)
Code: Select all
filebot -script fn:sysinfo
I thought it might be because the brew update got me Java 11 (which it did), so I uninstalled that and am back on what I think is Java 8:
Code: Select all
Alfred$ java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Code: Select all
Alfred$ brew cask install java10
Warning: Cask 'java10' is already installed.
To re-install java10, run:
brew cask reinstall java10
Code: Select all
Alfred$ brew cask reinstall java10
==> Caveats
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361
If your Java application still asks for JRE installation, you might need
to reboot or logout/login.
Installing java10 means you have AGREED to the license at
https://www.oracle.com/technetwork/java/javase/terms/license/index.html
==> Satisfying dependencies
==> Downloading http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_osx-x64_bin.
==> Downloading from https://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_osx-x6
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'java10' with message: Download failed: http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_osx-x64_bin.dmg
Any help is greatly appreciated.