Opened 13 years ago
Closed 12 years ago
#1639 closed defect (fixed)
wingrass: launching wxNviz fails
Reported by: | martinl | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 6.4.3 |
Component: | wxGUI | Version: | svn-releasebranch64 |
Keywords: | wingrass, wxnviz | Cc: | |
CPU: | Unspecified | Platform: | MSWindows 2K |
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 (4)
comment:1 by , 13 years ago
follow-up: 3 comment:2 by , 12 years ago
comment:3 by , 12 years ago
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I haven't found any better solution than this (r51410). I'll backport it to grass 6.5 and 7.
Anna