Closed st-man closed 8 months ago
Indeed, I never considered that the pint database could be offline. I'll change the logic to ignore that on the first try and use the cached data instead.
There. I simulated non-fatal and fatal errors while downloading cloud data, and treated them accordingly.
Now it's like this: scc-tools/vercheck.py -dvf ./scc_dir/ loaded 8613 items from cache (/home/user/.cache/scc-tools/scc_data.json)
TypeError: list indices must be integers or slices, not str
Sorry, reopening issue.
Interesting, we have a unique situation here: only ONE report is causing a permanent 502 error while downloading the public image information from PINT. I'm adding proper error handling on this case.
Could you test this again, @st-man ?
Haven't had error reports after the change, closing the issue.
loaded 16277 items from cache (/home/user/.cache/scc-tools/scc_data.json) loaded 5 items from cache (/home/user/.cache/scc-tools/public_cloud_amazon.json)