IllegalStateException : AniDB error : banned

Support for Windows 10 users and the Microsoft Store package
Post Reply
kracksickles
Posts: 3
Joined: 22 May 2019, 00:07

IllegalStateException : AniDB error : banned

Post by kracksickles » 22 May 2019, 00:10

FileBot (console) output

Code: Select all

llegalStateException: AniDB error: banned
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: AniDB error: banned
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.done(RenamePanel.java:940)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: AniDB error: banned
        at net.filebot.ui.rename.EpisodeListMatcher.match(EpisodeListMatcher.java:112)
        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.lang.IllegalStateException: AniDB error: banned
        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.lang.IllegalStateException: AniDB error: banned
        at net.filebot.web.AnidbClient.fetchSeriesData(AnidbClient.java:98)
        at net.filebot.web.AbstractEpisodeListProvider.lambda$getSeriesData$1(AbstractEpisodeListProvider.java:60)
        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.getSeriesData(AbstractEpisodeListProvider.java:59)
        at net.filebot.web.AbstractEpisodeListProvider.getEpisodeList(AbstractEpisodeListProvider.java:36)
        at net.filebot.ui.rename.EpisodeListMatcher.lambda$fetchEpisodeSet$6(EpisodeListMatcher.java:203)
filebot - script fn:sysinfo:

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: 12 Core / 3 GB Max Memory / 21 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
Activate License PX8010746
License: FileBot License PX8010746 (Valid-Until: 2069-05-21)
Done ?(?????)?
Any recommendations on how many files I can rename? I do not know how long my ban is; I have not communicated with staff of Anidb.
https://anidb.net/perl-bin/animedb.pl?show=cmt&id=83010

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

Re: IllegalStateException : AniDB error : banned

Post by rednoah » 22 May 2019, 04:14

I think it's a day. But every time you get a ban response it gets extended AFAIK.

IDK. Best you can do is not bother AniDB services for a week and see if it works again afterwards.

:idea: I'm not aware of any official documents regarding API limits. If you find any official information, then I'm happy to implement that.

:idea: FileBot enforces a very conservative 2 requests per 5 seconds limit.

:idea: But I think there's also daily limits that you'll run into if you run non-stop on hundreds of Anime series. Not sure what that limit might be. Maybe around 100 or 200 requests.



EDIT:

I checked the API docs page and it says 1 request per 2 seconds. So I'll change it to 1 request per 5 seconds in FileBot for upcoming releases.

:!: FileBot and Kodi apply heavy caching but of course can't synchronize their internal caches, so the same data might be requested by different applications. That can't really be helped.

:!: If you process a huge number of Anime, then that's virtually indistinguishable from doing a data base dump of all the popular shows. That also can't be helped.
:idea: Please read the FAQ and How to Request Help.

kracksickles
Posts: 3
Joined: 22 May 2019, 00:07

Re: IllegalStateException : AniDB error : banned

Post by kracksickles » 22 May 2019, 04:53

Okay. I will wait a several days before making an attempt and do maybe 5 series a day.

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

Re: IllegalStateException : AniDB error : banned

Post by rednoah » 22 May 2019, 04:58

Yep. Keep us posted if it's working again after a week.
:idea: Please read the FAQ and How to Request Help.

kracksickles
Posts: 3
Joined: 22 May 2019, 00:07

Re: IllegalStateException : AniDB error : banned

Post by kracksickles » 09 Jun 2019, 18:35

Sorry, forgot to reply.

I tested it after a week, and it works fine now.

Post Reply