[GRASS-dev] Georrectification error in WinGRASS6.4.0RC6

Markus Metz markus.metz.giswork at googlemail.com
Thu Jun 24 09:45:30 EDT 2010


António Rocha:
> Hi there
>
> I have installed the latest WinGRASS binary release

Are you using WinGRASS-6.4.SVN-r42618-1-Setup.exe or another version?

> and I tried to use the
> georrectify functionality but I got an error. Immediately after I select
> image from where to get the GCP's, the Define/manage GCPs panel appears and
> an empty Map Display and the following is printed in the command output:
>
> Traceback (most recent call last):
>  File "C:/GRASS6/etc/wxpython/wxgui.py", line 368, in
> OnGeorectify
>
> georect.GeorectWizard(self)
>  File "C:\GRASS6\etc\wxpython\gui_modules\georect.py", line
> 215, in __init__
>
> self.xy_mapdisp.toolbars['georect'].OnZoomMap(None)
>  File "C:\GRASS6\etc\wxpython\gui_modules\toolbars.py",
> line 366, in OnZoomMap
>
> self.mapdisplay.MapWindow.ZoomToMap(layer=layer)
>  File "C:\GRASS6\etc\wxpython\gui_modules\mapdisp.py", line
> 2383, in ZoomToMap
>
> self.UpdateMap()
>  File "C:\GRASS6\etc\wxpython\gui_modules\mapdisp.py", line
> 811, in UpdateMap
>
> self.parent.gismanager.georectifying.DrawGCP(coordtype)
>  File "C:\GRASS6\etc\wxpython\gui_modules\georect.py", line
> 886, in DrawGCP
>
> wxCol = wx.Colour(col[0], col[1], col[2], 255)
>  File "C:\GRASS6\Python25\lib\site-packages\wx-2.8-msw-
> 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'
>
> can it be some problem of my GRASS installation or is it a global issue?
>
> Thanks
> Antonio
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 5224 (20100624) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>


More information about the grass-dev mailing list