[GRASS-user] Cannot display raster maps

   Running 7.7.svm r73534.

   When I try to display a raster DEM map in the monitor this message and
traceback displays:

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

Reason:

Traceback (most recent call last):
   File "/usr/local/grass-7.7.svn/gui/wxpython/mapwin/buffered.py", line 924, in _updateM
     windres=self._properties.resolution)
   File "/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/main.py", line 298, in Render
     return Map.Render(self, *args, **kwargs)
   File "/usr/local/grass-7.7.svn/gui/wxpython/core/render.py", line 1249, in Render
     self.renderMgr.Render(force, windres)
   File "/usr/local/grass-7.7.svn/gui/wxpython/core/render.py", line 603, in Render
     if self._renderLayers(env, force) == 0:
   File "/usr/local/grass-7.7.svn/gui/wxpython/core/render.py", line 542, in _renderLayers
     layer.GetRenderMgr().updateProgress.emit(layer=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/rend

There may be more but it cannot be displayed as the error window won't
scroll vertically.

   I've not before seen this error and have no idea how to respond. Your help
is needed.

Regards,

Rich

On Mon, 15 Oct 2018, Rich Shepard wrote:

Running 7.7.svm r73534.

   Upgrading to r73552 doesn't resolve the error.

Rich

On Mon, 15 Oct 2018, Rich Shepard wrote:

When I try to display a raster DEM map in the monitor this message and
traceback displays:

   Any dev have an idea what broke? I cannot use grass on my projects until
this is fixed as the monitor (regardless of how started) will not display
raster or vector maps.

   If I correctly recall, this started with release 73539.

Help needed,

Rich

On Tue, Oct 16, 2018 at 5:53 PM Rich Shepard <rshepard@appl-ecosys.com> wrote:

On Mon, 15 Oct 2018, Rich Shepard wrote:

> When I try to display a raster DEM map in the monitor this message and
> traceback displays:

   Any dev have an idea what broke? I cannot use grass on my projects until
this is fixed as the monitor (regardless of how started) will not display
raster or vector maps.

   If I correctly recall, this started with release 73539.

Did you recompile GRASS GIS with after a full
make distclean
?

If not, that may help.

Markus

On Tue, 16 Oct 2018, Markus Neteler wrote:

Did you recompile GRASS GIS with after a full make distclean ?

Markus,

   Always. I run, in sequence, configure; make; make install; make distclean.

   Are there tests that can help define the source of the problem? When I
looked at the g.pnmcomp manual page I read that it's oriented for developers
not end users.

Thanks,

Rich

On Tue, Oct 16, 2018 at 6:10 PM Rich Shepard <rshepard@appl-ecosys.com> wrote:

On Tue, 16 Oct 2018, Markus Neteler wrote:

> Did you recompile GRASS GIS with after a full make distclean ?

Markus,

   Always. I run, in sequence, configure; make; make install; make distclean.

The correct order would be:

make distclean; svn update; configure; make; make install

Note the distclean in the _beginning_ to compile from a clean source tree.
Just to be sure better have it first.

   Are there tests that can help define the source of the problem? When I
looked at the g.pnmcomp manual page I read that it's oriented for developers
not end users.

Probably (cannot say right now) the latest parser change is causing troubles.
Currently being investigated...

Markus

On Tue, 16 Oct 2018, Markus Neteler wrote:

The correct order would be:

make distclean; svn update; configure; make; make install

Note the distclean in the _beginning_ to compile from a clean source tree.
Just to be sure better have it first.

Markus,

   That's what I wrote. After running svn up I run configure; make; make
install; make distclean. This leaves the source tree clean prior to the next
svn up.

   Whether I run make distclean after installing the latest release, or just
before the next svn up should not matter. The directory ~/gis/grass/grass7_trunk/
is in the same state. I've been doing this for quite a few years and only
yesterday did this display error show up.

Probably (cannot say right now) the latest parser change is causing
troubles. Currently being investigated...

   Let me know if I can test changes on my installation.

Best regards,

Rich

On Tue, Oct 16, 2018 at 9:19 PM Rich Shepard <rshepard@appl-ecosys.com> wrote:

On Tue, 16 Oct 2018, Markus Neteler wrote:

...

I've been doing this for quite a few years and only

No worries, it was just meant as a recommendation.

yesterday did this display error show up.

> Probably (cannot say right now) the latest parser change is causing
> troubles. Currently being investigated...

A fix was applied to trunk a few minutes ago.
I recompiled trunk and display works fine (also the flags).

Markus

On Tue, 16 Oct 2018, Markus Neteler wrote:

A fix was applied to trunk a few minutes ago. I recompiled trunk and
display works fine (also the flags).

Markus,

   Woo-ha! That did the trick.

   Many thanks to you and all who keep GRASS at the top of the OS GIS ladder.
Very much appreciated.

Best regards,

Rich