Skip to main content
Title changed, Content Structured, Tag added, Tag deleted
Source Link
Taras
  • 34.1k
  • 4
  • 73
  • 148

QGIS- Model works onfor single layer execution,but errors out when run asfor batch process

I have a pretty simple model in QGIS that I am trying to use as a batch process. The

The model takes a line shapefile input, creates a temporary buffer, extracts by location using that created buffer, and then merges the extracted location shapefile with originally inputted line file.
When

When I execute it on a single layer it works fine and outputs as desired, however, when I try to use it as a batch process it errors out. The

The Python error that kicks up:

Traceback (most recent call last):

Traceback (most recent call last):

File "C "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line line 88, in runAlgorithm parameters[param parameters[param.name()] = wrapper.parameterValue()   
AttributeError: 'NoneType' object has no attribute 'parameterValue'

And the model:

enter image description heremodel

QGIS- Model works on single layer execution, errors out when run as batch

I have a pretty simple model in QGIS that I am trying to use as a batch process. The model takes a line shapefile input, creates a temporary buffer, extracts by location using that created buffer, and then merges the extracted location shapefile with originally inputted line file.
When I execute it on a single layer it works fine and outputs as desired, however when I try to use it as a batch process it errors out. The Python error that kicks up:

Traceback (most recent call last):

File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm parameters[param.name()] = wrapper.parameterValue()  AttributeError: 'NoneType' object has no attribute 'parameterValue'

And the model:

enter image description here

Model works for single layer but errors for batch process

I have a pretty simple model in QGIS that I am trying to use as a batch process.

The model takes a line shapefile input, creates a temporary buffer, extracts by location using that created buffer, and then merges the extracted location shapefile with originally inputted line file.

When I execute it on a single layer it works fine and outputs as desired, however, when I try to use it as a batch process it errors out.

The Python error that kicks up:

Traceback (most recent call last):

File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm parameters[param.name()] = wrapper.parameterValue() 
AttributeError: 'NoneType' object has no attribute 'parameterValue'

And the model:

model

Bumped by Community user
Tweeted twitter.com/StackGIS/status/1141133684654956544
naming; formatting
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65

I have a pretty simple model in QGIS that I am trying to use as a batch process. The model takes a line shapefile input, creates a temporary buffer, extracts by location using that created buffer, and then merges the extracted location shapefile with originally inputted line file.
When I execute it on a single layer it works fine and outputs as desired, however when I try to use it as a batch process it errors out. The pythonPython error that kicks up:

Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm parameters[param.name()] = wrapper.parameterValue() AttributeError: 'NoneType' object has no attribute 'parameterValue'

File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm parameters[param.name()] = wrapper.parameterValue() AttributeError: 'NoneType' object has no attribute 'parameterValue'

And the model:

enter image description here

I have a pretty simple model in QGIS that I am trying to use as a batch process. The model takes a line shapefile input, creates a temporary buffer, extracts by location using that created buffer, and then merges the extracted location shapefile with originally inputted line file.
When I execute it on a single layer it works fine and outputs as desired, however when I try to use it as a batch process it errors out. The python error that kicks up:

Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm parameters[param.name()] = wrapper.parameterValue() AttributeError: 'NoneType' object has no attribute 'parameterValue'

And the model:

enter image description here

I have a pretty simple model in QGIS that I am trying to use as a batch process. The model takes a line shapefile input, creates a temporary buffer, extracts by location using that created buffer, and then merges the extracted location shapefile with originally inputted line file.
When I execute it on a single layer it works fine and outputs as desired, however when I try to use it as a batch process it errors out. The Python error that kicks up:

Traceback (most recent call last):

File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm parameters[param.name()] = wrapper.parameterValue() AttributeError: 'NoneType' object has no attribute 'parameterValue'

And the model:

enter image description here

Source Link

QGIS- Model works on single layer execution, errors out when run as batch

I have a pretty simple model in QGIS that I am trying to use as a batch process. The model takes a line shapefile input, creates a temporary buffer, extracts by location using that created buffer, and then merges the extracted location shapefile with originally inputted line file.
When I execute it on a single layer it works fine and outputs as desired, however when I try to use it as a batch process it errors out. The python error that kicks up:

Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.6/apps/qgis/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 88, in runAlgorithm parameters[param.name()] = wrapper.parameterValue() AttributeError: 'NoneType' object has no attribute 'parameterValue'

And the model:

enter image description here