Bug report #9924
gdal_merge does not work
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18435|
In GDAL 1.10.1 gdal_merge.py was renamed to gdal_merge. As a consequence, both GDALTools and Processing corresponding commands do not work.
This may affect other GDAL commands.
#2 Updated by Alexander Bruy almost 8 years ago
Hmm... as I can see in sources it still listed as gdal_merge.py (http://trac.osgeo.org/gdal/browser/tags/1.10.1/gdal/swig/python/scripts)
#5 Updated by Bas Couwenberg almost 8 years ago
The Debian package indeed strips the .py extension to conform to the Debian Policy (10.4 Scripts).
It's a "should" requirement, so we could chose to not strip the extension and just add a lintian override to not have it complain about this issue, but I'd prefer to support both variants in QGIS. Checking the file with and without extension shouldn't require much code.
#9 Updated by Bas Couwenberg almost 8 years ago
The GDAL plugins in QGIS heavily rely on the .py extension, so I think the best course of action is to revert the change in the GDAL Debian package.
Ubuntu trusty has gdal 1.10.1+dfsg-3, and because they're in pre-release freeze unlikely to sync gdal 1.10.1+dfsg-5 once it's available in Debian. Although they may consider it if asked about it explicitly.
#10 Updated by Bas Couwenberg almost 8 years ago
I've reverted the change that strips the .py extension in the gdal package for Debian, now available in unstable.
I've also filed a sync request for Ubuntu trusty: https://bugs.launchpad.net/ubuntu/+source/gdal/+bug/1301763