[GRASS-user] georectify tool in wxGUI

Vincent Bain bain at toraval.fr
Thu Jan 22 13:52:28 EST 2009


Hi,

trying to use the georectify tool through the wxGUI, the rms error for
each point did not display in the array, and the rectify operation
finally failed.
The returned message was :

        Traceback (most recent call last):
          File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/g
        eorect.py", line 969, in OnRMS
        
        self.RMSError(self.xygroup,self.gr_order)
          File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/g
        eorect.py", line 1105, in RMSError
        
        self.SaveGCPs(None)
          File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/g
        eorect.py", line 895, in SaveGCPs
        
        self.parent.goutput.WriteLog(_('POINTS file <%s> saved') %
        self.file['points'])
          File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/g
        output.py", line 235, in WriteLog
        
        line += diff * ' '
        UnboundLocalError
        :
        local variable 'diff' referenced before assignment
        

(Running the same rectification from tcltk interface works perfectly)


Has this problem already been raised ?

Vincent





More information about the grass-user mailing list