Error executing algorithm v.clean: unsupported operand type(s) for +:'NoneType' and 'str'

2 posts Page 1 of 1
Posts: 1
Joined: Thu Jan 10, 2019 5:03 pm

Hello, I recently installed GNI and I’ve been experiencing a few problems trying to run an example.
I am attempting to run Step 1 (Create GPON demand and route line from OSG), I get an error at the 6/16 step of the process with the following error:
Running v.clean - Toolset for cleaning topology of vector map. [6/16]
Parameters: input =/var/folders/5p/0xxy4yx92hn4k7qkm3jfq33h0000gn/T/processing5072d046b8ad41879180f62b6a65b95c/67b30c7e4b7b4f9cb6b33923d8f592cd/linesLAYER.shp, tool =0, threshold =0.1, GRASS_REGION_PARAMETER =0.0,0.0,0.0,0.0, GRASS_SNAP_TOLERANCE_PARAMETER =-1, GRASS_MIN_AREA_PARAMETER =0.0001 min_area=0.0001 snap=-1 input="/var/folders/5p/0xxy4yx92hn4k7qkm3jfq33h0000gn/T/processing5072d046b8ad41879180f62b6a65b95c/67b30c7e4b7b4f9cb6b33923d8f592cd" layer=linesLAYER output=tmp1547154335464 --overwrite -o
g.region n=0.0 s=0.0 e=0.0 w=0.0 res=100
v.clean input="tmp1547154335464" tool=break threshold="0.1" output="output55bd49eae8244d90b624bc4e79c9974e" error="error55bd49eae8244d90b624bc4e79c9974e" --overwrite
v.out.ogr -s -e input=outpu
t55bd49eae8244d90b624bc4e79c9974e type=auto output="/var/folders/5p/0xxy4yx92hn4k7qkm3jfq33h0000gn/T/processing5072d046b8ad41879180f62b6a65b95c/9e0afa07eeb241d0bcd0a9e6c2862086" format=ESRI_Shapefile output_layer=output --overwrite
v.out.ogr -s -e input=error55bd49eae8244d90b624bc4e79c9974e type=auto output="/var/folders/5p/0xxy4yx92hn4k7qkm3jfq33h0000gn/T/processing5072d046b8ad41879180f62b6a65b95c/ce37e1d958744c13b80d091cdb7ff838" format=ESRI_Shapefile output_layer=error --overwrite

Error executing algorithm v.clean - Toolset for cleaning topology of vector map. unsupported operand type(s) for +: 'NoneType' and 'str' See log for more details

The log file provides the following additional information:
2019-01-10T21:05:35 2 Uncaught error while executing algorithm
Traceback (most recent call last):
File "/Applications/", line 203, in execute
File "/Applications/", line 297, in processAlgorithm
Grass7Utils.executeGrass7(self.commands, progress, self.outputCommands)
File "/Applications/", line 298, in executeGrass7
command, grassenv = Grass7Utils.prepareGrass7Execution(commands)
File "/Applications/", line 289, in prepareGrass7Execution
command = Grass7Utils.command + ' ' + os.path.join(Grass7Utils.grassMapsetFolder(), 'PERMANENT')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
2019-01-10T21:05:35 2 Error executing algorithm v.clean - Toolset for cleaning topology of vector map.
unsupported operand type(s) for +: 'NoneType' and 'str'
See log for more details

I was able to run the alternative Step 1 where I provided the demand, which ran without errors, but I noticed that the OSM route layer was not created, although the demand layer was successfully created. I also attempted to run step 2 with my own route file, but get a similar issue of “unsupported operand type(s) for +: 'NoneType' and 'str' “

It sounds like an installation issue and have attempted to reinstall, but still no problem.

Any pointers very appreciated. Thanks
Posts: 60
Joined: Wed Sep 20, 2017 1:05 pm


There is something wrong with GRASS GIS 7. Try to run the v.clean algorithm manually and check that it works correctly. If not I suggest you to reinstall QGIS and GRASS.

Best regards,
2 posts Page 1 of 1
ekskluzywne stoły stoły włoskie nowoczesne