[GRASS-dev] Error loading/rendering vector maps in g.gui

Eric Patton eric.r.patton at protonmail.com
Tue Oct 16 11:16:14 PDT 2018


Anna,

>Perhaps related to changes in parser in r73525?

Maybe, as I also get command-line errors when trying to use the overwrite flag:

v.out.ogr in=anticosti_rivers_only_vertices out=anticosti_rivers_only_vertices.shp format="ESRI_Shapefile" -se --v --o
...
<snip>
ERROR: v.out.ogr: Sorry, <-> is not a valid flag
ERROR: v.out.ogr: Sorry, <o> is not a valid flag

Attempt 2:

v.out.ogr in=anticosti_rivers_only_vertices out=anticosti_rivers_only_vertices.shp format="ESRI_Shapefile" -se --v --overwrite
...
<snip>
ERROR: v.out.ogr: Sorry, <-> is not a valid flag
ERROR: v.out.ogr: Sorry, <o> is not a valid flag
ERROR: v.out.ogr: Sorry, <v> is not a valid flag
ERROR: v.out.ogr: Sorry, <r> is not a valid flag
ERROR: v.out.ogr: Sorry, <w> is not a valid flag
ERROR: v.out.ogr: Sorry, <r> is not a valid flag
ERROR: v.out.ogr: Sorry, <i> is not a valid flag
ERROR: v.out.ogr: Sorry, <t> is not a valid flag

~ Eric

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, October 16, 2018 2:59 PM, Anna Petrášová <kratochanna at gmail.com> wrote:

> Perhaps related to changes in parser in r73525?
>
> On Tue, Oct 16, 2018 at 12:14 PM Eric Patton <eric.r.patton at protonmail.com> wrote:
>
>> Hi , I have run into an error using Grass 7.7 svn revision 73556; when I open g.gui and try to add a vector or raster map and display it, I encounter the following error:
>>
>> Traceback (most recent call last):
>>   File
>> "/usr/local/grass-7.7.svn/gui/wxpython/core/gthread.py",
>> line 121, in OnDone
>>
>> event.ondone(event)
>>   File
>> "/usr/local/grass-7.7.svn/gui/wxpython/core/render.py", line
>> 468, in OnRenderDone
>>
>> self.updateProgress.emit(layer=self.layer)
>>   File "/usr/local/grass-7.7.svn/etc/python/grass/pydispatch
>> /signal.py", line 229, in emit
>>
>> dispatcher.send(signal=self, *args, **kwargs)
>>   File "/usr/local/grass-7.7.svn/etc/python/grass/pydispatch
>> /dispatcher.py", line 349, in send
>>
>> **named
>>   File "/usr/local/grass-7.7.svn/etc/python/grass/pydispatch
>> /robustapply.py", line 60, in robustApply
>>
>> return receiver(*arguments, **named)
>>   File
>> "/usr/local/grass-7.7.svn/gui/wxpython/core/render.py", line
>> 742, in ReportProgress
>>
>> self.renderDone.emit()
>>   File "/usr/local/grass-7.7.svn/etc/python/grass/pydispatch
>> /signal.py", line 229, in emit
>>
>> dispatcher.send(signal=self, *args, **kwargs)
>>   File "/usr/local/grass-7.7.svn/etc/python/grass/pydispatch
>> /dispatcher.py", line 349, in send
>>
>> **named
>>   File "/usr/local/grass-7.7.svn/etc/python/grass/pydispatch
>> /robustapply.py", line 60, in robustApply
>>
>> return receiver(*arguments, **named)
>>   File
>> "/usr/local/grass-7.7.svn/gui/wxpython/core/render.py", line
>> 649, in OnRenderDone
>>
>> raise GException(_("Rendering failed: %s" % msg))
>> core.gcmd
>> .
>> GException
>> :
>> Rendering failed: Overlays multiple PPM image files.
>> Usage:
>> g.pnmcomp input=name[,name,...] [mask=name[,name,...]]
>> [opacity=value[,value,...]] output=name [output_mask=name]
>> width=value
>> height=value [bgcolor=name] [--overwrite] [--help]
>> [--verbose]
>> [--quiet] [--ui]
>> Flags:
>> Parameters:
>> input   Name of input file(s)
>> mask   Name of input mask file(s)
>> opacity   Layer opacities
>> output   Name for output file
>> output_mask   Name for output mask file
>> width   Image width
>> height   Image height
>> bgcolor   Background color
>> ERROR: g.pnmcomp: Sorry, <-> is not a valid flag
>> ERROR: g.pnmcomp: Sorry, <o> is not a valid flag
>>
>> I am using the following software:
>>
>> GRASS version: 7.7.svn
>> GRASS SVN revision: r73556
>> Build date: 2018-10-16
>> Build platform: x86_64-pc-linux-gnu
>> GDAL: 2.3.2
>> PROJ.4: 5.2.0
>> GEOS: 3.7.0
>> SQLite: 3.22.0
>> Python: 2.7.15rc1
>> wxPython: 3.0.2.0
>> Platform: Linux-4.15.0-36-generic-x86_64-with-LinuxMint-19-tara
>>
>> There were no errors during compliation or make. Any help appreciated,
>>
>> ~ Eric
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20181016/8876dd55/attachment.html>


More information about the grass-dev mailing list