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

GRASS GIS trac at osgeo.org
Mon Jan 25 06:53:34 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              
--------------------------+-------------------------------------------------
Old description:

> I'm running GRASS 6.4-svn in a Linux Machine (CENT OS) and I needed to
> run i.ortho.photo but I got this error:
> Exception in thread Thread-8:
> Traceback (most recent call last):
>      File "/usr/lib64/python2.4/threading.py", line 442, in
> __bootstrap
>         self.run( )
>      File "/usr/local/grass-5.4.0svn/etc/wxpython/gui_modules/g
> cmd.py", line 528, in run
>         stderr=subprocess.PIPE)
>     File "/usr/lib64/python2.4/subprocess.py", line 550, in
> __init__
>          errread, errwrite)
>     File "/usr/lib64/python2.4/subprocess.py", line 993, in
> _execute_child
>          raise child_exception
> TypeError: execv( ) arg 2 must contain only strings
> Traceback (most recent call last):
>     File "/usr/local/grass-6.4svn/etc/wxpython/wxgui.py",
> line 1019, in 0nXTerm
>
> p= gcmd.Command(cmdlist)
>     File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/g
> cmd.py", line 345, in __init__
>
> Debug.msg (3, "Command( ): cmd='%s', wait=%s, returncode=%d,
> alive=%s" % \
> TypeError
> :
> sequence item 2: exepected string, list found

New description:

 I'm running GRASS 6.4-svn in a Linux Machine (CENT OS) and I needed to run
 i.ortho.photo but I got this error:
 {{{
 Exception in thread Thread-8:
 Traceback (most recent call last):
      File "/usr/lib64/python2.4/threading.py", line 442, in
 __bootstrap
         self.run( )
      File "/usr/local/grass-5.4.0svn/etc/wxpython/gui_modules/g
 cmd.py", line 528, in run
         stderr=subprocess.PIPE)
     File "/usr/lib64/python2.4/subprocess.py", line 550, in
 __init__
          errread, errwrite)
     File "/usr/lib64/python2.4/subprocess.py", line 993, in
 _execute_child
          raise child_exception
 TypeError: execv( ) arg 2 must contain only strings
 Traceback (most recent call last):
     File "/usr/local/grass-6.4svn/etc/wxpython/wxgui.py",
 line 1019, in 0nXTerm

 p= gcmd.Command(cmdlist)
     File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/g
 cmd.py", line 345, in __init__

 Debug.msg (3, "Command( ): cmd='%s', wait=%s, returncode=%d,
 alive=%s" % \
 TypeError
 :
 sequence item 2: exepected string, list found
 }}}

Comment (by hamish):

 (fix code quoting)

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


More information about the grass-dev mailing list