[Buildbot-devel] Problems with launchd

Daniel e_list1 at earthlink.net
Fri Jun 27 14:46:34 UTC 2008


Greetings, all.

Well, buildbot finally quit working again, so now I'm trying to start  
it via launchd.  How do you do it exactly?  I'm following the  
instructions here:

	http://buildbot.net/trac/wiki/UsingLaunchd

and what I'm getting is a bunch of errors in /var/log/system.log:

> Jun 27 10:37:59 leroy net.sourceforge.buildbot.slave[75697]:  
> Traceback (most recent call last):
> Jun 27 10:37:59 leroy net.sourceforge.buildbot.slave[75697]:   File  
> "/usr/bin/twistd", line 20, in <module>
> Jun 27 10:37:59 leroy net.sourceforge.buildbot.slave[75697]:      
> from twisted.scripts.twistd import run
> Jun 27 10:37:59 leroy net.sourceforge.buildbot.slave[75697]:   File  
> "/Library/Python/2.5/site-packages/twisted/__init__.py", line 26, in  
> <module>
> Jun 27 10:37:59 leroy net.sourceforge.buildbot.slave[75697]:      
> from twisted.python import compat
> Jun 27 10:37:59 leroy net.sourceforge.buildbot.slave[75697]:  
> ImportError: No module named python
> Jun 27 10:37:59 leroy com.apple.launchd[131]  
> (net.sourceforge.buildbot.slave[75697]): Exited with exit code: 1
> Jun 27 10:37:59 leroy com.apple.launchd[131]  
> (net.sourceforge.buildbot.slave): Throttling respawn: Will start in  
> 10 seconds

Unfortunately, googling 'buildbot twisted "no module named python"'  
returns 0 results... any idea what might be causing this error or how  
to work around it?

Also, I don't understand how the specified plist is supposed to work:  
it launches /usr/local/bin/twistd, not buildbot... can someone explain  
that to me?

Thanks.

Daniel




More information about the devel mailing list