[GRASS-user] Is this a bug in 8.3.dev?

Rich Shepard rshepard at appl-ecosys.com
Thu May 4 13:25:00 PDT 2023


On Thu, 4 May 2023, Markus Neteler wrote:

> Are these directories writable?

Markus,

Yes, they are.

> Not now, this will not necessarily help.
> There is an easy debugging option integrated:
>
> # switch on
> g.gisenv set="DEBUG=1"
> d.mon wx0

Very interesting:

GRASS NSR_TaxLot/PERMANENT:~ > g.gisenv set="DEBUG=1"
D1/1: G_set_program_name(): g.gisenv
D1/1: G_set_program_name(): g.gisenv
GRASS NSR_TaxLot/PERMANENT:~ > d.mon wx0
D1/1: G_set_program_name(): d.mon
D1/1: Monitor width/height = 720/480
D1/1: Monitor name=wx0, pyfile = /data1/grassdata/NSR_TaxLot/PERMANENT/.tmp/caddis.appl-ecosys.com/MONITORS/wx0/render.py
D1/1: Monitor name=wx0, envfile=/data1/grassdata/NSR_TaxLot/PERMANENT/.tmp/caddis.appl-ecosys.com/MONITORS/wx0/env
D1/1: Monitor name=wx0, cmdfile = /data1/grassdata/NSR_TaxLot/PERMANENT/.tmp/caddis.appl-ecosys.com/MONITORS/wx0/cmd
D1/1: G_set_program_name(): g.gisenv
D1/1: G_set_program_name(): g.gisenv
GRASS NSR_TaxLot/PERMANENT:~ > D1/1: G_set_program_name(): g.gisenv
D1/1: grass.script.core.start_command(): g.gisenv -n
D1/1: G_set_program_name(): g.gisenv
wxnviz.py: This module requires the NumPy module, which could not be imported. It probably is not installed (it's not part of the standard Python distribution). See the Numeric Python site (http://numpy.scipy.org) for information on downloading source or binaries.
D1/1: grass.script.core.start_command(): g.message -v message=Starting map display <wx0>...
D1/1: G_set_program_name(): g.message
D1/1: grass.script.core.start_command(): g.gisenv set=MONITOR_WX0_PID=27366
D1/1: grass.script.core.start_command(): g.gisenv -n
D1/1: G_set_program_name(): g.gisenv
D1/1: grass.script.core.start_command(): g.proj -p
D1/1: grass.script.core.start_command(): g.region -ugpc
D1/1: grass.script.core.start_command(): g.region -ugpc
D1/1: grass.script.core.start_command(): g.region -ugpc
D1/1: grass.script.core.start_command(): g.region -ugpc

D1/1: G_set_program_name(): g.gisenv
D1/1: G_set_program_name(): g.gisenv
GRASS NSR_TaxLot/PERMANENT:~ >

and the GUI window displayed.

> # switch off
> g.gisenv set="DEBUG=0"

Why are lines repeated?

And, python3-numpy-1.22.3-x86_64-1.SBo is installed.

Thanks,

Rich


More information about the grass-user mailing list