Help Finding Log Files on Mac

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
strongface
Donor
Posts: 5
Joined: 29 Aug 2014, 07:12

Help Finding Log Files on Mac

Post by strongface »

Hi,

I am a huge fan of filebot and have been using it for a couple of years now. I setup the automated media centre with transmission without any trouble on my old mac and it ran like a dream, sorting all my media files perfectly.

I have upgraded this mac with a new SSD and have a new install of Mavericks. I migrated all applications over from the old disk and everything seems to be working fine apart from filebot no longer working.

I have reinstalled both filebot and Transmission, and created a new version of the transmission-postprocess script just in case it was a permissions thing, but no joy.

I realise I should be posting the logs here to give a clearer picture of the issue, but I can't find their location on my mac...

If anyone has any ideas about my issue that would be great, or if anyone could point me in the direction of the log files then I can provide more info.

Thanks!

:D
strongface
Donor
Posts: 5
Joined: 29 Aug 2014, 07:12

Re: Help Finding Log Files on Mac

Post by strongface »

PS here is the script that I am using:

#!/bin/bash§
/Applications/Filebot.app/Contents/MacOS/filebot.sh -script fn:amc --output "/Volumes/WD3TB/" --log-file amc.log --action copy --conflict override -non-strict --def artwork=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"


It is saved in /Users/Oliver/Documents/scripts/

Thanks
User avatar
rednoah
The Source
Posts: 23946
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help Finding Log Files on Mac

Post by rednoah »

Just run it with Console and check the output (i.e. the log) and if filebot is called then there'll be a amc.log in ~/.filebot and if not then java is not setup properly.
:idea: Please read the FAQ and How to Request Help.
strongface
Donor
Posts: 5
Joined: 29 Aug 2014, 07:12

Re: Help Finding Log Files on Mac

Post by strongface »

Thanks!

I ran the script in the terminal and got this error. Looks like Java is indeed the culprit:

iMac:scripts Oliver$ ls
transmission-postprocess
iMac:scripts Oliver$ sh transmission-postprocess
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
iMac:scripts Oliver$

Any ideas on how to resolve this...?

Thanks again :)
User avatar
rednoah
The Source
Posts: 23946
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help Finding Log Files on Mac

Post by rednoah »

FAQ. Go.
:idea: Please read the FAQ and How to Request Help.
strongface
Donor
Posts: 5
Joined: 29 Aug 2014, 07:12

Re: Help Finding Log Files on Mac

Post by strongface »

Thanks! Got it.

I have updated Java to version 8 update 20 and things are working on the filebot end I think.

For some reason though Transmission isn't calling the script...? I'm pretty sure the permissions are good. Are there logs for transmission that I can check for this...?

Thanks so much for the help,

Definitely going to hit that donate button once I'm back up!
strongface
Donor
Posts: 5
Joined: 29 Aug 2014, 07:12

Re: Help Finding Log Files on Mac

Post by strongface »

Apologies, It all seems to be working now.

I recreated the postprocess script and for some reason that has fixed things.

Thanks again for the help,

Donating now :)
Post Reply