Skip to content

Census problem: TypeError: W.ckmeans(...)[4] is undefined #276

@sentry

Description

@sentry

This means there is no fifth class of our 5-class symbology for census data. My guess is that if we're only see this error once in Sentry, maybe user clicked a census dropdown item (I'm guessing tracts because AT takes ages to bring the 2k records in 100 rows at a time) before it was ready.

Still, it shouldn't break the world, so if we see this again then make sure to disable the dropdown until tracts are done loading. I want to say I'm not pre-loading PUMA because it's such a small number of rows, so tracts would be the focus for a first line of defense.

Sentry Issue: LANGUAGE-MAPPING-4M

TypeError: W.ckmeans(...)[4] is undefined
  at He/m</< (/static/js/main.d1147884.chunk.js:1:119514)
  at is (/static/js/4.6b54c56f.chunk.js:2:2130476)
  at gl (/static/js/4.6b54c56f.chunk.js:2:2149617)
  at e.unstable_runWithPriority (/static/js/4.6b54c56f.chunk.js:2:2167935)
  at qi (/static/js/4.6b54c56f.chunk.js:2:2092063)
...
(10 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions