[GRASS-dev] [GRASS GIS] #539: Error on "Display Map" in wxpython

GRASS GIS trac at osgeo.org
Thu Mar 26 17:21:20 EDT 2009


#539: Error on "Display Map" in wxpython
-------------------------+--------------------------------------------------
 Reporter:  cnielsen     |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  6.4.0                    
Component:  wxGUI        |     Version:  svn-develbranch6         
 Keywords:               |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 When I click display map in wxpython, nothing happens. The following error
 appears in command output:
 Traceback (most recent call last):
   File "c:\Programs\GIS\osgeo4w\apps\grass\grass-6.5.svn\etc
 \wxpython\gui_modules\mapdisp.py", line 541, in OnDraw

 self.MapWindow.UpdateMap(render=False)
   File "c:\Programs\GIS\osgeo4w\apps\grass\grass-6.5.svn\etc
 \wxpython\gui_modules\mapdisp_window.py", line 661, in
 UpdateMap

 self.Draw(self.pdc, self.img, drawid=id)
   File "c:\Programs\GIS\osgeo4w\apps\grass\grass-6.5.svn\etc
 \wxpython\gui_modules\mapdisp_window.py", line 289, in Draw

 pdc.DrawBitmap(bitmap, wx.Point(coords[0], coords[1]), True)
 # draw the composite map
   File "C:\Programs\GIS\OSGeo4W\apps\Python25\lib\site-
 packages\wx-2.8-msw-unicode\wx\_gdi.py", line 7526, in
 DrawBitmap

 return _gdi_.PseudoDC_DrawBitmap(*args, **kwargs)
 TypeError
 :
 in method 'PseudoDC_DrawBitmap', expected argument 3 of type
 'int'

 This is a build of develbranch_6 within the osgeo4w tree on vista.

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


More information about the grass-dev mailing list