CaptainDang / save_all

3 stars 1 forks source link

name 'SymbologyExport' is not defined in recent QGIS #7

Open AlisterH opened 3 months ago

AlisterH commented 3 months ago

In recent QGIS versions there is this error:

NameError: name 'SymbologyExport' is not defined 
Traceback (most recent call last):
  File "C:\Users/alister/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SaveAllScript\save_all.py", line 332, in run
    symbologyExport=SymbologyExport)
NameError: name 'SymbologyExport' is not defined

This change might be related, but also QgsVectorFileWriter.writeAsVectorFormat is deprecated anyway.

AlisterH commented 2 months ago

FWIW I worked around it by just deleting the whole symbologyExport thing.