Bug report #17703

v.split.vert Model Builder dialog box

Added by Nathan Saylor over 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Modeller
Affected QGIS version:master Regression?:Yes
Operating System:Windows 7 Easy fix?:Yes
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25600

Description

v.split.vert dialog box in Model Builder is missing "Split by vertices<OutputVector>" label and input and not allowing it to continue. I'm assuming it's an easy fix. Apologies I don't have the absolute latest build.

Below is the error report.

An error has occurred while executing Python code:

KeyError: 'output'
Traceback (most recent call last):
File "E:/PROGRA~2/QGIS2~1.99/apps/qgis-dev/./python/plugins\processing\modeler\ModelerParametersDialog.py", line 357, in okPressed
alg = self.createAlgorithm()
File "E:/PROGRA~2/QGIS2~1.99/apps/qgis-dev/./python/plugins\processing\modeler\ModelerParametersDialog.py", line 334, in createAlgorithm
name = str(self.valueItems[dest.name()].text())
KeyError: 'output'

Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)]
QGIS version: 2.99.0-Master Master, 57dc9deb06

Python Path:
E:/PROGRA~2/QGIS2~1.99/apps/qgis-dev/./python/plugins\processing
E:/PROGRA~2/QGIS2~1.99/apps/qgis-dev/./python
C:/Users/lmoore/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/lmoore/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
E:/PROGRA~2/QGIS2~1.99/apps/qgis-dev/./python/plugins
E:\Program Files\QGIS 2.99\bin\python36.zip
E:\PROGRA~2\QGIS2~1.99\apps\Python36\DLLs
E:\PROGRA~2\QGIS2~1.99\apps\Python36\lib
E:\Program Files\QGIS 2.99\bin
E:\PROGRA~2\QGIS2~1.99\apps\Python36
E:\PROGRA~2\QGIS2~1.99\apps\Python36\lib\site-packages
C:/Users/lmoore/AppData/Roaming/QGIS/QGIS3\profiles\default/python

grass.jpg - compare (91.5 KB) Nathan Saylor, 2017-12-27 05:26 PM

Associated revisions

Revision 097a437a
Added by Nyall Dawson over 6 years ago

[processing] Fix missing outputs in modeler for grass algs (fixes #17703)

History

#1 Updated by Alexander Bruy over 6 years ago

  • Status changed from Open to Feedback

Please try with latest master, GRASS algorithms were updated recently

#2 Updated by Nathan Saylor over 6 years ago

Alexander Bruy wrote:

Please try with latest master, GRASS algorithms were updated recently

With the 12/25 weekly build, the output box is still missing. As the error report indicates, there's no destination variable assigned, so the tool doesn't know what to do with the result if it's run.

Looking through, these are missing from all the GRASS Vector and Visualization dialog boxes in the Processing Modeler, but not missing in the regular Processing Toolbox. It is there for the other GRASS tools in the Processing Modeler.

compare

#3 Updated by Nyall Dawson over 6 years ago

  • Regression? changed from No to Yes

#4 Updated by Nyall Dawson over 6 years ago

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

#5 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF