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

Vaclav Petras wenzeslaus at gmail.com
Tue Oct 16 17:55:21 PDT 2018


Soeren and all,

Especially when introducing large-impact changes, please, run the tests.
Pretty much any test would give:

ERROR: g.region: Sorry, <-> is not a valid flag
ERROR: g.region: Sorry, <o> is not a valid flag

At least, you can use the tests running here (unfortunately running only
once a day, not after every commit):

http://fatra.cnr.ncsu.edu/grassgistests/summary_report/nc/index.html

Tests were down since the day of r73525, so in that sense they caught that,
which shows that a local test would.

If the above is not enough, than we need resources to add per-commit
triggers with an email notification on some server, Jenkins integration, or
at least some smaller tests which Travis can handle.

Best,
Vaclav



On Tue, Oct 16, 2018 at 2:00 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
>
> _______________________________________________
> 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/bd7a135f/attachment-0001.html>


More information about the grass-dev mailing list