Following up from #452 (comment)
- Handle observation with no taxon: https://www.inaturalist.org/observations/106755362
- Handle observation with no
place_guess (failed reverse geocoding lookup on iNat's end?): https://www.inaturalist.org/observations/335231414
- Handle
taxon.preferred_common_name as a dict: I wasn't able to reproduce this, but it indicates either A) the API is returning something unexpected, or B) some metadata may not be making the round trip correctly (iNat observation -> Darwin Core in XMP metadata -> back to iNat observation). I at least added error handling + logging for this case.
- Fullscreen issue: macOS has additional window flags: title bar, window stacking, transition animations, dock and menubar integration. It's also more strict than Linux or Windows about incomplete flag state. Replacing existing flags caused the window to become invisible. WindowFlags reference: https://doc.qt.io/qt-6/qt.html#WindowType-enum
TODO: many of these null/type checks could be moved to pyinaturalist models
Following up from #452 (comment)
place_guess(failed reverse geocoding lookup on iNat's end?): https://www.inaturalist.org/observations/335231414taxon.preferred_common_nameas a dict: I wasn't able to reproduce this, but it indicates either A) the API is returning something unexpected, or B) some metadata may not be making the round trip correctly (iNat observation -> Darwin Core in XMP metadata -> back to iNat observation). I at least added error handling + logging for this case.TODO: many of these null/type checks could be moved to pyinaturalist models