<div dir="ltr"><div>Ah, well, it sounds like you're not giving it the right path to buildbot.tac. That file is in your master directory.<br><br></div>Dustein<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 3:56 AM, Tiramisu Ling <span dir="ltr"><<a href="mailto:sabergeass@gmail.com" target="_blank">sabergeass@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hey Dustin, thank you for your help :)<br><br>Actually, I'm sure the twisted has been installed and I can check it like: <br><br><div style="margin-left:40px">(buildbot)localhost:buildbot mikeling$ twistd --version<br>twistd (the Twisted daemon) 15.5.0<br>Copyright (c) 2001-2015 Twisted Matrix Laboratories.<br>See LICENSE for details.<br></div><br></div>But I got an Unhandled Error with "twistd -noy buildbot.tac":<br><br><div style="margin-left:40px">(buildbot)localhost:buildbot mikeling$ twistd -noy buildbot.tac<br>Unhandled Error<br>Traceback (most recent call last):<br> File "/Users/mikeling/opensource_moz/buildbot/lib/python2.7/site-packages/Twisted-15.5.0-py2.7-macosx-10.6-intel.egg/twisted/application/app.py", line 617, in run<br> runApp(config)<br> File "/Users/mikeling/opensource_moz/buildbot/lib/python2.7/site-packages/Twisted-15.5.0-py2.7-macosx-10.6-intel.egg/twisted/scripts/twistd.py", line 25, in runApp<br> _SomeApplicationRunner(config).run()<br> File "/Users/mikeling/opensource_moz/buildbot/lib/python2.7/site-packages/Twisted-15.5.0-py2.7-macosx-10.6-intel.egg/twisted/application/app.py", line 348, in run<br> self.application = self.createOrGetApplication()<br> File "/Users/mikeling/opensource_moz/buildbot/lib/python2.7/site-packages/Twisted-15.5.0-py2.7-macosx-10.6-intel.egg/twisted/application/app.py", line 413, in createOrGetApplication<br> application = getApplication(self.config, passphrase)<br>--- <exception caught here> ---<br> File "/Users/mikeling/opensource_moz/buildbot/lib/python2.7/site-packages/Twisted-15.5.0-py2.7-macosx-10.6-intel.egg/twisted/application/app.py", line 424, in getApplication<br> application = service.loadApplication(filename, style, passphrase)<br> File "/Users/mikeling/opensource_moz/buildbot/lib/python2.7/site-packages/Twisted-15.5.0-py2.7-macosx-10.6-intel.egg/twisted/application/service.py", line 411, in loadApplication<br> passphrase)<br> File "/Users/mikeling/opensource_moz/buildbot/lib/python2.7/site-packages/Twisted-15.5.0-py2.7-macosx-10.6-intel.egg/twisted/persisted/sob.py", line 218, in loadValueFromFile<br> with open(filename, mode) as fileObj:<br>exceptions.IOError: [Errno 2] No such file or directory: 'buildbot.tac'<br><br><br>Failed to load application: [Errno 2] No such file or directory: 'buildbot.tac'<br></div><br></div>Could you tell me how to fix that? Thank you!<br><br></div>MikeLing<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-15 23:06 GMT+08:00 Dustin J. Mitchell <span dir="ltr"><<a href="mailto:dustin@v.igoro.us" target="_blank">dustin@v.igoro.us</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Try running 'twistd -noy buildbot.tac' to see what happens. I'm guessing you don't have Twisted installed?<br><br></div>Dustin<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Feb 15, 2016 at 7:18 AM, MikeLing <span dir="ltr"><<a href="mailto:sabergeass@gmail.com" target="_blank">sabergeass@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div bgcolor="#FFFFFF" text="#000000">
Hi:<br>
<br>
Today when I try to set up my buildbot with this wiki(<b><a href="http://trac.buildbot.net/wiki/RunningBuildbotWithVirtualEnv" target="_blank">http://trac.buildbot.net/wiki/RunningBuildbotWithVirtualEnv</a></b>),
but I got different output from the document given. Actually,
nothing been output:<br>
<br>
<blockquote>(buildbot)localhost:buildbot mikeling$ buildbot start
master<br>
Following twistd.log until startup finished..<br>
<br>
The buildmaster took more than 10 seconds to start, so we were
unable to<br>
confirm that it started correctly. Please 'tail twistd.log' and
look for a<br>
line that says 'BuildMaster is running' to verify correct startup.<br>
<br>
(buildbot)localhost:buildbot mikeling$ tail master/twistd.log<br>
(buildbot)localhost:buildbot mikeling$<br>
</blockquote>
<br>
But as the document in here:<b>
<a href="http://docs.buildbot.net/current/tutorial/firstrun.html#creating-a-master" target="_blank">http://docs.buildbot.net/current/tutorial/firstrun.html#creating-a-master</a></b><br>
<br>
I should got a bunch of output like:<br>
<br>
<blockquote>2011-12-04 10:04:40-0600 [-] Starting factory
<buildbot.status.web.baseweb.RotateLogSite instance at
0x2e36638>
2011-12-04 10:04:40-0600 [-] Setting up http.log rotating 10 files
of 10000000 bytes each
2011-12-04 10:04:40-0600 [-] WebStatus using
(/home/dustin/tmp/buildbot/master/public_html)<br>
</blockquote>
<br>
But I still got nothing by run: <b>tail -f master/twistd.log</b><br>
<br>
Could someone tell me something about it? Thank you very much! :)<span><font color="#888888"><br>
<br>
MikeLing<br>
</font></span></div>
<br></div></div>_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@buildbot.net" target="_blank">devel@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div><br></div>