[GRASS-dev] Re: [GRASS GIS] #598: MacOS X / OpenGL and Wxpython incompatible

GRASS GIS trac at osgeo.org
Wed May 13 10:35:50 EDT 2009


#598: MacOS X / OpenGL and Wxpython incompatible
---------------------+------------------------------------------------------
  Reporter:  vince   |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  normal  |   Milestone:  6.4.0                    
 Component:  NVIZ    |     Version:  svn-trunk                
Resolution:          |    Keywords:                           
  Platform:  MacOSX  |         Cpu:  OSX/Intel                
---------------------+------------------------------------------------------
Comment (by vince):

 Ok, I have a build that goes fine, but wxgrass will not work. I get no
 image, and the interface is messed up. I have these messages on console :

 {{{
 GRASS 7.0.svn > g.gui wxpython
 Traceback (most recent call last):
   File
 "/usr/pkg/share/grass-7.0.svn/etc/wxpython/gui_modules/mapdisp_window.py",
 line 444, in OnPaint
     self.pdc.DrawToDCClipped(dc, rgn)
   File
 "/usr/pkg/share/grass-7.0.svn/etc/wxpython/vdigit/grass7_wxvdigit.py",
 line 389, in DrawToDCClipped
     def DrawToDCClipped(self, *args): return
 _grass7_wxvdigit.PseudoDC_DrawToDCClipped(self, *args)
 TypeError: in method 'PseudoDC_DrawToDCClipped', argument 2 of type 'void
 *'
 Traceback (most recent call last):
   File
 "/usr/pkg/share/grass-7.0.svn/etc/wxpython/gui_modules/mapdisp_window.py",
 line 444, in OnPaint
     self.pdc.DrawToDCClipped(dc, rgn)
   File
 "/usr/pkg/share/grass-7.0.svn/etc/wxpython/vdigit/grass7_wxvdigit.py",
 line 389, in DrawToDCClipped
     def DrawToDCClipped(self, *args): return
 _grass7_wxvdigit.PseudoDC_DrawToDCClipped(self, *args)
 TypeError: in method 'PseudoDC_DrawToDCClipped', argument 2 of type 'void
 *'
 Traceback (most recent call last):
   File
 "/usr/pkg/share/grass-7.0.svn/etc/wxpython/gui_modules/mapdisp_window.py",
 line 444, in OnPaint
     self.pdc.DrawToDCClipped(dc, rgn)
   File
 "/usr/pkg/share/grass-7.0.svn/etc/wxpython/vdigit/grass7_wxvdigit.py",
 line 389, in DrawToDCClipped
     def DrawToDCClipped(self, *args): return
 _grass7_wxvdigit.PseudoDC_DrawToDCClipped(self, *args)
 TypeError: in method 'PseudoDC_DrawToDCClipped', argument 2 of type 'void
 *'
 Wed May 13 16:31:41 vincent.local Python-32[25738] <Error>:
 CGContextRestoreGState: invalid context
 Wed May 13 16:32:22 vincent.local Python-32[25738] <Error>:
 CGContextRestoreGState: invalid context
 Wed May 13 16:32:26 vincent.local Python-32[25738] <Error>:
 CGContextRestoreGState: invalid context
 Wed May 13 16:32:29 vincent.local Python-32[25738] <Error>:
 CGContextRestoreGState: invalid context
 Wed May 13 16:32:33 vincent.local Python-32[25738] <Error>:
 CGContextRestoreGState: invalid context
 Wed May 13 16:33:27 vincent.local Python-32[25738] <Error>:
 CGContextRestoreGState: invalid context
 Wed May 13 16:33:37 vincent.local Python-32[25738] <Error>:
 CGContextRestoreGState: invalid context
 Wed May 13 16:33:47 vincent.local Python-32[25738] <Error>:
 CGContextRestoreGState: invalid context

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/598#comment:10>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list