[GRASS-dev] [GRASS GIS] #3497: rendering in wx with d.vect/d.rast expects different size

#3497: rendering in wx with d.vect/d.rast expects different size
---------------------+-------------------------
Reporter: ychemin | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Display | Version: unspecified
Keywords: | CPU: Unspecified
Platform: All |
---------------------+-------------------------
using spearfish dataset

using 7.5dev in both Mac (new aconda version) and Linux (Ubuntu svn).

There is an error when using this script:

d.mon start=wx0

d.erase bgcolor=grey

d.rast map=elevation.10m

d.vect map=roads color=brown

The error is appearing in both platforms

following is the error message:
--------------------------------

Rendering failed: Expecting 720x443 image but got 720x480 image.

Reason:

Traceback (most recent call last):
   File "/usr/local/grass-7.5.svn/gui/wxpython/mapwin/buffered.py", line
924, in _updateM
     windres=self._properties.resolution)
   File "/usr/local/grass-7.5.svn/gui/wxpython/mapdisp/main.py", line 297,
in Render
     return Map.Render(self, *args, **kwargs)
   File "/usr/local/grass-7.5.svn/gui/wxpython/core/render.py", line 1226,
in Render
     self.renderMgr.Render(force, windres)
   File "/usr/local/grass-7.5.svn/gui/wxpython/core/render.py", line 577,
in Render
     if self._renderLayers(env, force) == 0:
   File "/usr/local/grass-7.5.svn/gui/wxpython/core/render.py", line 516,
in _renderLayers
     layer.GetRenderMgr().updateProgress.emit(layer=layer)
   File "/usr/local/grass-7.5.svn/etc/python/grass/pydispatch/signal.py",
line 229, in emit
     dispatcher.send(signal=self, *args, **kwargs)
   File
"/usr/local/grass-7.5.svn/etc/python/grass/pydispatch/dispatcher.py", line
349, in send
     **named
   File
"/usr/local/grass-7.5.svn/etc/python/grass/pydispatch/robustapply.py",
line 60, in robustApply
     return receiver(*arguments, **named)
   File "/usr/local/grass-7.5.svn/gui/wxpython/core/render.py", line 717,
in ReportProgress
     self.renderDone.emit()
   File "/usr/local/grass-7.5.svn/etc/python/grass/pydispatch/signal.py",
line 229, in emit
     dispatcher.send(signal=self, *args, **kwargs)
   File
"/usr/local/grass-7.5.svn/etc/python/grass/pydispatch/dispatcher.py", line
349, in send
     **named
   File
"/usr/local/grass-7.5.svn/etc/python/grass/pydispatch/robustapply.py",
line 60, in robustApply
     return receiver(*arguments, **named)
   File "/usr/local/grass-7.5.svn/gui/wxpython/core/render.py", line 623,
in OnRenderDone
     raise GException(_("Rendering failed: %s" % msg))
GException: Rendering failed: Expecting 720x443 image but got 720x480
image.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3497&gt;
GRASS GIS <https://grass.osgeo.org>

#3497: rendering in wx with d.vect/d.rast expects different size
--------------------------+-------------------------
  Reporter: ychemin | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.2.4
Component: Display | Version: unspecified
Resolution: worksforme | Keywords:
       CPU: Unspecified | Platform: All
--------------------------+-------------------------
Changes (by martinl):

* status: new => closed
* resolution: => worksforme

Comment:

Unable to reproduce with GRASS 7.6.0.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3497#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>