[GRASS-dev] [GRASS GIS] #1639: wingrass: launching wxNviz fails

GRASS GIS trac at osgeo.org
Fri Apr 13 05:49:24 EDT 2012


#1639: wingrass: launching wxNviz fails
------------------------------+---------------------------------------------
 Reporter:  martinl           |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  blocker           |   Milestone:  6.4.3                    
Component:  wxGUI             |     Version:  svn-releasebranch64      
 Keywords:  wingrass, wxnviz  |    Platform:  MSWindows 2K             
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1639>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list