Page 1 of 1

[Autodetect] TVDB not matching - Failed to Match Group error

Posted: 30 Jul 2019, 07:49
by farrsight
Hi,

I have the Windows 10 store release of the app. Looks like the version hasn't been updated since April-19.

Recently, I am getting repeated failures when trying to use Smart mode Autodetect with TV shows and/or directly selecting TVDB from the match menu.

The error is:
Failed to match group:NumberFormatException: For input string:"0Ac"

I've gotten this with multiple files and TV shows. Even if the file is named using standard conventions with no extraneous info in the filename (e.g. Last.Week.Tonight.With.John.Oliver.S06E18). Everything seems ok if manually choosing TVmaze or TheMovieDB, though?

Image

Re: TVDB not matching - Failed to Match Group error

Posted: 30 Jul 2019, 08:19
by rednoah
1.
What does the error log file say?

You will find the error log file in your home directory:

Code: Select all

C:\Users\John\AppData\Local\Packages\PointPlanck.FileBot_*****\LocalCache\Roaming\FileBot

2.
What exactly are you doing? What files have you loaded into FileBot? What buttons have you clicked?


3.
The issue is most likely caused by one singular specific file. Try a new and on your desktop (e.g. Alias.1x01.mp4) to see if that works, and then systematically narrow down which specific file out of the many files you've loaded into FileBot causes FileBot to hiccup.

Re: [Autodetect] TVDB not matching - Failed to Match Group error

Posted: 30 Jul 2019, 11:46
by farrsight
Error log is here:

Code: Select all

Jul 30, 2019 11:41:00 PM net.filebot.media.MediaDetection lambda$getSeriesIndex$2
SEVERE: Failed to load series index: For input string: "0Ac"
Jul 30, 2019 11:41:00 PM net.filebot.media.MediaDetection lambda$getSeriesIndex$2
SEVERE: Failed to load series index: For input string: "0Ac"
Jul 30, 2019 11:41:00 PM net.filebot.ui.rename.AutoDetectMatcher lambda$match$3
WARNING: Failed to match group: NumberFormatException: For input string: "0Ac"
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "0Ac"
	at net.filebot.ui.rename.AutoDetectMatcher.lambda$match$3(AutoDetectMatcher.java:57)
	at net.filebot.ui.rename.AutoDetectMatcher.match(AutoDetectMatcher.java:65)
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:922)
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:918)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "0Ac"
	at net.filebot.ui.rename.EpisodeListMatcher.match(EpisodeListMatcher.java:112)
	at net.filebot.ui.rename.AutoDetectMatcher.match(AutoDetectMatcher.java:74)
	at net.filebot.ui.rename.AutoDetectMatcher.lambda$match$1(AutoDetectMatcher.java:51)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "0Ac"
	at net.filebot.ui.rename.EpisodeListMatcher.fetchEpisodeSet(EpisodeListMatcher.java:213)
	at net.filebot.ui.rename.EpisodeListMatcher.matchEpisodeSet(EpisodeListMatcher.java:150)
	at net.filebot.ui.rename.EpisodeListMatcher.lambda$match$3(EpisodeListMatcher.java:104)
Caused by: java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "0Ac"
	at net.filebot.WebServices$TheTVDBClientWithLocalSearch.fetchSearchResult(WebServices.java:217)
	at net.filebot.web.AbstractEpisodeListProvider.lambda$search$0(AbstractEpisodeListProvider.java:22)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.Cache$TypedCache.computeIf(Cache.java:183)
	at net.filebot.Cache.computeIfAbsent(Cache.java:96)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Cache.java:188)
	at net.filebot.web.AbstractEpisodeListProvider.search(AbstractEpisodeListProvider.java:21)
	at net.filebot.ui.rename.EpisodeListMatcher.lambda$fetchEpisodeSet$6(EpisodeListMatcher.java:198)
Caused by: java.lang.NumberFormatException: For input string: "0Ac"
	at net.filebot.media.ReleaseInfo.parseSeries(ReleaseInfo.java:464)
	at net.filebot.media.ReleaseInfo.lambda$tsv$16(ReleaseInfo.java:494)
	at net.filebot.media.ReleaseInfo.lambda$resource$19(ReleaseInfo.java:505)
	at net.filebot.MemoizedResource.get(Resource.java:36)
	at net.filebot.media.ReleaseInfo.getTheTVDBIndex(ReleaseInfo.java:373)
	at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$new$0(WebServices.java:200)
	at net.filebot.MemoizedResource.get(Resource.java:36)
	at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$fetchSearchResult$5(WebServices.java:214)
I'm just using it like I always have for the last 6+ years I have used Filebot. Drag and Drop the file into the Original files window pane under 'Rename' then click 'Match' and select either Autodetect or TheTVDB from Episode mode.

It's not any one file. It's all files with TheTVDB or Autodetect.

Re: [Autodetect] TVDB not matching - Failed to Match Group error

Posted: 30 Jul 2019, 18:06
by rednoah
Strange. Looks like more people should be running into this issue then, but nobody else complained so far.

Please use the Groovy Pad and run runScript 'sysinfo' (press F5 and then press F5 again) so I can see exactly what version of FileBot is running.

Making sure that you're running the latest version, and maybe doing a clear cache once, might be a possible solution.

Re: [Autodetect] TVDB not matching - Failed to Match Group error

Posted: 30 Jul 2019, 19:40
by farrsight

Code: Select all

FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 6 Core / 7 GB Max Memory / 272 MB Used Memory
OS: Windows 10 (amd64)
Package: APPX
License: Microsoft Store License
How do I clear the cache? Don't see directions for that in your FAQ?

Re: [Autodetect] TVDB not matching - Failed to Match Group error

Posted: 30 Jul 2019, 19:42
by rednoah
Here's how you clear the cache:
viewtopic.php?f=3&t=1996

Re: [Autodetect] TVDB not matching - Failed to Match Group error

Posted: 30 Jul 2019, 19:47
by farrsight
That solved it!

Just a suggestion, that clear cache post is buried pretty deep in the tips/tricks forum. I did actually try to search for it iny your FAQ and did a quick forum search and it wasn't showing up on the first page of results.

Might be good to just add that, or a reference to that link, directly into your FAQ.

Re: [Autodetect] TVDB not matching - Failed to Match Group error

Posted: 30 Jul 2019, 19:50
by rednoah
Sure. Will do.

Re: [Autodetect] TVDB not matching - Failed to Match Group error

Posted: 10 Aug 2019, 09:59
by dns13
Had the same issue. Clearing cache helped for me, too. Thanks!