-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDAL python tools are broken in QGIS 3.4.4/master #29028
Comments
Author Name: Alexander Bruy (@alexbruy) I can confirm on Windows with master/3.4, but errors are a slightly different. 3.4 complains about missed gdal_merge.bat, while in master it can not find gdal_merge.py |
Author Name: Giovanni Manghi (@gioman) Alexander Bruy wrote:
confimed here the slightly different message. |
Author Name: Nyall Dawson (@nyalldawson) So this is an osgeo4w packaging issue, right? Not qgis?
|
Author Name: Giovanni Manghi (@gioman) Nyall Dawson wrote:
probably, but I'm afraid that at this point filing this bug only in the ogseo4w bug tracker will pass unnoticed and we will ship a new release with such important tools broken. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Nyall Dawson (@nyalldawson)
|
Author Name: Alexander Bruy (@alexbruy) OSGeo4W ticket https://trac.osgeo.org/osgeo4w/ticket/594 |
Author Name: Jürgen Fischer (@jef-n) Giovanni Manghi wrote:
Does @gdal_merge.bat@ exist in @%OSGEO4W_ROOT%\bin@? Should have been created by @etc/postinstall/gdal-python.bat@ (which runs @bin/make-bat-for-py.bat@) after @gdal-python@ was installed. |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n) Alexander Bruy wrote:
Oh, well. Findings so far: 3.4 runs the batch files which only @gdal-python@ (GDAL Py2 bindings) provides - but it's didn't depend on it, because QGIS normally uses python3 - hence the batch files calls fail. It starts working once that is installed (and a dependency was added). master was changed to run the scripts directly with python3 (see #28689). That only helps if if the scripts are in the current working directory - but that usually My expectation was, that python would look in @path@ or @PythonPath@ for script files - apparently not happening. |
Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 21210
Affected QGIS version: 3.5(master)
Redmine category:windows_package
for example gdal_merge
GDAL command:
cmd.exe /C gdal_merge.bat -ot Float32 -of GTiff -o C:/Users/qgis/AppData/Local/Temp/processing_7c972bb45de649dba703b37af8e39225/a14f75dc2cc3467ea263dfff8f94899e/OUTPUT.tif --optfile C:/Users/qgis/AppData/Local/Temp/processing_7c972bb45de649dba703b37af8e39225\mergeInputFiles.txt
GDAL command output:
'gdal_merge.bat' is not recognized as an internal or external command,
The text was updated successfully, but these errors were encountered: