[GRASS-dev] [GRASS GIS] #3897: d.mon errors when closing

GRASS GIS trac at osgeo.org
Fri Sep 6 02:15:26 PDT 2019


#3897: d.mon errors when closing
--------------------------+---------------------------------
  Reporter:  veroandreo   |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.8.0
 Component:  Display      |    Version:  git-releasebranch78
Resolution:               |   Keywords:  d.mon
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by neteler):

 Yes, GH 383650806c3505fb677cc2d5474cd1325ac17cc9 solved it.

 Still I see this bug when entering a wrong map name (just happened when
 testing, here I just a fun name):

 {{{
 GRASS 7.9.dev (nc_spm_08):~/software/grass_master > d.rast blabla
 ERROR: Raster map <blabla> not found
 Traceback (most recent call last):
   File
 "/home/mneteler/grassdata/nc_spm_08/landsat/.tmp/oboe/MONITORS/wx0/render.py",
 line 41, in render
     grass.run_command(cmd[0], env=env, **cmd[1])
   File "/home/mneteler/software/grass_master/dist.x86_64-pc-linux-
 gnu/etc/python/grass/script/core.py", line 441, in run_command
     return handle_errors(returncode, returncode, args, kwargs)
   File "/home/mneteler/software/grass_master/dist.x86_64-pc-linux-
 gnu/etc/python/grass/script/core.py", line 343, in handle_errors
     returncode=returncode)
 grass.exceptions.CalledModuleError: Module run None d.rast map=blabla
 bgcolor=white ended with error
 Process ended with non-zero return code 1. See errors in the (error)
 output.

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File
 "/home/mneteler/grassdata/nc_spm_08/landsat/.tmp/oboe/MONITORS/wx0/render.py",
 line 141, in <module>
     render(cmd, mapfile)
   File
 "/home/mneteler/grassdata/nc_spm_08/landsat/.tmp/oboe/MONITORS/wx0/render.py",
 line 43, in render
     grass.debug(1, "Unable to render: {0}".format(e))
   File "/home/mneteler/software/grass_master/dist.x86_64-pc-linux-
 gnu/etc/python/grass/script/core.py", line 628, in debug
     if debug_level() >= debug:
 TypeError: '>=' not supported between instances of 'int' and 'str'
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3897#comment:2>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list