Opened 4 years ago

Closed 4 years ago

#639 closed defect (fixed)

qgis_process-qgis-dev doesn't set PATH properly (gdal302.dll and proj_7_2.dll not found errors)

Reported by: andreaerdna Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc:

Description (last modified by andreaerdna)

qgis-dev (3.15.0-15) and all the automatically selected dependencies installed via OSGeo4W network installer on Windows 10 64 bit.

In the OSGeo4W Shell, executing:

qgis_process-qgis-dev

the following error windows appear:

qgis_process.exe -System Error The code execution cannot proceed because gdal302.dll was not found. Reinstalling the program may fix this problem.

qgis_process.exe -System Error The code execution cannot proceed because proj_7_2.dll was not found. Reinstalling the program may fix this problem.

In fact, qgis_process-qgis-dev batch file doesn't add apps\gdal-dev\bin and apps\proj-dev\bin to the PATH.

To solve the issue, it seems sufficient to add:

call gdal-dev-py3-env.bat

in qgis_process-qgis-de, after the calls to the other batch files that set the environmental variables.

Change History (3)

comment:1 by andreaerdna, 4 years ago

Description: modified (diff)

comment:2 by andreaerdna, 4 years ago

Description: modified (diff)

comment:3 by jef, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.