[QGIS-Developer] Model accidentally saved in higher QGIS version

Andreas Neumann a.neumann at carto.net
Fri Aug 14 06:35:18 PDT 2020


Hi, 

I worked on a rather complex processing model. I normally work in
version 3.10, but once I accidentally (without realizing) opened the
model in 3.15 master and saved it. 

Now I can't open the model accidentally saved in 3.15 in 3.10 anymore. 

I get this error message: 

-------- 

Traceback (most recent call last):
  File
"C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerDialog.py",
line 759, in openModel
    self.loadModel(filename)
  File
"C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerDialog.py",
line 768, in loadModel
    self.repaintModel()
  File
"C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerDialog.py",
line 786, in repaintModel
    self.scene.paintModel(self.model, controls)
  File
"C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerScene.py",
line 122, in paintModel
    item = ModelerGraphicItem(alg, model, controls, scene=self)
  File
"C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerGraphicItem.py",
line 84, in __init__
    if element.algorithm().svgIconPath():
AttributeError: 'NoneType' object has no attribute 'svgIconPath' 

------------- 

Any chance that I could open my model (a lot of work went into it) in
3.10 again? Some things I would have to strip out in some text editor? 

Thanks for any ideas, 

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200814/da379ba4/attachment.html>


More information about the QGIS-Developer mailing list