Bug report #9107
remove GRASS nviz from modeller
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17750|
I test a small model using NVIZ as my final algorithm. When try to use the NVIZ in model of the modeler gives a python error. And don't let me save or continue inserting algorithms in the model.
QGIS version 2.0.1-Dufour | QGIS code revision ebebdf3
Compiled against Qt 4.7.1 | Running against Qt 4.7.1
Compiled against GDAL/OGR 1.10.1 | Running against GDAL/OGR 1.10.1
Compiled against GEOS 3.3.8-CAPI-1.7.8 | Running against GEOS 3.4.2-CAPI-1.8.2 r3921
PostgreSQL Client Version 8.3.10 | SpatiaLite Version 4.1.1
QWT Version 5.2.1 | PROJ.4 Version 480
QScintilla2 Version 2.6.2
Anyone have the same experience?
Meanwhile i saw a new update of processing i will update and test again.
#2 Updated by João Gaspar almost 8 years ago
- File 3Dmodel.model added
When i say small is simple: 1 raster (elevation) and 1 raster (color) and the algorithm NVIZ
Yes but only with the input data (I define for a raster layer the elevation and the other raster layer i define the color) because when i click in algorithm and select the rasters in NVIZ and click OK than give me the previous attachment error that i sent. And then don't let me put other algorithms or save and then i'm "force" to exit without save.
Try put the algorithm NVIZ to see if give an error.
If give you an error then try put another algorithm, in my case modeler give an error with all algorithms and file types that i try to put and I need to close without save and start again the modeler.
#3 Updated by Giovanni Manghi almost 8 years ago
- Subject changed from Error using algorithms and files after Put the NVIZ in the model to python error when adding nviz in a model
When adding nviz in a model the following pyhton error shows.
Probably it would be better to remove nviz from the modeller, I don't think makes much sense there, unless I'm missing something :)
Traceback (most recent call last):
File "/home/giovanni/.qgis2/python/plugins/processing/modeler/ModelerDialog.py", line 324, in addAlgorithm
File "/home/giovanni/.qgis2/python/plugins/processing/modeler/ModelerDialog.py", line 281, in repaintModel
File "/home/giovanni/.qgis2/python/plugins/processing/modeler/ModelerScene.py", line 146, in paintModel
File "/home/giovanni/.qgis2/python/plugins/processing/modeler/ModelerScene.py", line 87, in getItemsFromAAP
aap = AlgorithmAndParameter(float(token.split('|')),
ValueError: could not convert string to float: