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

GRASS GIS trac at osgeo.org
Wed Apr 8 20:32:58 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.5.0                    
 Component:  wxGUI            |     Version:  svn-develbranch6         
Resolution:                   |    Keywords:                           
  Platform:  MSWindows Vista  |         Cpu:  Unspecified              
------------------------------+---------------------------------------------
Comment (by cnielsen):

 Still no resolution to this bug, perhaps it relates to the change from
 mapdisp.py
 {{{
 pdc.DrawBitmap(bitmap, coords[0], coords[1], True) # draw the composite
 map
 }}}
 To mapdisp_window.py:
 {{{
 pdc.DrawBitmap(bitmap, wx.Point(coords[0], coords[1]), True) # draw the
 composite map
 }}}
 The error says "expected argument 3 of type 'int'" and it seems that it is
 still looking for "coords[1]" when in the latter case it is instead
 getting "true" since "coords[1]" has been put within wx.Point as part of
 arg 2.

 Trying to trace this back I noticed that the
 grass-6.5.svn/etc/wxpython/vdigit folder is empty. Apparently vdigit isn't
 compiling at all. Ideas?

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


More information about the grass-dev mailing list