data.gov icon indicating copy to clipboard operation
data.gov copied to clipboard

AttributeError in geodatagov in not handled

Open FuhuXia opened this issue 2 years ago • 2 comments

NewRelic Log review shows 4k AttributeError in 1 week in catalog-admin.

sample error message:

Error while indexing dataset 1595b7d0-1719-4704-91ff-368fbad89c4a: AttributeError("'NoneType' object has no attribute 'get'")

Expected behavior

Error is handled.

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

FuhuXia avatar Feb 20 '24 17:02 FuhuXia

Same error appeared in db-solr-sync task which stopped the job from syncing remains datasets. image

FuhuXia avatar Mar 11 '24 16:03 FuhuXia

duplicate of https://github.com/GSA/data.gov/issues/4494

FuhuXia avatar Mar 11 '24 16:03 FuhuXia

~Requires https://github.com/GSA/data.gov/issues/5268 to be completed as we do need to deploy the package to pypi~ I misunderstood the comment in https://github.com/GSA/data.gov/issues/5268 this okay.

cmhedrickREI avatar May 29 '25 17:05 cmhedrickREI

FYI: the PyPI message is a warning of future changes. Our current PyPI publishing still works.

neilmb avatar May 29 '25 17:05 neilmb