Bug report #19597

OGR: "WARNING Cannot open <file>" when they seem to open fine?

Added by Loren Amelang almost 2 years ago. Updated almost 2 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/GDAL
Affected QGIS version:3.2.1 Regression?:No
Operating System:Windows 10 Creators with 3000x2000 screen and 175% scaling Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:27424

Description

During a session where I used:
Raster -> Extraction -> Clip Raster by Mask Layer
Raster -> Extraction -> Clip Raster by Extent
Raster -> Miscellaneous -> Merge

Each time I tried one of these operations with "Open Output File" checked, it made another OGR error, as in:

2018-08-09T17:56:41 WARNING Cannot open C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_435_to2226_clip_manual.tif.()
2018-08-09T18:01:12 WARNING Cannot open C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_436_to2226_clip_manual.tif.()
2018-08-09T18:11:12 WARNING Cannot open C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_2226_clip_man_merge.tif.()

All of those files (and lots more before them) appeared to open normally in the Layers menu. What can this mean?


Related issues

Related to QGIS Application - Bug report #19584: Raster Clip and Merge issues (QGIS 3.2.1) Closed 2018-08-10

Associated revisions

Revision 4930061b
Added by Nyall Dawson almost 2 years ago

[processing] Fix incorrect OGR warnings when loading raster layer results

Fixes #19597

Revision 41036141
Added by Nyall Dawson almost 2 years ago

[processing] Fix incorrect OGR warnings when loading raster layer results

Fixes #19597

(cherry-picked from 4930061b)

History

#1 Updated by Jürgen Fischer almost 2 years ago

#2 Updated by Giovanni Manghi almost 2 years ago

  • Priority changed from Low to Normal
  • Category changed from Processing/OGR to Processing/GDAL
  • Status changed from Open to Feedback

Other than the warning, the tools work as expected? can you see the same warnings/errors with the same data (and the same paths) on QGIS 2.18?

#3 Updated by Loren Amelang almost 2 years ago

@Giovanni,

Yes, the files appeared in my project as expected. I was surprised to see the warnings. I never had 2.18, I started this adventure with 3.0. Don't remember seeing such warnings when manipulating vector files, in any version, but maybe I just didn't look in that section of Messages. They don't pop up by themselves anywhere.

#4 Updated by Nyall Dawson almost 2 years ago

  • Status changed from Feedback to In Progress
  • Pull Request or Patch supplied changed from No to Yes

#5 Updated by Nyall Dawson almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

#6 Updated by Giovanni Manghi almost 2 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF