ReagentX / purple_air_api

Python package to get and transform PurpleAir data
https://pypi.org/project/purpleair/
GNU General Public License v3.0
51 stars 19 forks source link

Missing Parent Problem #70

Closed jackson-waschura closed 3 years ago

jackson-waschura commented 3 years ago

I've run into the "Child 5843 lists parent 5842, but parent does not exist!" error and I read through the FAQ and found that deleting the cache.sqlite file might help, but unfortunately it did not. I also see that this is an issue on purpleair's side, not this program, but it entirely prevents SensorList from working while the issue persists. Would it be viable for SensorList to accept a flag that would tell it to ignore these kinds of mismatches when constructing the sensor network?

ReagentX commented 3 years ago

Yes, this package should more gracefully handle this failure. Hopefully it’s temporary and it resolves itself, but I will add some code to handle this case.

ReagentX commented 3 years ago

Is this bug still present?