Opened 6 years ago

Closed 5 years ago

#3497 closed defect (worksforme)

rendering in wx with d.vect/d.rast expects different size

Reported by: ychemin Owned by: grass-dev@…
Priority: normal Milestone: 7.2.4
Component: Display Version: unspecified
Keywords: Cc:
CPU: Unspecified Platform: All

Description

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.

Change History (2)

comment:1 by martinl, 6 years ago

Milestone: 7.2.4

comment:2 by martinl, 5 years ago

Resolution: worksforme
Status: newclosed

Unable to reproduce with GRASS 7.6.0.

Note: See TracTickets for help on using tickets.