[GRASS-dev] georect.py (bis)

Vincent Bain bain at toraval.fr
Wed Apr 1 13:22:30 EDT 2009


Hello all,

working on grass6.5.0 rev. 36556,

after a bug fix on monday by Martin Landa, once again I have a problem
with georect.py. Same symptoms (display freezing), but this time the
message returned is the following :

        Traceback (most recent call last):
          File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
        pdisp_window.py", line 536, in OnIdle
        
        self.UpdateMap(render=True)
          File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
        pdisp_window.py", line 725, in UpdateMap
        
        self.parent.GetLayerManager().georectifying.DrawGCP(coordtyp
        e)
          File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ge
        orect.py", line 858, in DrawGCP
        
        wxCol = wx.Colour(col[0], col[1], col[2], 255)
          File "/usr/lib/python2.5/site-
        packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 114, in
        __init__
        
        _gdi_.Colour_swiginit(self,_gdi_.new_Colour(*args,
        **kwargs))
        TypeError
        :
        in method 'new_Colour', expected argument 1 of type 'byte'
        
Any idea on what is wrong ?

Thank you,
Vincent



More information about the grass-dev mailing list