Page 1 of 1

FileBot Not Running on Sonoma (14.3)

Posted: 05 Feb 2024, 23:33
by DarfNader
Hi, I am installing FileBot on an MacBook Pro M3 running Sonoma 14.3 and it will not run.

If I install it via homebrew, the app fails with the message "Filebot" is damaged and can't be opened. You should move it to the Trash.

I the ran "brew rm --zap filebot" which deleted all of my prefs and license and attempted to install it from the App Store, but FileBot launches and immediate quits without actually loading.

What can I provide to help troubleshoot this? The Console message for filebot are not particularly illuminating.

Re: FileBot Not Running on Sonoma (14.3)

Posted: 06 Feb 2024, 03:51
by rednoah
:!: Did you install via brew? Did you use the --no-quarantine flag when doing so? If you are using brew install then you must use the --no-quarantine flag to disable all the "Apple does not allow me to run this software from the internet" shenanigans:
https://www.filebot.net/mac/brew.html




:arrow: Alternatively, you may uninstall all versions of FileBot that you may have installed, and then only install the FileBot_*_arm64.pkg package (i.e. download and double-click on it) to see if that works:
https://www.filebot.net/download.html



DarfNader wrote: 05 Feb 2024, 23:33 attempted to install it from the App Store, but FileBot launches and immediate quits without actually loading
The Mac App Store version seems to just not work for some users. No idea why. Somehow related to Rosetta x86 to ARM translation layer would be my first guess?

:?: What does the Console say?

Re: FileBot Not Running on Sonoma (14.3)

Posted: 07 Feb 2024, 17:44
by Seldon75
The same to me. Just downloaded from the app store, FileBot launches and immediate quits without actually loading
No way to use it

Re: FileBot Not Running on Sonoma (14.3)

Posted: 16 Mar 2024, 18:40
by Seldon75
To give it a try I downloaded FileBot_5.1.3_arm64.pkg from the site, it opens perfectly. How come the version from the App store doesn't work?

Re: FileBot Not Running on Sonoma (14.3)

Posted: 16 Mar 2024, 19:11
by rednoah
:?: Do you get any console output if you launch via Terminal?

Shell: Select all

/Applications/FileBot.app/Contents/MacOS/filebot.launcher

Re: FileBot Not Running on Sonoma (14.3)

Posted: 23 Mar 2024, 10:27
by Seldon75

Code: Select all

An unexpected error occurred during startup: IOPrimaryInterface
java.lang.IllegalStateException: Receipt Hash: IOPrimaryInterface
	at net.filebot.platform.mac.MASReceipt.verifyHash(Unknown Source)
	at net.filebot.platform.mac.MASReceipt.check(Unknown Source)
	at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.IllegalStateException: IOPrimaryInterface
	at net.filebot.platform.mac.MASReceipt.getGUID(Unknown Source)
	... 3 more

Re: FileBot Not Running on Sonoma (14.3)

Posted: 23 Mar 2024, 10:45
by rednoah
:?: Are you doing something unusual in your network configuration? External NIC? Disabled onboard NIC? Some unusual firewall or VPN configuration? Are you using AirPlay?


:?: What does ioreg -l say?
rednoah wrote: 11 Nov 2021, 03:06 You can use ioreg -l > ioreg.txt to save your device tree to a text file so you can check it:

Code: Select all

ioreg -l > ioreg.txt

:idea: There should be one network interface where "IOPrimaryInterface" = Yes and that would typically be en0 on normal hardware:

Code: Select all

ioreg -l | grep IOPrimaryInterface

Re: FileBot Not Running on Sonoma (14.3)

Posted: 23 Mar 2024, 11:37
by Seldon75
Nothing unusual, just bought my new MacBook Pro, transferred the configuration of the old one

Re: FileBot Not Running on Sonoma (14.3)

Posted: 23 Mar 2024, 11:39
by Seldon75
Only the App Store version doesn't work, if i download Filebot from the site it works perfectly. The problem is that i bought the license from app store

Re: FileBot Not Running on Sonoma (14.3)

Posted: 23 Mar 2024, 14:09
by rednoah
:?: What does ioreg -l say?

Shell: Select all

ioreg -l > ioreg.txt
Please run ioreg -l > ioreg.txt in Terminal. That'll create a text file named ioreg.txt with detailed NIC hardware information. Please upload that text file to Pastebin.com and then share the link here.

Re: FileBot Not Running on Sonoma (14.3)

Posted: 23 Mar 2024, 16:48
by Seldon75
I can't, "You have exceeded the maximum size of 512 kilobytes per Paste"

Re: FileBot Not Running on Sonoma (14.3)

Posted: 23 Mar 2024, 17:16
by rednoah
Please share via Google Drive / OneDrive / Email / etc instead then.

Re: FileBot Not Running on Sonoma (14.3)

Posted: 09 Apr 2024, 13:55
by Seldon75
Shared via mail

Re: FileBot Not Running on Sonoma (14.3)

Posted: 09 Apr 2024, 16:36
by rednoah
We have not received any email.

Re: FileBot Not Running on Sonoma (14.3)

Posted: 13 Apr 2024, 18:29
by Seldon75
Sent again

Re: FileBot Not Running on Sonoma (14.3)

Posted: 13 Apr 2024, 19:49
by rednoah
I have received your email. Thank you.


:idea: Comparing the ioreg from various macOS machines, there is indeed a unique IOEthernetInterface entry without a IOPrimaryInterface property in your ioreg output:

Code: Select all

    | |   |   |   +-o IOEthernetInterface  <class IOEthernetInterface, id 0x1000008ba, registered, matched, active, busy 0 (0 ms), retain 7>
    | |   |   |     | {
    | |   |   |     |   "IOLocation" = ""
    | |   |   |     |   "IORequiredPacketFilters" = {"IONetworkFilterGroup"=3,"IOEthernetWakeOnLANFilterGroup"=0}
    | |   |   |     |   "IOInterfaceFlags" = 2082
    | |   |   |     |   "IOMaxTransferUnit" = 1500
    | |   |   |     |   "IOMediaAddressLength" = 6
    | |   |   |     |   "IOInterfaceType" = 6
    | |   |   |     |   "IOInterfaceState" = 0
    | |   |   |     |   "IOGeneralInterest" = "IOCommand is not serializable"
    | |   |   |     |   "IOMediaHeaderLength" = 14
    | |   |   |     |   "IOActivePacketFilters" = {"IONetworkFilterGroup"=0,"IOEthernetWakeOnLANFilterGroup"=0}
    | |   |   |     |   "IOInterfaceExtraFlags" = 0
    | |   |   |     |   "IOInterfaceNamePrefix" = "en"
    | |   |   |     |   "IOBuiltin" = No
    | |   |   |     |   "IONetworkData" = {"IONetworkStatsKey"={"Size"=20,"Data"=<0000000000000000000000000000000000000000>,"Access Types"=9},"IOEthernetStatsKey"={"Size"=216,"Data"=<000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000>,"Access Types"=9}}
    | |   |   |     | }
The IllegalStateException: IOPrimaryInterface error that causes FileBot to crash on startup on your machine is likely caused by this entry. Unfortunately, I have no idea why this unusual network interface exists on your machine but not on any of my machines. Maybe a USB hub / USB ethernet adapter?

Anyway, although I cannot test this on my machine, I can at the very least add additional checks to the code to ignore (instead of trip up and crash) unusual network interfaces with the next FileBot release.