OS X CLI with Filebot from cask
OS X CLI with Filebot from cask
Hi all,
I have install FB with cask but i don t understand how to run amc script.
which file i have to run in terminal?
Thanks
I have install FB with cask but i don t understand how to run amc script.
which file i have to run in terminal?
Thanks
Re: OS X CLI with Filebot from cask
e.g. running the sysinfo script:
Code: Select all
filebot -script fn:sysinfo
Re: OS X CLI with Filebot from cask
rednoah wrote:e.g. running the sysinfo script:Code: Select all
filebot -script fn:sysinfo
Code: Select all
iMac:~ Andrea$ filebot -script fn:sysinfo
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main : Unsupported major.minor version 52.0
Re: OS X CLI with Filebot from cask
You either didn't do brew cask install java or something didn't work. Just install the latest Java 8 yourself.FAQ wrote:Q: When I try to start filebot it crashes immediately with an UnsupportedClassVersionError. What does that mean?
If you get an error like Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main : Unsupported major.minor version 52.0 it means that you're running Java 6 or 7 but Java 8 is required for running FileBot.
Re: OS X CLI with Filebot from cask
java updated to 8 update 73 but i have the same error also the reboot
Re: OS X CLI with Filebot from cask
What does java -version say?
Re: OS X CLI with Filebot from cask
Last login: Sat Feb 6 23:06:53 on ttys000rednoah wrote:What does java -version say?
iMac:~ Andrea$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)
iMac:~ Andrea$
Re: OS X CLI with Filebot from cask
Are you sure that you have correctly installed the jdk-8u74-macosx-x64.dmg package and restarted your computer?
You are using Java 6:
You should be using Java 8:
This thread might help:
http://stackoverflow.com/questions/2196 ... on-on-os-x
You are using Java 6:
Code: Select all
java version "1.6.0_65"
Code: Select all
java version "1.8.0_74"
http://stackoverflow.com/questions/2196 ... on-on-os-x
Re: OS X CLI with Filebot from cask
solved thanks
from this result i see an available update. How can i do that with cask ?
Code: Select all
iMac:~ Andrea$ filebot -script fn:sysinfo
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.73
7-Zip-JBinding: OK
Chromaprint: fpcalc version 1.1.0 (/opt/homebrew-cask/Caskroom/filebot/4.6/FileBot.app/Contents/MacOS/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.8.0_45
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 207 MB Used Memory
OS: Mac OS X (x86_64)
Package: APP
Data: /Users/Andrea/.filebot
uname: Darwin iMac.local 15.4.0 Darwin Kernel Version 15.4.0: Mon Jan 18 21:24:21 PST 2016; root:xnu-3248.40.166.0.1~6/RELEASE_X86_64 x86_64
--- UPDATE AVAILABLE: FileBot 4.6.1 (r3312) ---
Done ヾ(@⌒ー⌒@)ノ
Re: OS X CLI with Filebot from cask
It seems you have used brew cask before, but some time ago, so you might need to run brew update:brew wrote:If you want to upgrade filebot you can run:Code: Select all
brew update && brew cask install filebot
https://github.com/caskroom/homebrew-ca ... new-system
Re: OS X CLI with Filebot from cask
rednoah wrote:It seems you have used brew cask before, but some time ago, so you might need to run brew update:brew wrote:If you want to upgrade filebot you can run:Code: Select all
brew update && brew cask install filebot
https://github.com/caskroom/homebrew-ca ... new-system
i have this error ?
Last login: Sun Feb 7 13:00:47 on ttys001
iMac:~ Andrea$ brew update && brew cask install filebot
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: Failure while executing: git checkout -q master
Re: OS X CLI with Filebot from cask
Google says your xcode tools aren't set up properly:
@see http://stackoverflow.com/a/33012317/1514467
Code: Select all
sudo xcode-select --install
Re: OS X CLI with Filebot from cask
rednoah wrote:Google says your xcode tools aren't set up properly:@see http://stackoverflow.com/a/33012317/1514467Code: Select all
sudo xcode-select --install
solved thanks