Bug report #22074

[processing][xyz tiles] error when outputting mbtile files in batch mode

Added by Saber Razmjooei almost 5 years ago. Updated almost 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/QGIS
Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29887

Description

I get the following error:

Traceback (most recent call last):
File "/usr/local/src/QGIS_master/build/output/python/plugins/processing/algs/qgis/TilesXYZ.py", line 376, in processAlgorithm
writer.writeTile(tile, tile_img)
File "/usr/local/src/QGIS_master/build/output/python/plugins/processing/algs/qgis/TilesXYZ.py", line 210, in writeTile
self._zoomDs.WriteRaster(xoff, yoff, self.tile_width, self.tile_height, data)
File "/usr/lib/python3/dist-packages/osgeo/gdal.py", line 2250, in WriteRaster
buf_type = self.GetRasterBand(1).DataType
AttributeError: 'NoneType' object has no attribute 'DataType'

History

#1 Updated by Saber Razmjooei almost 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF