Updated to 4.9.3 using homebrew - getting media info error

Support for macOS users
Post Reply
cheaters
Posts: 214
Joined: 09 Oct 2016, 02:01

Updated to 4.9.3 using homebrew - getting media info error

Post by cheaters »

Hi Red,
:?: I don't see a command for "reset cache" in filebot -help. I assume this means filebot -clear-cache

Code: Select all

Feb 18, 2021 11:20:57 AM net.filebot.DiskStore acquireDiskStore
WARNING: Current application revision (r8335) does not match cache revision (r8046): reset cache
Feb 18, 2021 11:20:57 AM net.filebot.DiskStore acquireDiskStore
WARNING: Initialize new disk cache: /Users/john/.filebot/cache/0
Also getting this error in GroovyPad (f5) regarding MediaInfo.

Code: Select all

FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86_64 (64-bit) native library libmediainfo.dylib: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 207 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 188 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 803 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 803 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 156 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: APP
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
Getting this on the command line:

Code: Select all

Thu Feb 18 11:17:43
iMac191:~ john$ filebot -script fn:sysinfo
[2021-02-18 23:17:49.717] Using persistent disk cache: /Users/john/.filebot/cache/0
FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 26 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 188 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 803 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 803 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 156 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: APP
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
[2021-02-18 23:17:51.876] Done ヾ(@⌒ー⌒@)ノ
I don't seem to have logs for brew installs so I reinstalled it using $ brew reinstall filebot 2>&1 | tee filebot_install.log

Code: Select all

$ cat filebot_install.log
==> Downloading https://get.filebot.net/filebot/FileBot_4.9.3/FileBot_4.9.3.app.tar.xz
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/e580ca8b9dd05a6b9d1f08da2600ca45f0c23096aa7be8edb9f4921c0dcd561c--FileBot_4.9.3.app.tar.xz
==> Uninstalling Cask filebot
==> Backing App 'FileBot.app' up to '/usr/local/Caskroom/filebot/4.9.3/FileBot.app'
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Removing App '/Applications/FileBot.app'
==> Unlinking Binary '/usr/local/bin/filebot'
==> Unlinking Binary '/usr/local/etc/bash_completion.d/filebot'
==> Purging files for version 4.9.3 of Cask filebot
==> Installing Cask filebot
==> Moving App 'FileBot.app' to '/Applications/FileBot.app'
==> Linking Binary 'filebot.sh' to '/usr/local/bin/filebot'
==> Linking Binary 'filebot_completion' to '/usr/local/etc/bash_completion.d/filebot'
🍺  filebot was successfully installed!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Updated to 4.9.3 using homebrew - getting media info error

Post by rednoah »

Does it work if you use the *.pkg package?


What version of macOS are you using?


:idea: The fact that it works in the CLI, but not in the GUI, is very strange indeed. I have no idea what might be causing the issue, or how to fix it.


:!: Note that I didn't update the brew cask descriptor. Unfortunately, some well-meaning folks pre-maturely update these things, and so that's a bit out of my control.



EDIT:

I've tried on macOS Catalina and both GUI and CLI are able to load libmediainfo just fine. The issue might be specific to your machine, or specific to your version of macOS. My educated guess would be macOS preventing the FileBot process from loading libmediainfo due to some sort of security or code signing rule.

:arrow: Let's wait and see if different users report the same issue in the next few days.
:idea: Please read the FAQ and How to Request Help.
cheaters
Posts: 214
Joined: 09 Oct 2016, 02:01

Re: Updated to 4.9.3 using homebrew - getting media info error

Post by cheaters »

EDIT: I am using Catalina 10.15.7

Wow, this version boots up much faster than previously. Thanks for that.

I uninstalled the homebrew installed app and downloaded the package from filebot.net.

Looked in Groovy Pad and things look right...

Code: Select all

FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 105 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 181 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 156 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
Now I am getting more ominous looking stuff in the error.log...

Code: Select all

