Opened 3 months ago

Last modified 3 months ago

#867 new defect

python3-fiona broken in latest release

Reported by: Christina Ratcliff Owned by: osgeo4w-dev@…
Priority: critical Component: Package
Version: Keywords:
Cc:

Description

After installing python3-fiona, import fiona fails with

>>> import fiona
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\PROGRA~1\QGIS34~1.2\apps\Python312\Lib\site-packages\fiona\__init__.py", line 42, in <module>
    from fiona._env import (
ImportError: DLL load failed while importing _env: The specified procedure could not be found.

Change History (5)

comment:1 by andreaerdna, 3 months ago

I cannot replicate the issue on my Windows 10 system with qgis 3.40.3-1, gdal 3.10.1-1, fiona 1.10.1-1. Have you used the OSGeo4W Network installer or the QGIS standalone installer?

comment:2 by Christina Ratcliff, 3 months ago

I have tried to install python3-fiona 1.10.1-1 with both the OSGeo4W Network installer and the QGIS standalone and get the same error.

From existing install using OsGeo4W on Windows 10

GDAL
QGIS 3.40.2-Bratislava 3.9.3
LTR 3.34.14-Prizren 3.9.3

From Standalone Installer on Windows Server 2016 VM with fresh QGIS installs.

GDALGDAL309-runtimeGDAL310-runtime
QGIS 3.40.2-Bratislava 3.9.33.9.3-23.10.1-1
LTR 3.34.14-Prizren 3.9.33.9.3-23.10.1-1

I am using OSGeo4W command line to install the packages.

"%OSGEO4W_ROOT%\bin\osgeo4w-setup.exe" -q -b -A -k -n -s http://download.osgeo.org/osgeo4w/v2 -P python3-geopandas -P python3-rasterio -P python3-fiona

python3-fiona 1.9.6-3 is compatible with the above. Is there a switch for using the previous version when using the command line?

comment:3 by jef, 3 months ago

also upgrade the existing packages.

comment:4 by Christina Ratcliff, 3 months ago

I've tried adding --upgrade-also but this upgrades everything ie GRASS not just the requested package dependencies.

Shouldn't installing python3-fiona also upgrade packages if needed? As far as I can tell the requirements in the setup.hint file have been met.

Can I assume that this version of fiona is not compatible with GDAL 3.9.3 and QGIS 3.40.2?

comment:5 by Christina Ratcliff, 3 months ago

For others who may find this issue the same applies to rasterio - see Jef's reply (https://trac.osgeo.org/osgeo4w/ticket/868).

Note: See TracTickets for help on using tickets.