[Buildbot-devel] Installing buildbot on Mac OS-X 10.4 (Tiger)

Brian Warner warner-buildbot at lothar.com
Tue Apr 17 04:59:09 UTC 2007


Guy Strelitz <Guy.Strelitz at bbc.co.uk> writes:

>    Back in November Christopher Rasch posted on this
>    (http://sourceforge.net/mailarchive/message.php?msg_id=45541595.901020
>    8%40gmail.com).
>    I'm now getting exactly the same problem.
>    Using OS-X `s pre-installed Python (2.3.5) , I install Twisted Core,
>    Mail, Web and Words, then install buildbot.
>    Then running buildbot's self tests I get two identical errors:

>        return os.write(self.fd, data)
>    exceptions.OSError: [Errno 5] Input/output error

What version of Twisted are you using? I seem to remember something changing
in Twisted in the last few years w.r.t. OSError on OS-X.

Also, do Twisted's unit tests pass? (run 'trial twisted' and see if it
announces any errors).

It might be the case that PTYs just don't work on OS-X, but I think we've had
success with them in the past..

>    Does anyone have any idea what's causing this?
>    Or what problems it's likely to cause me?

I suspect that as long as you don't use PTYs, this problem won't affect you.
That means that when you run 'buildbot create-slave', you should add the
'--usepty=0' argument to disable PTYs. (this controls whether child commands
are run inside a PTY or just with regular pipes for stdin and stdout).

cheers,
 -Brian




More information about the devel mailing list