Opened 7 years ago
Last modified 6 years ago
#3376 new defect
Rendering failed: Expecting image 390x240 but got 10x10
Reported by: | wenzeslaus | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 7.4.5 |
Component: | wxGUI | Version: | svn-trunk |
Keywords: | mapdisp, rendering, display, size | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
Sometimes in GUI (wxGUI Map Display) I get Rendering failed: Expecting image [of certain size] but got [different size]. For example:
core.gcmd.GException: Rendering failed: Expecting 390x240 image but got 10x10 image.
I'm not sure how to reproduce it in GUI, but get it quite often (50% of cases) with gui/wxpython/mapdisp/test_mapdisp.py
:
test_mapdisp.py test=apitest vector=streets
The traceback:
GRASS 7.3.svn (nc_basic_spm_grass7):.../gui/wxpython > python mapdisp/test_mapdisp.py test=apitest vector=streets Traceback (most recent call last): File ".../gui/wxpython/core/gthread.py", line 117, in OnDone event.ondone(event) File ".../gui/wxpython/core/render.py", line 442, in OnRenderDone self.updateProgress.emit(layer=self.layer) File ".../etc/python/grass/pydispatch/signal.py", line 229, in emit dispatcher.send(signal=self, *args, **kwargs) File ".../etc/python/grass/pydispatch/dispatcher.py", line 349, in send **named File ".../etc/python/grass/pydispatch/robustapply.py", line 60, in robustApply return receiver(*arguments, **named) File ".../gui/wxpython/core/render.py", line 717, in ReportProgress self.renderDone.emit() File ".../etc/python/grass/pydispatch/signal.py", line 229, in emit dispatcher.send(signal=self, *args, **kwargs) File ".../etc/python/grass/pydispatch/dispatcher.py", line 349, in send **named File ".../etc/python/grass/pydispatch/robustapply.py", line 60, in robustApply return receiver(*arguments, **named) File ".../gui/wxpython/core/render.py", line 623, in OnRenderDone raise GException(_("Rendering failed: %s" % msg)) core.gcmd.GException: Rendering failed: Expecting 390x240 image but got 10x10 image.
In that case, it seems that it happens when the window is being set up from some initial small size, so it is not necessarily the same case in GUI.
In both cases, GUI continues to work. Setting as minor defect for the next release.
Change History (5)
comment:1 by , 7 years ago
Milestone: | 7.4.0 → 7.4.1 |
---|
comment:2 by , 6 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
Note:
See TracTickets
for help on using tickets.
Ticket retargeted after milestone closed