400 Python errors on inspect of "match results" options run after February 2021

In which Wildbook did the issue occur? ACW

What operating system were you using? Win 10

What web browser were you using? latest chrome

What is your role on the site? admin

What happened?
I’m getting 400 Python errors when I click on the inspect button in match results for matches run after Jan/Feb 2021. Which forces me to re-run matches when I shouldn’t need to.
Ex:
https://africancarnivore.wildbook.org/iaResults.jsp?taskId=0e32799f-6095-4b17-a99e-b5e05478f19f&scoreType=image
https://africancarnivore.wildbook.org/iaResults.jsp?taskId=5d0365d2-5bc6-4df3-b1dd-ea0386fce440
https://africancarnivore.wildbook.org/iaResults.jsp?taskId=c2d6e5e8-6f42-492f-bb0e-c8880699cae0

Then, after waiting for the new match results, I’ve gotten an “attempting to fetch results” in all cases this afternoon. Refreshing the page multiple times has not helped.

What did you expect to happen?

I thought this issue was fixed - per the January release notes:
" * WB-1252 No more 400 Python errors (IAResults inspect) on new-and-very-likely matches
So I expected to be able to “inspect” the match results and see the 2 images side by side with hotspotter patches on the matched areas.

Thanks
Maureen

I have tried to inspect a few dozen previously run match results and am getting the 400 Python error on every single one. Here’s another example:
https://africancarnivore.wildbook.org/iaResults.jsp?taskId=9bf3d1cb-f16a-4e7a-b4b4-40fcb515fb13

And when I re-run matching, both yesterday and today, I get the “attempting to fetch results” message. Refreshing the page hasn’t helped.
image

I refreshed yesterday’s match results pages today, and finally saw the match results display.

Is there a server issue or something?

I’d appreciate any info. It’s getting very frustrating.

thanks
Maureen

Hi, @ACWadmin1 !
I was unable to reproduce this issue just now when I checked, but I experienced the same thing earlier today on ACW.
When I had my same issue, I checked and saw that there were quite a few IA jobs in the queue; my best guess is that this is what was going on, as all of those jobs have been completed now and results are displaying just fine.
Apologies for whatever it was that caused this, but seems to be working okay now…
My best,
Mark

Regarding the 400 python errors, I’ll ask the IA folks again right now; I know someone was looking into it yesterday, but I’m not sure what the conclusion was.
-Mark

Hi, @ACWadmin1 !
From our IA specialist:

These match results are from April and May 2021
After 90 days, the ID comparison renders are deleted in WBIA to save space
even the job is archived after 2 weeks
Basically, they are trying to look at old matching jobs and WBIA has deleted the cached results…
It also prevents the need to link to the backend WBIA instance and its URL
We’ve run into this in the past, it’s certainly expected behavior across all WB projects.
if they were to resubmit the ID job, everything would work.

So, that’s the workaround. I will create a ticket to improve the UI so that the user doesn’t expect one thing and see an error instead asap.
Thanks,
Mark

2 Likes

Hi @MarkF - that makes sense. Going forward I’ll take screenshots of the great match results we find so as not to lose them.

thanks!
M

Hi @MarkF - I just got a 400 Python error on inspect for a match result run yesterday:

Match results page: Wildbook for Carnivores

Go to match result #8 and click on inspect. You’ll see what I mean. It’s a really GREAT match and I really want to get the hotspot inspect compare to use for demo purposes.

Thoughts? Do I need to re-run this encounter again?

Thanks
Maureen

@ACWadmin1 !
I’m asking about that one currently.

In the meantime, the UI-to-block-users-from-seeing-the-python-errors is in the system as WB-1780.
Thanks!
-Mark

1 Like

Hi @MarkF - 2 more Python errors on match results that were run Aug 13/21 and are not results after #16.
https://africancarnivore.wildbook.org/iaResults.jsp?taskId=5c2cc955-f91d-4896-adf1-795676edc341&nResults=20&scoreType=image

Match results #8 & 10 are both throwing the 400 Python error. Hopefully these additional examples help?

thanks!
Maureen

1 Like

Hi @mark - here are more examples of seeing the python error in match results run in less than 90d prior to viewing:
https://africancarnivore.wildbook.org/iaResults.jsp?taskId=cf37d9e4-6d8a-42f3-8eea-c0e202d97233
https://africancarnivore.wildbook.org/iaResults.jsp?taskId=8f8bf670-8186-44b8-a07c-93c27b449965
https://africancarnivore.wildbook.org/iaResults.jsp?taskId=3baa78e4-33ef-4d3f-9aae-3122090964ea

Any news on these types of examples?

thanks
Maureen

1 Like

Hi, @ACWadmin1 !
This from JP:

Hi @mark - okay, I understand now. the blowing out of the cache isn’t a strict ‘everything older than 90 days’, it’s a ‘whenever the cache is full-ish’, which makes sense. We’ll update our workflow with our users - upload & process through IA smaller batches so they can be ID’d more quickly before a new batch is uploaded.

thanks
Maureen