Ticket #1639 (closed defect: fixed)
wingrass: launching wxNviz fails
| Reported by: | martinl | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | 6.4.3 |
| Component: | wxGUI | Version: | svn-releasebranch64 |
| Keywords: | wingrass, wxnviz | Cc: | |
| Platform: | MSWindows 2K | CPU: | Unspecified |
Description
When launching wxNviz on Windows (OSGeo4W framework)
Traceback (most recent call last):
File "C:\OSGeo4W_dev\apps\grass\grass-6.4.3svn\etc\wxpytho
n\mapdisp\toolbars.py", line 229, in OnSelectTool
self.parent.AddNviz()
File "C:\OSGeo4W_dev\apps\grass\grass-6.4.3svn\etc\wxpytho
n\mapdisp\frame.py", line 299, in AddNviz
self._layerManager.AddNvizTools()
File "C:\OSGeo4W_dev\apps\grass\grass-6.4.3svn\etc\wxpytho
n\lmgr\frame.py", line 299, in AddNvizTools
display = self.curr_page.maptree.GetMapDisplay())
File "C:\OSGeo4W_dev\apps\grass\grass-6.4.3svn\etc\wxpytho
n\nviz\tools.py", line 96, in __init__
self.AddPage(page = self._createAnimationPage(),
File "C:\OSGeo4W_dev\apps\grass\grass-6.4.3svn\etc\wxpytho
n\nviz\tools.py", line 385, in _createAnimationPage
usage = "record", label = _("Record"))
File "C:\OSGeo4W_dev\apps\grass\grass-6.4.3svn\etc\wxpytho
n\gui_core\widgets.py", line 197, in __init__
buffer.SetMaskColour(maskColor)
File "C:\OSGeo4W_dev\apps\Python27\lib\site-
packages\wx-2.8-msw-unicode\wx\_gdi.py", line 649, in
SetMaskColour
return _gdi_.Bitmap_SetMaskColour(*args, **kwargs)
wx._core
.
PyAssertionError
:
C++ assertion "!bitmap.GetSelectedInto()" failed at
..\..\src\msw\bitmap.cpp(1509) in wxMask::Create(): bitmap
can't be selected in another DC
Change History
Note: See
TracTickets for help on using
tickets.
