Failure loading seasonal graph on taxon page

Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.

Platform (Android, iOS, Website): Website

App version number, if a mobile app issue (shown under Settings or About):

Browser, if a website issue (Firefox, Chrome, etc) : Safari (Mac) Version 14.1.2 (14611.
Mac OS 10.14.6
Note: Problem does NOT seem to occur with Chrome Version 108.0.5359.124 (Official Build) (x86_64)

URLs (aka web addresses) of any relevant observations or pages:
Recent example:

Screenshots of what you are seeing (instructions for taking a screenshot on computers and mobile devices:

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.): Seasonal graph is periodically failing to display.

Step 1: Click on a taxon name in an indentification added to an observation to get to a taxon page. For example, from:
click on Ancistrocerus in user dbagley’s ID to get to genus page:

Step 2: Seasonal graph often briefly displays (?) then disappears and an error message appears:
“D’oh, something went wrong: TypeError: Failed to initialize NumberFormat since used feature is not supported in the linked ICU version”

Step 3: Note: This error shows up irregularly, maybe 1/3 of the time, and I haven’t figured out what pathway or which taxa trigger it. Accessing the taxon page from other directions (e.g. Explore or from the embedded link, above) seem to show the graph loading properly.

I’m disappointed that this Bug Report has not generated any interest at all. The same issue of failed seasonal graphs is still happening regularly to me, as described above. (See a new screen capture from a few minutes ago.) The above details are still relevant. I have a suspicion this may be related to my current version of Safari and/or MacOS but I’d like to have even some hint of what this is about from someone with more knowledge about such things.

Can you open the developer tools and post any relevant messages? (I don’t have Safari and probably won’t be much help.)

Sorry, Jane. I am ignorant of how to use developer tools on the Mac. I’ll investigate and hopefully get back to you.

1 Like

sounds like:

here’s where the relevant iNat code might be:

if you look for a taxon whose seasonality chart maxes out below 1000 in the y axis, it probably will work just fine. ex.:

1 Like

That’s a great lead, @pisum. Thank you. I just ran through a random sample of a dozen various taxa, some with >> 1,000 observations, some with < 1,000. All those with substantial numbers of observations (such that some months probably have > 1,000 observations) like Common Raccoon and Monarch failed to load the seasonal graph, but taxa with low numbers of observations, which as you suggest will have nothing in the seasonal y-axis > 1,000, load the graph correctly.
So that seems to be an interplay of Safari 14.1 and MacOS Mojave. Clearly it isn’t fixed in Safari 14.1.2 which I use and I suspect that Apple is not working on it due to the outdated OS. Sigh…
p.s. The problem does not seem to happen with my current versions of Google Chrome or Firefox. I’m just stuck in my old Safari ways.

Made an issue in case it’s an easy fix.

1 Like