[pony-build] Error with stdout from plan 9

Michaelian Ennis mennis at corvus.net
Mon Jul 12 08:57:48 PDT 2010


I am getting an error as seen below.  I am trying to plug a plan9
system into pony-build. When running the following simple script:
#!/bin/rc
echo success

I get 'success' on stdout.  But executing as part of a pony-build
client I get the following error.


command line:['/usr/mennis/src/test.rc', '']
no stdout
stderr:

Traceback (most recent call last):
 File "pony_client.py", line 121, in _run_command
  out, err = p.communicate()
 File "/sys/lib/python/subprocess.py", line 667, in communicate
  return self._communicate(input)
 File "/sys/lib/python/subprocess.py", line 1138, in _communicate
  rlist, wlist, xlist = select.select(read_set, write_set, [])
error: (4, 'Bad file number')

I know that plan9 is unusual but I use for building stuff and would
like to tie it into pony build.  I am running Python 2.5.1 on it.  I
did manage to get the following test to work from plan9:

1. step 1 build - success

command line:['/bin/cat', 'upload-example']

Any pointers would be appreciated.

Ian



More information about the pony-build mailing list