# /Users/john/.filebot/logs/error.log
Feb 17, 2021 6:34:27 PM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [PX9231992] on [Wed Feb 17 18:34:27 CST 2021]
Feb 18, 2021 11:20:57 AM net.filebot.DiskStore acquireDiskStore
WARNING: Current application revision (r8335) does not match cache revision (r8046): reset cache
Feb 18, 2021 11:20:57 AM net.filebot.DiskStore acquireDiskStore
WARNING: Initialize new disk cache: /Users/john/.filebot/cache/0
Feb 19, 2021 1:07:49 AM net.filebot.Cache computeIf
WARNING: data_1: compute: seriesdb.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:07:49 AM net.filebot.Main onStart
WARNING: Failed to check for updates: Content is not allowed in prolog.
java.lang.IllegalStateException: Failed to cast cached value: update.url => {"status": 200, "message": "OK"}
 (data_1)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.Main.checkUpdate(Unknown Source)
	at net.filebot.Main.onStart(Unknown Source)
	at net.filebot.Main.lambda$main$2(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.CachedResource.lambda$getXml$8(Unknown Source)
	... 6 more

Feb 19, 2021 1:07:50 AM net.filebot.Cache put
WARNING: data_1: put: seriesdb.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:07:50 AM net.filebot.Cache computeIf
WARNING: data_1: compute: moviedb.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:07:51 AM net.filebot.Cache put
WARNING: data_1: put: moviedb.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:07:59 AM net.filebot.Cache computeIf
WARNING: data_1: compute: PX9231992: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:07:59 AM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [PX9231992] on [Fri Feb 19 01:07:59 CST 2021]
Feb 19, 2021 1:08:00 AM net.filebot.Cache put
WARNING: data_1: put: PX9231992: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:18:09 AM net.filebot.Main onStart
WARNING: Failed to check for updates: Content is not allowed in prolog.
java.lang.IllegalStateException: Failed to cast cached value: update.url => {"status": 200, "message": "OK"}
 (data_1)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.Main.checkUpdate(Unknown Source)
	at net.filebot.Main.onStart(Unknown Source)
	at net.filebot.Main.lambda$main$2(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.CachedResource.lambda$getXml$8(Unknown Source)
	... 6 more

Feb 19, 2021 1:18:47 AM net.filebot.Main onStart
WARNING: Failed to check for updates: Content is not allowed in prolog.
java.lang.IllegalStateException: Failed to cast cached value: update.url => {"status": 200, "message": "OK"}
 (data_1)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.Main.checkUpdate(Unknown Source)
	at net.filebot.Main.onStart(Unknown Source)
	at net.filebot.Main.lambda$main$2(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.CachedResource.lambda$getXml$8(Unknown Source)
	... 6 more

Feb 19, 2021 1:22:11 AM net.filebot.Main onStart
WARNING: Failed to check for updates: Content is not allowed in prolog.
java.lang.IllegalStateException: Failed to cast cached value: update.url => {"status": 200, "message": "OK"}
 (data_1)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.Main.checkUpdate(Unknown Source)
	at net.filebot.Main.onStart(Unknown Source)
	at net.filebot.Main.lambda$main$2(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.CachedResource.lambda$getXml$8(Unknown Source)
	... 6 more

Feb 19, 2021 1:22:25 AM net.filebot.Main onStart
WARNING: Failed to check for updates: Content is not allowed in prolog.
java.lang.IllegalStateException: Failed to cast cached value: update.url => {"status": 200, "message": "OK"}
 (data_1)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.Main.checkUpdate(Unknown Source)
	at net.filebot.Main.onStart(Unknown Source)
	at net.filebot.Main.lambda$main$2(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.CachedResource.lambda$getXml$8(Unknown Source)
	... 6 more

Feb 19, 2021 1:22:38 AM net.filebot.Cache computeIf
WARNING: data_1: compute: query-excludes.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:22:38 AM net.filebot.Cache put
WARNING: data_1: put: query-excludes.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:22:38 AM net.filebot.Cache computeIf
WARNING: data_1: compute: moviedb.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:22:40 AM net.filebot.Cache put
WARNING: data_1: put: moviedb.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:22:42 AM net.filebot.Cache computeIf
WARNING: data_1: compute: release-groups.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:22:42 AM net.filebot.Cache put
WARNING: data_1: put: release-groups.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:22:42 AM net.filebot.Cache computeIf
WARNING: data_1: compute: media-sources.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:22:43 AM net.filebot.Cache put
WARNING: data_1: put: media-sources.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:23:16 AM net.filebot.Cache computeIf
WARNING: data_1: compute: PX9231992: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:23:16 AM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [PX9231992] on [Fri Feb 19 01:23:16 CST 2021]
Feb 19, 2021 1:23:17 AM net.filebot.Cache put
WARNING: data_1: put: PX9231992: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:38:25 AM net.filebot.Main onStart
WARNING: Failed to check for updates: Content is not allowed in prolog.
java.lang.IllegalStateException: Failed to cast cached value: update.url => {"status": 200, "message": "OK"}
 (data_1)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.Main.checkUpdate(Unknown Source)
	at net.filebot.Main.onStart(Unknown Source)
	at net.filebot.Main.lambda$main$2(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.CachedResource.lambda$getXml$8(Unknown Source)
	... 6 more

Feb 19, 2021 1:38:47 AM net.filebot.Cache computeIf
WARNING: data_1: compute: seriesdb.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:38:48 AM net.filebot.Cache put
WARNING: data_1: put: seriesdb.txt: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Feb 19, 2021 1:42:40 AM net.filebot.Main onStart
WARNING: Failed to check for updates: Content is not allowed in prolog.
java.lang.IllegalStateException: Failed to cast cached value: update.url => {"status": 200, "message": "OK"}
 (data_1)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.Main.checkUpdate(Unknown Source)
	at net.filebot.Main.onStart(Unknown Source)
	at net.filebot.Main.lambda$main$2(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.CachedResource.lambda$getXml$8(Unknown Source)
	... 6 more


...but maybe things are sorted out now?

Code: Select all

$ filebot -script fn:sysinfo
[2021-02-19 01:12:50.105] Using persistent disk cache: /Users/john/.filebot/cache/1
[2021-02-19 01:12:50.107] Initialize new disk cache: /Users/john/.filebot/cache/1
[2021-02-19 01:12:50.294] Fetch resource: https://api.filebot.net/8335/script/fn.jar.xz
FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 25 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 181 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 155 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
[2021-02-19 01:12:52.051] Activate License [PX9231992] on [Fri Feb 19 01:12:52 CST 2021]
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
[2021-02-19 01:12:53.654] Done ヾ(@⌒ー⌒@)ノ
:?: "reset cache" = filebot -clear-cache :?:
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Updated to 4.9.3 using homebrew - getting media info error

Post by rednoah »

filebot -clear-cache should fix this one:

Code: Select all

net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
As for the root cause. IDK. The logs don't make sense to me on first glance.
:idea: Please read the FAQ and How to Request Help.
cheaters
Posts: 214
Joined: 09 Oct 2016, 02:01

Re: Updated to 4.9.3 using homebrew - getting media info error

Post by cheaters »

I downgraded to 4.9.2 and upgraded to 4.9.3 to test and provide you with logs. Hope something in here is useful. The very last example is what I receive whenever I start filebot.

Code: Select all

FileBot 4.9.2 (r8046)
JNA Native: 6.1.0
MediaInfo: 20.08
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.6
JRE: OpenJDK Runtime Environment 15
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 93 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 181 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 155 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)

Code: Select all

# /Users/john/.filebot/error.log
Feb 19, 2021 9:42:29 AM net.filebot.DiskStore acquireDiskStore
WARNING: Current application revision (r8046) does not match cache revision (r8335): reset cache
Feb 19, 2021 9:42:29 AM net.filebot.DiskStore acquireDiskStore
WARNING: Initialize new disk cache: /Users/john/.filebot/cache/0
Feb 19, 2021 9:42:49 AM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [PX9231992] on [Fri Feb 19 09:42:49 CST 2021]

Code: Select all

$ filebot -script fn:sysinfo
[2021-02-19 09:45:03.222] Using persistent disk cache: /Users/john/.filebot/cache/1
[2021-02-19 09:45:03.224] Initialize new disk cache: /Users/john/.filebot/cache/1
[2021-02-19 09:45:03.552] Fetch resource: https://api.filebot.net/8046/script/fn.jar.xz
FileBot 4.9.2 (r8046)
JNA Native: 6.1.0
MediaInfo: 20.08
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.6
JRE: OpenJDK Runtime Environment 15
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 35 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 181 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 155 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
[2021-02-19 09:45:05.270] Activate License [PX9231992] on [Fri Feb 19 09:45:05 CST 2021]
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
[2021-02-19 09:45:06.577] Done ヾ(@⌒ー⌒@)ノ
One difference I am seeing between these two installs in

Code: Select all

/Users/user/.filebot
The cache folder in 4.9.2 has two subfolders: .filebot/cache/0 and .filebot/cache/1

Code: Select all

0
.ehcache-diskstore.lock
.lock
data_0.data
data_1.data
github_stable_0.data
1
.lock
data_0.data
data_0.index
data_1.data
data_1.index
github_stable_0.data
github_stable_0.index
themoviedb_1c_etag_1.data
themoviedb_1c_etag_1.index
themoviedb_1c.data
themoviedb_1c.index
themoviedb_en_1c_etag_1.data
themoviedb_en_1c_etag_1.index
themoviedb_en_1c.data
themoviedb_en_1c.index
themoviedb_en-us_1c_etag_1.data
themoviedb_en-us_1c_etag_1.index
themoviedb_en-us_1c.data
themoviedb_en-us_1c.index
...and error.log is being saved inside the root folder .filebot/error.log

Whereas in 4.9.3 the cache folder only had one subfolder: .filebot/cache/0

Code: Select all

cache
0
.lock
data_1.data
data_1.index
github_stable_0.data
github_stable_0.index
...and error.log is being saved inside .filebot/logs/error.log where it probably should be.

Code: Select all

Fri Feb 19 09:45:06
iMac191:~ john$ filebot -script fn:sysinfo
[2021-02-19 10:01:08.903] Using persistent disk cache: /Users/john/.filebot/cache/1
[2021-02-19 10:01:08.913] Current application revision (r8335) does not match cache revision (r8046): reset cache
[2021-02-19 10:01:08.917] Initialize new disk cache: /Users/john/.filebot/cache/1
[2021-02-19 10:01:09.097] Fetch resource: https://api.filebot.net/8335/script/fn.jar.xz
FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 23 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 181 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 155 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
[2021-02-19 10:01:10.630] Activate License [PX9231992] on [Fri Feb 19 10:01:10 CST 2021]
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
[2021-02-19 10:01:13.194] Done ヾ(@⌒ー⌒@)ノ
I ran it again to see if filebot had initialized new cache and fetched... without resetting the cache in between it's not telling me to reset it in output. It's using the previous versions cache folder 1 and seems to be happy.

Code: Select all

Fri Feb 19 10:01:13
iMac191:~ john$ filebot -script fn:sysinfo
[2021-02-19 10:01:36.718] Using persistent disk cache: /Users/john/.filebot/cache/1
FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 27 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 181 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 155 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
[2021-02-19 10:01:38.554] Done ヾ(@⌒ー⌒@)ノ
Now I do perform filebot -clear-cache and check using filebot -script fn:sysinfo then wait a bit and check a second time with filebot -script fn:sysinfo

Code: Select all

Fri Feb 19 10:02:12
iMac191:~ john$ filebot -clear-cache
Clear cache
* Delete /Users/john/.filebot/cache/0 (86 KB)
* Delete /Users/john/.filebot/cache/1 (85 KB)

Fri Feb 19 10:02:25
iMac191:~ john$ filebot -script fn:sysinfo
[2021-02-19 10:03:06.831] Using persistent disk cache: /Users/john/.filebot/cache/0
[2021-02-19 10:03:06.833] Initialize new disk cache: /Users/john/.filebot/cache/0
[2021-02-19 10:03:07.205] Fetch resource: https://api.filebot.net/8335/script/fn.jar.xz
FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 25 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 181 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 155 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
[2021-02-19 10:03:08.739] Activate License [PX9231992] on [Fri Feb 19 10:03:08 CST 2021]
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
[2021-02-19 10:03:10.165] Done ヾ(@⌒ー⌒@)ノ

Fri Feb 19 10:03:10
iMac191:~ john$ filebot -script fn:sysinfo
[2021-02-19 10:12:15.863] Using persistent disk cache: /Users/john/.filebot/cache/0
FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 24 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 182 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 154 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
[2021-02-19 10:12:17.139] data_1: compute: PX9231992: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
[2021-02-19 10:12:17.147] Activate License [PX9231992] on [Fri Feb 19 10:12:17 CST 2021]
[2021-02-19 10:12:18.405] data_1: put: PX9231992: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
[2021-02-19 10:12:19.039] Done ヾ(@⌒ー⌒@)ノ

Fri Feb 19 10:12:19
iMac191:~ john$ filebot -script fn:sysinfo
[2021-02-19 10:15:34.950] Using persistent disk cache: /Users/john/.filebot/cache/0
FileBot 4.9.3 (r8335)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/53.0.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.7
JRE: OpenJDK Runtime Environment 15.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 17 GB Max Memory / 26 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin iMac191.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 182 GB | ntfs [/Volumes/BOOTCAMP] @ 43 GB | hfs [/Volumes/Mercury-2_9481] @ 1.1 TB | hfs [/Volumes/Godzilla Clone] @ 2.3 TB | hfs [/Volumes/Godzilla] @ 4.4 TB | apfs [/Volumes/iMacHDD] @ 902 GB | apfs [/Volumes/Backup_iMac191 SSD] @ 811 GB | apfs [/Volumes/Backup_iMac191 SSD - Data] @ 811 GB | hfs [/Volumes/SeedDrive] @ 1.7 TB | hfs [/Volumes/Mercury-1_9940] @ 154 GB | hfs [/Volumes/PlexMedia] @ 1.0 TB
DATA: /Users/john/.filebot
Package: PKG
License: FileBot License PX9231992 (Valid-Until: 2069-09-03)
[2021-02-19 10:15:36.885] Done ヾ(@⌒ー⌒@)ノ
On each start of filebot I am receiving this warning...

Code: Select all

Feb 19, 2021 1:04:57 PM net.filebot.Main onStart
WARNING: Failed to check for updates: Content is not allowed in prolog.
java.lang.IllegalStateException: Failed to cast cached value: update.url => {"status": 200, "message": "OK"}
 (data_1)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.Main.checkUpdate(Unknown Source)
	at net.filebot.Main.onStart(Unknown Source)
	at net.filebot.Main.lambda$main$2(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.web.WebRequest.getDocument(Unknown Source)
	at net.filebot.CachedResource.lambda$getXml$8(Unknown Source)
	... 6 more
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Updated to 4.9.3 using homebrew - getting media info error

Post by rednoah »

IDK. The error message would indicate that the file system is strange, i.e. application files are being changed or deleted but process itself not being responsible or knowing about these changes. Hence, could be anything.



EDIT:

Make sure that the GUI application isn't running while you're upgrading / downgrading / changing application binaries and application data files, e.g. if you start the GUI, and then call filebot -clear-cache to delete application data files from under the running GUI process, that would certainly break running GUI process in strange and unexpected ways.
:idea: Please read the FAQ and How to Request Help.
Post Reply