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

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, 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

Perhaps related to changes in parser in r73525?

On Tue, Oct 16, 2018 at 12:14 PM Eric Patton <eric.r.patton@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, 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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

ERROR: v.out.ogr: Sorry, ↔ is not a valid flag

ERROR: v.out.ogr: Sorry, 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

ERROR: v.out.ogr: Sorry, ↔ is not a valid flag

ERROR: v.out.ogr: Sorry, is not a valid flag

ERROR: v.out.ogr: Sorry, is not a valid flag

ERROR: v.out.ogr: Sorry, is not a valid flag

ERROR: v.out.ogr: Sorry, is not a valid flag

ERROR: v.out.ogr: Sorry, is not a valid flag

ERROR: v.out.ogr: Sorry, is not a valid flag

ERROR: v.out.ogr: Sorry, is not a valid flag

···

~ Eric

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Tuesday, October 16, 2018 2:59 PM, Anna Petrášová kratochanna@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@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, 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@lists.osgeo.org

https://lists.osgeo.org/mailman/listinfo/grass-dev

On Tue, Oct 16, 2018 at 8:16 PM Eric Patton
<eric.r.patton@protonmail.com> wrote:

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

Fixed right now by Sören. Please update from svn.

Markus

-‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, October 16, 2018 4:47 PM, Sören Gebbert <soerengebbert@gmail.com> wrote:

Hi,
sorry for the bug, it should work again in r73561.

Best regards
Soeren

Thanks Sören, Markus; all is well again in r73561.

Cheers,

~ Eric Patton

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, 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@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@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, 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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev