[Qgis-user] QGIS3 macOS GRASS issues

Alex Mandel tech_dev at wildintellect.com
Thu Dec 20 22:39:51 PST 2018


Stace,

FYI, your post got buried as reply to a different thread, so some people
might miss it.

Looking at the error, it sounds like a classic python problem where
someone used spaces sometimes and tabs other times. What type of file is
grass74?
> TabError: inconsistent use of tabs and spaces in indentation
> File "/Applications/QGIS3.app/Contents/MacOS/grass/grass74"

I don't have a Mac so I can't test myself but I have some ideas at least
on that error. Also looks like it's be reported the bug
https://issues.qgis.org/issues/20705

Thanks,
Alex

On 12/20/18 16:12, Mr. Stace D Maples wrote:
> Has anyone managed to get a working install of QGIS3, with GRASS successfully working properly?
> 
> Could you share how you did it?
> 
> I literally just installed QGIS3 according to the ReadMe on a MacBook Pro, fresh out of the box. First thing on the machine other than the OS.
> 
> Still doesn’t work.
> 
> Is no-one else having this issue? I’ve been trying since QGIS3 came out and I’ve never been able to get a properly working install.
> 
> Yes, I’ve tried the Lutra Consulting installers, now, as well. Grass doesn’t work on those, either.
> 
> 
> Errors below:
> 
> ```
> Processing algorithm…
> Algorithm 'v.voronoi' starting…
> Input parameters:
> { '-a' : False, '-l' : False, '-s' : False, '-t' : False, 'GRASS_MIN_AREA_PARAMETER' : 0.0001, 'GRASS_OUTPUT_TYPE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : '-8475108.938998612,-8453077.913650313,4990639.536944103,5011374.619624854 [EPSG:3857]', 'GRASS_SNAP_TOLERANCE_PARAMETER' : -1, 'GRASS_VECTOR_DSCO' : '', 'GRASS_VECTOR_LCO' : '', 'input' : 'Point?crs=EPSG:3857&field=id:integer(10)&uid={dcf082ae-d9f8-4b71-b91a-d9c3cb4b6ea3}', 'output' : '/var/folders/f3/0prmkq7962795yfpwsmvh2100000gq/T/processing_e202206dfa1e4e1d9038f698007327ac/a2d53ae1fce54452a416bb024df6665f/output.gpkg', 'smoothness' : 0.25, 'thin' : -1 }
> 
> g.proj -c proj4="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"
> v.in.ogr min_area=0.0001 snap=-1.0 input="/var/folders/f3/0prmkq7962795yfpwsmvh2100000gq/T/processing_e202206dfa1e4e1d9038f698007327ac/9dd436b010ba45d89ad65ddd32ae13d3/input.shp" output="vector_5c1c2e331b6372" --overwrite -o
> g.region n=5011374.619624854 s=4990639.536944103 e=-8453077.913650313 w=-8475108.938998612
> v.voronoi input=vector_5c1c2e331b6372 smoothness=0.25 thin=-1 output=outputca662649e0e54d1d8bfdf9c18ce2b8c9 --overwrite
> v.out.ogr -c type="auto" input="outputca662649e0e54d1d8bfdf9c18ce2b8c9" output="/var/folders/f3/0prmkq7962795yfpwsmvh2100000gq/T/processing_e202206dfa1e4e1d9038f698007327ac/a2d53ae1fce54452a416bb024df6665f/output.gpkg" format="GPKG" --overwrite
> File "/Applications/QGIS3.app/Contents/MacOS/grass/grass74", line 1697
> sys.stdout.write("%s\n" % grass_version)
> ^
> TabError: inconsistent use of tabs and spaces in indentation
> File "/Applications/QGIS3.app/Contents/MacOS/grass/grass74", line 1697
> sys.stdout.write("%s\n" % grass_version)
> ^
> TabError: inconsistent use of tabs and spaces in indentation
> Execution completed in 0.56 seconds
> Results:
> {'output': <QgsProcessingOutputLayerDefinition {'sink':/var/folders/f3/0prmkq7962795yfpwsmvh2100000gq/T/processing_e202206dfa1e4e1d9038f698007327ac/a2d53ae1fce54452a416bb024df6665f/output.gpkg, 'createOptions': {'fileEncoding': 'System'}}>}
> 
> Loading resulting layers
> The following layers were not correctly generated.<ul><li>/var/folders/f3/0prmkq7962795yfpwsmvh2100000gq/T/processing_e202206dfa1e4e1d9038f698007327ac/a2d53ae1fce54452a416bb024df6665f/output.gpkg</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
> 
> ```
> 
> In F,L&T,
> Stace Maples
> Geospatial Manager
> Stanford Geospatial Center
> @mapninja
> staceymaples at G+
> Skype: stacey.maples
> 214.641.0920
> 
> Find GeoData: https://earthworks.stanford.edu
> Get GeoHelp: https://gis.stanford.edu/
> 
> "I have a map of the United States... actual size.
> It says, "Scale: 1 mile = 1 mile."
> I spent last summer folding it."
> -Steven Wright-
> 
\


More information about the Qgis-user mailing list