Skip to content

Misc initialization bugs #524

@JWCook

Description

@JWCook

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions