Re: Trouble with subprocess.call(...) and zsh script (OSError: [Errno 8] Exec format error)

2007-11-13 Thread Michael George Lerner
subprocess import call > >>> call(['./t1.sh']) > > Traceback (most recent call last): > File "", line 1, in ? > File "/usr/lib/python2.4/subprocess.py", line 413, in call > return Popen(*args, **kwargs).wait() > File "/usr/lib/

Re: Trouble with subprocess.call(...) and zsh script (OSError: [Errno 8] Exec format error)

2007-11-11 Thread Rob Wolfe
cess.py", line 413, in call return Popen(*args, **kwargs).wait() File "/usr/lib/python2.4/subprocess.py", line 543, in __init__ errread, errwrite) File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child raise child_exception OSError: [Errno 8] Exec forma

Trouble with subprocess.call(...) and zsh script (OSError: [Errno 8] Exec format error)

2007-11-11 Thread Michael George Lerner
n Popen(*popenargs, **kwargs).wait() File "/sw/lib/python2.5/subprocess.py", line 593, in __init__ errread, errwrite) File "/sw/lib/python2.5/subprocess.py", line 1051, in _execute_child raise child_exception OSError: [Errno 8] Exec format error But when I ch

Re: Errno 8 Exec format error

2005-10-25 Thread jepler
On Tue, Oct 25, 2005 at 04:11:39PM +0100, Matthew Fowler wrote: > "problem with execution of xhpl on AxisProduct: [Errno 8] Exec format > error" In this case, it appears that Python is reporting the error of some operating system call, such as execve. On my operating system,

Errno 8 Exec format error

2005-10-25 Thread Matthew Fowler
Hi there I have been porting python to the Etrax platform and everything seems to be working. However when I run the program in question I get: "problem with execution of xhpl on AxisProduct: [Errno 8] Exec format error" Im looking for any help to try and solve this issue. Am I