[GRASS-dev] Re: [GRASS GIS] #888: Error in i.ortho.photo

GRASS GIS trac at osgeo.org
Mon Jan 25 13:39:36 EST 2010


#888: Error in i.ortho.photo
--------------------------+-------------------------------------------------
  Reporter:  nikosdu1980  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  wxGUI        |     Version:  unspecified              
Resolution:               |    Keywords:  i.ortho.photo            
  Platform:  Linux        |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by glynn):

 Replying to [comment:5 hamish]:

 > somehow in the wxPython code the "wait" variable is becoming a list on
 your system. That doesn't happen for me and I don't see any obvious reason
 for it in the code. A more expert wxPy'er than myself would need to tell
 you why and how to fix it.

 OnXTerm() is seriously broken, and should be re-written or removed.

 E.g.:
 {{{
         # run the command
         command = ' '.join(command)
 }}}
 and:
 {{{
                cmdlist = [xtermwrapper, '-e "%s"' % grassrun, command]
 }}}

 Hint: xterm's "-e" switch doesn't take an argument. It indicates that all
 remaining arguments are the program and its arguments (i.e. the next
 argument after -e is the program, the one after that is argv[1], etc).

 This also applies to the grass-xterm-wrapper and grass-run scripts: they
 take individual arguments, not a "command string".

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


More information about the grass-dev mailing list