https://issues.qgis.org/
https://issues.qgis.org/favicon.ico
2018-05-31T20:05:41Z
QGIS Issue Tracking
QGIS Application - Bug report #19073: QGIS3.0.x GRASS PATH problem: "ERROR: Path '/<UNKNOWN>/<UNKNOWN>' doesn't exist"
https://issues.qgis.org/issues/19073?journal_id=89948
2018-05-31T20:05:41Z
Garth Fletcher
garth@jacqcad.com
<ul></ul><p>To further characterize the issue I checked many other GRASS Imagery and Raster tools which seemed to be appropriate for a single DEM raster layer.</p>
<p>Every single one I tested failed with the same "ERROR: Path '/<UNKNOWN>/<UNKNOWN>' doesn't exist" message.</p>
<p>The GRASS tools tested included:<br />Imagery (i.*)<br /> i.fft, i.zc <br />Raster (r.*)<br /> r.buffer, r.buffer.lowmem, r.clump, r.contour, r.drain, r.fill.dir, r.flow, r.grow, r.info, r.relief, r.report, r.shade, r.slope.aspect, r.stats, r.stream.extract, r.surf.contour, r.watershed</p>
<p>Clearly seems to be a systematic issue with how QGIS sets up the calling environment for GRASS...</p>
QGIS Application - Bug report #19073: QGIS3.0.x GRASS PATH problem: "ERROR: Path '/<UNKNOWN>/<UNKNOWN>' doesn't exist"
https://issues.qgis.org/issues/19073?journal_id=90069
2018-06-04T06:03:30Z
Ronan L
ronanl@sctg.eu.org
<ul><li><strong>File</strong> <a href="/attachments/download/12771/Capture%20d%E2%80%99%C3%A9cran%202018-06-04%20%C3%A0%2007.58.00.png">Capture d’écran 2018-06-04 à 07.58.00.png</a> added</li></ul><p>Garth Fletcher wrote:</p>
<blockquote>
<p>To further characterize the issue I checked many other GRASS Imagery and Raster tools which seemed to be appropriate for a single DEM raster layer.</p>
<p>Every single one I tested failed with the same "ERROR: Path '/<UNKNOWN>/<UNKNOWN>' doesn't exist" message.</p>
<p>The GRASS tools tested included:<br />Imagery (i.*)<br />i.fft, i.zc <br />Raster (r.*)<br />r.buffer, r.buffer.lowmem, r.clump, r.contour, r.drain, r.fill.dir, r.flow, r.grow, r.info, r.relief, r.report, r.shade, r.slope.aspect, r.stats, r.stream.extract, r.surf.contour, r.watershed</p>
<p>Clearly seems to be a systematic issue with how QGIS sets up the calling environment for GRASS...</p>
</blockquote>
<p>I'm not sure it is an "Easy Fix" I already reported that <a class="external" href="https://issues.qgis.org/issues/18992">https://issues.qgis.org/issues/18992</a> <br />I added 3 environment variables in QGIS/Preferences/Systems:<br />LC_ALL=fr_FR.UTF_8<br />TERM=xterm<br />PATH=/Applications/QGIS3.app/Contents/MacOS/grass:/Applications/QGIS3.app/Contents/MacOS/grass/bin:/Applications/QGIS3.app/Contents/MacOS/grass/scripts:/Library/Frameworks/GDAL.framework/Programs:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands</p>
<p>I tried also created the missing path by entering in a terminal:<br />sudo mkdir -p '/<UNKNOWN>/<UNKNOWN>'<br />sudo chown -R Ronan /\<UNKNOWN\></p>
<p>It removes all the error but GRASS still does not work…</p>
QGIS Application - Bug report #19073: QGIS3.0.x GRASS PATH problem: "ERROR: Path '/<UNKNOWN>/<UNKNOWN>' doesn't exist"
https://issues.qgis.org/issues/19073?journal_id=90644
2018-07-03T17:40:24Z
Dewey Dunnington
dewey@fishandwhistle.net
<ul></ul><p>Definitely still an issue in 3.2 (Mac OSX 10.13.4).</p>
QGIS Application - Bug report #19073: QGIS3.0.x GRASS PATH problem: "ERROR: Path '/<UNKNOWN>/<UNKNOWN>' doesn't exist"
https://issues.qgis.org/issues/19073?journal_id=99192
2019-01-29T07:54:20Z
Loïc BARTOLETTI
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>I just tested r.buffer (and others) with QGIS 3.4.3 and Grass 7.4.4 (macOS Mojave) and I have no errors. Can you confirm your problem?</p>
QGIS Application - Bug report #19073: QGIS3.0.x GRASS PATH problem: "ERROR: Path '/<UNKNOWN>/<UNKNOWN>' doesn't exist"
https://issues.qgis.org/issues/19073?journal_id=99253
2019-01-29T15:57:43Z
Garth Fletcher
garth@jacqcad.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul><p>Tested using r.contour<br />QGIS 3.4.3 - FAILS<br />QGIS 3.4.4 - FAILS</p>
<p>However, QGIS 3.2.2 - WORKS</p>
<p>=======================================<br />Environment
=======================================<br />Mac OS X 10.12.6 (Sierra)</p>
<p>project & data location:<br />/Users/garthfletcher/_QGIS_DEBUG/19073/<br /> 19073.qgs<br /> DEM_Clip_feet_Real.tif<br /> DEM_Clip_feet_Real.tif.aux.xml</p>
<p>layer info:<br />Name NED_Clip_Ft_3614<br />Path /Users/garthfletcher/_QGIS_DEBUG/19073/DEM_Clip_feet_Real.tif<br />CRS EPSG:3614 - <abbr title="NSRS2007">NAD83</abbr> / New Hampshire (ftUS) - Projected<br />Extent -72.0005555551940688,41.9994444445064232 : -70.9994444448046238,43.0005555548958682<br />Unit feet<br />Width 10812<br />Height 10812<br />Data type Float32 - Thirty two bit floating point <br />GDAL Driver Description GTiff<br />GDAL Driver Metadata GeoTIFF<br />Dataset Description /Users/garthfletcher/_QGIS_DEBUG/19073/DEM_Clip_feet_Real.tif</p>
<p>=======================================<br />QGIS 3.4.3 {QGIS-macOS-3.4.3-1.dmg}
=======================================<br />QGIS version 3.4.3-Madeira<br />QGIS code branch Release 3.4<br />Compiled against Qt 5.11.2<br />Running against Qt 5.11.2<br />Compiled against GDAL/OGR 2.3.2<br />Running against GDAL/OGR 2.3.3<br />Compiled against GEOS 3.7.0-CAPI-1.11.0<br />Running against GEOS 3.7.1-CAPI-1.11.1 27a5e771<br />PostgreSQL Client Version 9.6.10<br />SpatiaLite Version 4.4.0-RC1<br />QWT Version 6.1.3<br />QScintilla2 Version 2.10.8<br />PROJ.4 Version 493</p>
<p>---------------------------------------<br />r.contour<br />---------------------------------------<br />2019-01-29T10:25:59 INFO GRASS GIS 7 execution commands<br /> g.proj -c proj4="+proj=tmerc +lat_0=42.5 +lon_0=-71.66666666666667 +k=0.999966667 +x_0=300000.0000000001 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs" <br /> r.external input="/Users/garthfletcher/_QGIS_DEBUG/19073/DEM_Clip_feet_Real.tif" band=1 output="rast_5c507086f23043" --overwrite -o<br /> g.region n=43.00055555489587 s=41.99944444450642 e=-70.99944444480462 w=-72.00055555519407 res=9.259259252584582e-05<br /> r.contour input=rast_5c507086f23043 step=10 cut=0 output=output28b818f9c2bd4190ae5ba8c9822b7554 --overwrite<br /> v.out.ogr -c type="auto" input="output28b818f9c2bd4190ae5ba8c9822b7554" output="/var/folders/h5/jbjhn4xs6x37xt_2m6x2nkbm0000gp/T/processing_459afd8822914dd482e153f7180badbd/758918b4f6694fcfa76bd14bb13489ac/output.gpkg" format="GPKG" --overwrite<br />2019-01-29T10:26:00 INFO GRASS GIS 7 execution console output<br /> WARNING: Default locale settings are missing. GRASS running with C locale.</p>
<pre><code>Default locale not found, using UTF-8</code></pre>
<pre><code>Traceback (most recent call last):</code></pre>
<pre><code>File "/Applications/QGIS_3_4_3-1.app/Contents/MacOS/grass/grass74", line 2029, in</code></pre>
<pre><code>main()</code></pre>
<pre><code>File "/Applications/QGIS_3_4_3-1.app/Contents/MacOS/grass/grass74", line 1880, in main</code></pre>
<pre><code>set_paths(grass_config_dir=grass_config_dir)</code></pre>
<pre><code>File "/Applications/QGIS_3_4_3-1.app/Contents/MacOS/grass/grass74", line 622, in set_paths</code></pre>
<pre><code>os.environ['MANPATH'] = sys_man_path</code></pre>
<pre><code>File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/os.py", line 674, in <i>setitem</i></code></pre>
<pre><code>value = self.encodevalue(value)</code></pre>
<pre><code>File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/os.py", line 744, in encode</code></pre>
<pre><code>raise TypeError("str expected, not %s" % type(value).__name__)</code></pre>
<pre><code>TypeError: str expected, not bytes</code></pre>
<pre><code>WARNING: Default locale settings are missing. GRASS running with C locale.<br /> Default locale not found, using UTF-8<br /> Traceback (most recent call last):<br /> File "/Applications/QGIS_3_4_3-1.app/Contents/MacOS/grass/grass74", line 2029, in <br /> main()<br /> File "/Applications/QGIS_3_4_3-1.app/Contents/MacOS/grass/grass74", line 1880, in main<br /> set_paths(grass_config_dir=grass_config_dir)<br /> File "/Applications/QGIS_3_4_3-1.app/Contents/MacOS/grass/grass74", line 622, in set_paths<br /> os.environ['MANPATH'] = sys_man_path<br /> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/os.py", line 674, in <i>setitem</i><br /> value = self.encodevalue(value)<br /> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/os.py", line 744, in encode<br /> raise TypeError("str expected, not %s" % type(value).__name__)<br /> TypeError: str expected, not bytes</code></pre>
<p>=======================================<br />QGIS 3.4.4 {QGIS-macOS-3.4.4-2.dmg}
=======================================</p>
<p>---------------------------------------<br />r.contour<br />---------------------------------------<br />2019-01-29T10:30:54 INFO GRASS GIS 7 execution commands<br /> g.proj -c proj4="+proj=tmerc +lat_0=42.5 +lon_0=-71.66666666666667 +k=0.999966667 +x_0=300000.0000000001 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs" <br /> r.external input="/Users/garthfletcher/_QGIS_DEBUG/19073/DEM_Clip_feet_Real.tif" band=1 output="rast_5c5071addc3b92" --overwrite -o<br /> g.region n=43.00055555489587 s=41.99944444450642 e=-70.99944444480462 w=-72.00055555519407 res=9.259259252584582e-05<br /> r.contour input=rast_5c5071addc3b92 step=10 cut=0 output=output9279ebf267434000a9b9c4e376e6fc34 --overwrite<br /> v.out.ogr -c type="auto" input="output9279ebf267434000a9b9c4e376e6fc34" output="/var/folders/h5/jbjhn4xs6x37xt_2m6x2nkbm0000gp/T/processing_dcea3eb2a1194b6f8f457c9b1a00d2fa/b8c50846e5344acfa8c1443a1b10617e/output.gpkg" format="GPKG" --overwrite<br />2019-01-29T10:30:55 INFO GRASS GIS 7 execution console output<br /> WARNING: Default locale settings are missing. GRASS running with C locale.</p>
<pre><code>Default locale not found, using UTF-8</code></pre>
<pre><code>Traceback (most recent call last):</code></pre>
<pre><code>File "/Applications/QGIS_3_4_4-2.app/Contents/MacOS/grass/grass74", line 2029, in</code></pre>
<pre><code>main()</code></pre>
<pre><code>File "/Applications/QGIS_3_4_4-2.app/Contents/MacOS/grass/grass74", line 1880, in main</code></pre>
<pre><code>set_paths(grass_config_dir=grass_config_dir)</code></pre>
<pre><code>File "/Applications/QGIS_3_4_4-2.app/Contents/MacOS/grass/grass74", line 622, in set_paths</code></pre>
<pre><code>os.environ['MANPATH'] = sys_man_path</code></pre>
<pre><code>File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/os.py", line 674, in <i>setitem</i></code></pre>
<pre><code>value = self.encodevalue(value)</code></pre>
<pre><code>File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/os.py", line 744, in encode</code></pre>
<pre><code>raise TypeError("str expected, not %s" % type(value).__name__)</code></pre>
<pre><code>TypeError: str expected, not bytes</code></pre>
<pre><code>WARNING: Default locale settings are missing. GRASS running with C locale.<br /> Default locale not found, using UTF-8<br /> Traceback (most recent call last):<br /> File "/Applications/QGIS_3_4_4-2.app/Contents/MacOS/grass/grass74", line 2029, in <br /> main()<br /> File "/Applications/QGIS_3_4_4-2.app/Contents/MacOS/grass/grass74", line 1880, in main<br /> set_paths(grass_config_dir=grass_config_dir)<br /> File "/Applications/QGIS_3_4_4-2.app/Contents/MacOS/grass/grass74", line 622, in set_paths<br /> os.environ['MANPATH'] = sys_man_path<br /> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/os.py", line 674, in <i>setitem</i><br /> value = self.encodevalue(value)<br /> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/os.py", line 744, in encode<br /> raise TypeError("str expected, not %s" % type(value).__name__)<br /> TypeError: str expected, not bytes</code></pre>
<p>=======================================<br />QGIS 3.2.2 {QGIS-macOS-3.2.1-1.dmg}
=======================================</p>
<p>QGIS version 3.2.2-Bonn<br />QGIS code branch Release 3.2<br />Compiled against Qt 5.9.6<br />Running against Qt 5.9.6<br />Compiled against GDAL/OGR 2.2.4<br />Running against GDAL/OGR 2.2.4<br />Compiled against GEOS 3.6.2-CAPI-1.10.2<br />Running against GEOS 3.7.1-CAPI-1.11.1 27a5e771<br />PostgreSQL Client Version 9.6.6<br />SpatiaLite Version 4.4.0-RC1<br />QWT Version 6.1.3<br />QScintilla2 Version 2.10.7<br />PROJ.4 Version 493</p>
<p>---------------------------------------<br />r.contour<br />---------------------------------------<br />NOTE: could not use 10' increments parameter because of bug {always requires<br /> listed intervals), so used levels list of 100,200,300,...1000,1100.<br /> Runs perfectly, creates contour layer</p>
<p>2019-01-29T10:47:22 INFO GRASS GIS 7 execution commands<br /> g.proj -c proj4="+proj=tmerc +lat_0=42.5 +lon_0=-71.66666666666667 +k=0.999966667 +x_0=300000.0000000001 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs" <br /> r.external input="/Users/garthfletcher/_QGIS_DEBUG/19073/DEM_Clip_feet_Real.tif" band=1 output="rast_5c507589e372a3" --overwrite -o<br /> g.region n=43.00055555489587 s=41.99944444450642 e=-70.99944444480462 w=-72.00055555519407 res=9.259259252584582e-05<br /> r.contour input=rast_5c507589e372a3 levels="100,200,300,400,500,600,700,800,900,1000,1100" cut=0 output=output2810dd43b6594ffea99e5b82135a3210 --overwrite<br /> v.out.ogr -c type="auto" input="output2810dd43b6594ffea99e5b82135a3210" output="/var/folders/h5/jbjhn4xs6x37xt_2m6x2nkbm0000gp/T/processing_f8e02470e9554a2b844d087c850b1aa4/093bde2c618a4bfea46fa86f5fc0e144/output.shp" format="ESRI_Shapefile" --overwrite<br />2019-01-29T10:47:46 INFO GRASS GIS 7 execution console output<br /> WARNING: Default locale settings are missing. GRASS running with C locale.</p>
<pre><code>Starting GRASS GIS...</code></pre>
<pre><code>Executing ...</code></pre>
<pre><code>Default region was updated to the new projection, but if you have multiple mapsets `g.region -d` should be run in each to update the region from the default</code></pre>
<pre><code>Projection information updated</code></pre>
<pre><code>WARNING: Over-riding projection check</code></pre>
<pre><code>Reading band 1 of 1...</code></pre>
<pre><code>r.external complete. Link to raster map created.</code></pre>
<pre><code>Reading data...</code></pre>
<pre><code>2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100</code></pre>
<pre><code>Displacing data...</code></pre>
<pre><code>2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100</code></pre>
<pre><code>Writing vector contours (total levels 9)...</code></pre>
<pre><code>11..22..33..44..55..66..77..88..100</code></pre>
<pre><code>WARNING: 146 crossings found</code></pre>
<pre><code>Writing attributes...</code></pre>
<pre><code>Building topology for vector map ...</code></pre>
<pre><code>Registering primitives...</code></pre>
<pre><code>912 primitives registered</code></pre>
<pre><code>422588 vertices registered</code></pre>
<pre><code>Building areas...</code></pre>
<pre><code>0..2..4..6..8..10..12..14..16..18..20..22..24..26..28..30..32..34..36..38..40..42..44..46..48..50..52..54..56..58..60..62..64..66..68..70..72..74..76..78..80..82..84..86..88..90..92..94..96..98..100</code></pre>
<pre><code>0 areas built</code></pre>
<pre><code>0 isles built</code></pre>
<pre><code>Attaching islands...</code></pre>
<pre><code>Attaching centroids...</code></pre>
<pre><code>1..3..5..7..9..11..13..15..17..19..21..23..25..27..29..31..33..35..37..39..41..43..45..47..49..51..53..55..57..59..61..63..65..67..69..71..73..75..77..79..81..83..85..87..89..91..93..95..97..99..100</code></pre>
<pre><code>Number of nodes: 912</code></pre>
<pre><code>Number of primitives: 912</code></pre>
<pre><code>Number of points: 0</code></pre>
<pre><code>Number of lines: 912</code></pre>
<pre><code>Number of boundaries: 0</code></pre>
<pre><code>Number of centroids: 0</code></pre>
<pre><code>Number of areas: 0</code></pre>
<pre><code>Number of isles: 0</code></pre>
<pre><code>Exporting 912 features...</code></pre>
<pre><code>5..11..17..23..29..35..41..47..53..59..65..71..77..83..89..95..100</code></pre>
<pre><code>v.out.ogr complete. 912 features (Line String type) written to (ESRI_Shapefile format).</code></pre>
<pre><code>Execution of finished.</code></pre>
<pre><code>Cleaning up temporary files...</code></pre>
<pre><code>Default locale not found, using UTF-8</code></pre>
QGIS Application - Bug report #19073: QGIS3.0.x GRASS PATH problem: "ERROR: Path '/<UNKNOWN>/<UNKNOWN>' doesn't exist"
https://issues.qgis.org/issues/19073?journal_id=99262
2019-01-29T17:01:07Z
Garth Fletcher
garth@jacqcad.com
<ul></ul><p>Did fresh install on a Mojave system<br />r.contour fails here too.</p>
<p>=======================================<br />Mac OS X 10.14.2 (Mojave)
=======================================<br />QGIS nstalled using <br /> python-3.6.8-macosx10.9.pkg<br /> QGIS-macOS-3.4.4-2.dmg, Python</p>
<p>QGIS version 3.4.3-Madeira<br />QGIS code revision 2f64a3c4e7<br />Compiled against Qt 5.12.0<br />Running against Qt 5.12.0<br />Compiled against GDAL/OGR 2.3.2<br />Running against GDAL/OGR 2.3.2<br />Compiled against GEOS 3.7.1-CAPI-1.11.1<br />Running against GEOS 3.7.1-CAPI-1.11.1 27a5e771<br />PostgreSQL Client Version 11.1<br />SpatiaLite Version 4.3.0a<br />QWT Version 6.1.3<br />QScintilla2 Version 2.10.4<br />Compiled against PROJ 520<br />Running against PROJ 5.2.0</p>
<p>---------------------------------------<br />r.contour<br />---------------------------------------</p>
<p>2019-01-29T11:45:13 INFO GRASS GIS 7 execution commands<br /> g.proj -c proj4="+proj=tmerc +lat_0=42.5 +lon_0=-71.66666666666667 +k=0.999966667 +x_0=300000.0000000001 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs" <br /> r.external input="/Users/garth/_QGIS_DEBUG/19073/DEM_Clip_feet_Real.tif" band=1 output="rast_5c508319051662" --overwrite -o<br /> g.region n=43.00055555489587 s=41.99944444450642 e=-70.99944444480462 w=-72.00055555519407 res=9.259259252584582e-05<br /> r.contour input=rast_5c508319051662 step=10 cut=0 output=output00ae4260d3ae4245b7e47271b4b00e7b --overwrite<br /> v.out.ogr -c type="auto" input="output00ae4260d3ae4245b7e47271b4b00e7b" output="/private/var/folders/p6/rpylzgrn58351tnnnvmdkgz40000gn/T/processing_261a176dc9074e7099be2a670a13c90a/da65922f7dca42d8ae17eb362ae486fb/output.gpkg" format="GPKG" --overwrite<br />2019-01-29T11:45:13 INFO GRASS GIS 7 execution console output<br /> /Applications/QGIS3.4.3.app/Contents/Resources/grass7/bin/grass74: line 5: /usr/local/Cellar/grass7/7.4.3_3/libexec/bin/grass74: No such file or directory</p>
<pre><code>/Applications/QGIS3.4.3.app/Contents/Resources/grass7/bin/grass74: line 5: exec: /usr/local/Cellar/grass7/7.4.3_3/libexec/bin/grass74: cannot execute: No such file or directory</code></pre>
<pre><code>/Applications/QGIS3.4.3.app/Contents/Resources/grass7/bin/grass74: line 5: /usr/local/Cellar/grass7/7.4.3_3/libexec/bin/grass74: No such file or directory<br /> /Applications/QGIS3.4.3.app/Contents/Resources/grass7/bin/grass74: line 5: exec: /usr/local/Cellar/grass7/7.4.3_3/libexec/bin/grass74: cannot execute: No such file or directory</code></pre>