[GRASS-user] i.ortho.photo

I have just installed latest Snapshot (from this week) and it’s still not working. Now I’m getting this error:

Exception in thread Thread-34
Traceback (most recent call last):
File “/usr/lib64/python2.4/threading.py”, linhe 442, in
__bootstrap
sel.run()
File “usr/local/grass6.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
erread,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.4.0svn/etc/wxpython/wxgui.py”,
line 1019, in OnXTerm

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: expected string, list found

Is this probably something to do with Python and WXwidgets version?

Thanks
Franz

On Wed, Dec 16, 2009 at 6:35 PM, Michael Barton <Michael.Barton@asu.edu> wrote:

Seems like this is now fixed in the svn.

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton

On Dec 16, 2009, at 4:19 AM, Franz Schiller wrote:

Hello Michael

Maybe I didn’t express myself in the correct way. A few weeks ago I sent a few messages asking about i.ortho.photo in Windows. Now I know that is not available.
Because of that, and i.class, I installed GRASS in a Linux machine. When I run i.ortho.photo I got this error:

Exception in thread Thread-19
> Traceback (most recent call last):
> File "/usr/lib64/python2.4/threading.py", linhe 442, in
> __bootstrap
> sel.run()
> File "usr/local/grass6.4.0RC5/etc/wxpython/gui_modules/g
> cmd.py" line 530, in run
> stderr=subprocess.PIPE)
> File "/usr/lib64/python2.4/subprocess.py", line 550, in
> __init__
> erread,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.4.0RC5/etc/wxpython/wxgui.py",
> line 1035, in OnXTerm
>
> p=gcmd.Command(cmdlist)
> File "/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules g
> cmd.py", line 347, in __init__
>
> Debug.msg (3, "Command(): cmd='%s', wait=%s, returncode=%d,
> alive=%s" % \
> TypeError
> :
> sequence item 2: expected string, list found
My question is: is this function fully available in GRASS6.4 for Linux or it might just be some configuration issue of my machine?

Thanks
Franz

i.ortho.photo requires an xterm using XWindows. Windows doesn’t have >XWindows or xterms. This will not work on Windows until it is rewritten so >as not to require an xterm. There are a handful of other older GRASS modules >that require an xterm (e.g., i.class, r.digit).

>Michael


Franz wrote:

I have just installed latest Snapshot (from
this week) and it's still not working. Now I'm
getting this error:

it's still only in 6.5svn. it will be backported to the 6.4
branch as soon as it is better tested.

Hamish