#2677: mapswipe add raster map doesn't work with wxPython 3
--------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.1.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: mapswipe
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by wenzeslaus):
I can confirm the issues with status bar. My ends in half of the window.
After resize, it spreads to the right positions but the select/choice box
text is not fully visible. (We can't do much about this I think. Perhaps
using our custom solution to get rich statusbars/bottom bars would be
better (we are not using statusbar only for status)).
This might be also unrelated but when I run:
{{{
g.gui.mapswipe first=elevation second=aspect
}}}
I get `Rendering failed: Expecting 809x515 image but got 951x640 image`:
{{{
Traceback (most recent call last):
File ".../gui/wxpython/core/gthread.py", line 116, in OnDone
event.ondone(event)
File ".../gui/wxpython/core/render.py", line 396, 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 609, 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 538, in OnRenderDone
raise GException(_("Rendering failed: %s" % msg))
core.gcmd.GException: Rendering failed: Expecting 809x515 image but got
951x640 image.
}}}
This is my system (Lubuntu 14.10):
{{{
GRASS version: 7.1.svn
GRASS SVN revision: 65292
Build date: 2015-05-20
Build platform: x86_64-unknown-linux-gnu
...
Python: 2.7.8
wxPython: 3.0.0.0
Platform: Linux-3.16.0-38-generic-x86_64-with-Ubuntu-14.10-utopic
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2677#comment:2>
GRASS GIS <http://grass.osgeo.org>