Bug report #21486

Error when loading batch processing file in Assign Projection tool

Added by Andrew McAninch about 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/GDAL
Affected QGIS version:3.4.5 Regression?:No
Operating System:Windows 7 Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29303

Description

Im running QGIS LTR 3.4.5-1 and the nightly LTR 3.4.5-6 from OSGEO4W. I get the following error when loading a batch processing file in the Assign Projection Tool. The batch file was created with the same version of QGIS.

NameError: name 'QgsCoordinateReferenceSystem' is not defined
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\gui\BatchPanel.py", line 184, in load
value = eval(params[param.name()])
File "", line 1, in
NameError: name 'QgsCoordinateReferenceSystem' is not defined

test.zip (1.95 MB) Andrew McAninch, 2019-03-07 08:09 PM

Associated revisions

Revision 80dd6d52
Added by Alexander Bruy about 5 years ago

[processing] add missed imports to batch panel (fix #21486)

Revision bdf08058
Added by Alexander Bruy about 5 years ago

Merge pull request #9455 from alexbruy/fix-batch

[processing] add missed imports to batch panel (fix #21486)

Revision dc8db481
Added by Alexander Bruy about 5 years ago

[processing] add missed imports to batch panel (fix #21486)

(cherry picked from commit 80dd6d5203f448c2298a0c7e437febb360d18938)

Revision 7eee1284
Added by Alexander Bruy about 5 years ago

Merge pull request #9457 from alexbruy/backport-batch

[processing] add missed imports to batch panel (fix #21486)

History

#1 Updated by Giovanni Manghi about 5 years ago

  • Status changed from Open to Feedback

Can you please attach the batch file and sample data? Thanks.

PS
Is this about the gdal tool for rasters or the core qgis tool for vectors?

#2 Updated by Andrew McAninch about 5 years ago

  • Status changed from Feedback to Open
  • File test.zip added

The error is with the GDAL tool for rasters.

Ive attached a batch file and a small dataset.

#3 Updated by Alexander Bruy about 5 years ago

  • Pull Request or Patch supplied changed from No to Yes

#4 Updated by Alexander Bruy about 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF