Bug report #21486
Error when loading batch processing file in Assign Projection tool
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
Associated revisions
[processing] add missed imports to batch panel (fix #21486)
[processing] add missed imports to batch panel (fix #21486)
(cherry picked from commit 80dd6d5203f448c2298a0c7e437febb360d18938)
History
#1 Updated by Giovanni Manghi over 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 over 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 over 5 years ago
- Pull Request or Patch supplied changed from No to Yes
#4 Updated by Alexander Bruy over 5 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|80dd6d5203f448c2298a0c7e437febb360d18938.