You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_read_geodataframe catches every read failure, prints it, and falls through, so gdf is never bound and the next line raises UnboundLocalError instead of the real cause.
Reproduced by reading any shapefile or GeoJSON without pyogrio/fiona installed; the actual message ("requires the 'pyogrio' or 'fiona' package") only reaches stdout.
Applies to any read failure: bad path, corrupt file, or missing driver all produce the same misleading error.
_read_geodataframecatches every read failure, prints it, and falls through, sogdfis never bound and the next line raisesUnboundLocalErrorinstead of the real cause.pyogrio/fionainstalled; the actual message ("requires the 'pyogrio' or 'fiona' package") only reaches stdout.