Skip to content
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

fail to merge rasters on macOS #49296

Closed
2 tasks
yukihuang0422 opened this issue Jul 9, 2022 · 7 comments
Closed
2 tasks

fail to merge rasters on macOS #49296

yukihuang0422 opened this issue Jul 9, 2022 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@yukihuang0422
Copy link

What is the bug or the crash?

When I was trying to merge 3 rasters, the GDAL command output:
Process gdal_merge.py failed to start. Either gdal_merge.py is missing, or you may have insufficient permissions to run the program.

The whole log is:
Processing algorithm…
Algorithm 'Merge' starting…
Input parameters:
{ 'DATA_TYPE' : 5, 'EXTRA' : '', 'INPUT' : ['/Users/yuki_huang/Library/Application Support/QGIS/QGIS3/profiles/default/processing/outputs/merge_2.vrt','/Users/yuki_huang/Library/Application Support/QGIS/QGIS3/profiles/default/processing/outputs/merge_3.vrt','/Users/yuki_huang/Library/Application Support/QGIS/QGIS3/profiles/default/processing/outputs/merge.vrt'], 'NODATA_INPUT' : None, 'NODATA_OUTPUT' : None, 'OPTIONS' : '', 'OUTPUT' : 'TEMPORARY_OUTPUT', 'PCT' : False, 'SEPARATE' : False }

GDAL command:
gdal_merge.py -ot Float32 -of GTiff -o /private/var/folders/6n/2l97lvf57ybb_y78ktcgt6b80000gn/T/processing_ehhETO/4a465f20eb5a4283892d2dfcdffad7d6/OUTPUT.tif --optfile /private/var/folders/6n/2l97lvf57ybb_y78ktcgt6b80000gn/T/processing_ehhETO/3cb209287d10442d8b99cec38e28794e/mergeInputFiles.txt
GDAL command output:
Process gdal_merge.py failed to start. Either gdal_merge.py is missing, or you may have insufficient permissions to run the program.
Execution failed after 0.08 seconds

Loading resulting layers
Algorithm 'Merge' finished

Steps to reproduce the issue

  1. Go to Toolbar
  2. Click on Raster
  3. Choose Miscellaneous -> Merge...
  4. Choose rasters, then click run
  5. See error

Versions

QGIS version: 3.18.3-Zürich
Qt version: 5.15.2
GDAL version: 3.2.2
GEOS version: 3.9.1-CAPI-1.14.2
PROJ version: Rel. 7.2.1, January 1st, 2021

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS version 3.18.3-Zürich QGIS code branch Release 3.18
Compiled against Qt 5.15.2 Running against Qt 5.15.2
Compiled against GDAL/OGR 3.2.2 Running against GDAL/OGR 3.2.2
Compiled against GEOS 3.9.1-CAPI-1.14.2 Running against GEOS 3.9.1-CAPI-1.14.2
Compiled against SQLite 3.35.2 Running against SQLite 3.35.2
PostgreSQL Client Version 12.5 SpatiaLite Version 5.0.1
QWT Version 6.1.6 QScintilla2 Version 2.11.6
Compiled against PROJ 7.2.1 Running against PROJ Rel. 7.2.1, January 1st, 2021
OS Version macOS 11.6
Active python plugins SemiAutomaticClassificationPlugin; ee_plugin; pca4cd; processing; db_manager; MetaSearch
QGIS version 3.18.3-Zürich QGIS code branch [Release 3.18](https://github.com/qgis/QGIS/tree/release-3_18) Compiled against Qt 5.15.2 Running against Qt 5.15.2 Compiled against GDAL/OGR 3.2.2 Running against GDAL/OGR 3.2.2 Compiled against GEOS 3.9.1-CAPI-1.14.2 Running against GEOS 3.9.1-CAPI-1.14.2 Compiled against SQLite 3.35.2 Running against SQLite 3.35.2 PostgreSQL Client Version 12.5 SpatiaLite Version 5.0.1 QWT Version 6.1.6 QScintilla2 Version 2.11.6 Compiled against PROJ 7.2.1 Running against PROJ Rel. 7.2.1, January 1st, 2021 OS Version macOS 11.6 Active python plugins SemiAutomaticClassificationPlugin; ee_plugin; pca4cd; processing; db_manager; MetaSearch

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

This is the screenshot of error.
image

@yukihuang0422 yukihuang0422 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jul 9, 2022
@DelazJ
Copy link
Contributor

DelazJ commented Jul 10, 2022

QGIS version: 3.18.3-Zürich

@yukihuang0422 can you please test on a more recent version (3.22/3.26)? 3.18 has reached its end of life and related issues are no longer treated.

@DelazJ DelazJ added the Feedback Waiting on the submitter for answers label Jul 10, 2022
@yukihuang0422
Copy link
Author

Hi, I have change to 3.22. Now I have run into the following problem:
image
I have tried method from #39801, but it doesn't work.

Versions

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS version 3.22.8-Białowieża QGIS code revision 2c33bc4
Qt version 5.14.2
Python version 3.8.7
GDAL/OGR version 3.2.1
PROJ version 6.3.2
EPSG Registry database version v9.8.6 (2020-01-22)
GEOS version 3.9.1-CAPI-1.14.2
SQLite version 3.31.1
PostgreSQL client version 12.3
SpatiaLite version 4.3.0a
QWT version 6.1.4
QScintilla2 version 2.11.4
OS version macOS 11.6
       
Active Python plugins
ee_plugin 0.0.4
pca4cd 22.2.12
processing 2.12.99
sagaprovider 2.12.99
grassprovider 2.12.99
db_manager 0.1.20
MetaSearch 0.3.5
SemiAutomaticClassificationPlugin 7.10.6
QGIS version 3.22.8-Białowieża QGIS code revision [2c33bc4](https://github.com/qgis/QGIS/commit/2c33bc4c29) Qt version 5.14.2 Python version 3.8.7 GDAL/OGR version 3.2.1 PROJ version 6.3.2 EPSG Registry database version v9.8.6 (2020-01-22) GEOS version 3.9.1-CAPI-1.14.2 SQLite version 3.31.1 PostgreSQL client version 12.3 SpatiaLite version 4.3.0a QWT version 6.1.4 QScintilla2 version 2.11.4 OS version macOS 11.6

Active Python plugins
ee_plugin
0.0.4
pca4cd
22.2.12
processing
2.12.99
sagaprovider
2.12.99
grassprovider
2.12.99
db_manager
0.1.20
MetaSearch
0.3.5
SemiAutomaticClassificationPlugin
7.10.6

@agiudiceandrea
Copy link
Contributor

See also qgis/QGIS-Mac-Packager#151, #48574, #39801.

@Pedro-Murteira Pedro-Murteira added the Processing Relating to QGIS Processing framework or individual Processing algorithms label Jul 11, 2022
@github-actions
Copy link

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jul 26, 2022
@DelazJ DelazJ removed Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close. labels Jul 26, 2022
@gioman
Copy link
Contributor

gioman commented Aug 8, 2022

@DelazJ I think we can close this in favor of qgis/QGIS-Mac-Packager#151 agree?

@gioman gioman added the Feedback Waiting on the submitter for answers label Aug 8, 2022
@gioman gioman changed the title fail to merge rasters fail to merge rasters on macOS Aug 8, 2022
@github-actions
Copy link

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Aug 23, 2022
@github-actions
Copy link

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue.
Or, if you have any further questions, there are also further support channels that can help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

5 participants