[devel at bb.net] failed to run buildbot within VirtualEnv

Tiramisu Ling sabergeass at gmail.com
Tue Feb 16 08:56:50 UTC 2016


Hey Dustin, thank you for your help :)

Actually, I'm sure the twisted has been installed and I can check it like:

(buildbot)localhost:buildbot mikeling$ twistd --version
twistd (the Twisted daemon) 15.5.0
Copyright (c) 2001-2015 Twisted Matrix Laboratories.
See LICENSE for details.

But I got an Unhandled Error with "twistd -noy buildbot.tac":

(buildbot)localhost:buildbot mikeling$ twistd -noy buildbot.tac
Unhandled Error
Traceback (most recent call last):
  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
    runApp(config)
  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
    _SomeApplicationRunner(config).run()
  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
    self.application = self.createOrGetApplication()
  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
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  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
    application = service.loadApplication(filename, style, passphrase)
  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
    passphrase)
  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
    with open(filename, mode) as fileObj:
exceptions.IOError: [Errno 2] No such file or directory: 'buildbot.tac'


Failed to load application: [Errno 2] No such file or directory:
'buildbot.tac'

Could you tell me how to fix that? Thank you!

MikeLing

2016-02-15 23:06 GMT+08:00 Dustin J. Mitchell <dustin at v.igoro.us>:

> Try running 'twistd -noy buildbot.tac' to see what happens.  I'm guessing
> you don't have Twisted installed?
>
> Dustin
>
> On Mon, Feb 15, 2016 at 7:18 AM, MikeLing <sabergeass at gmail.com> wrote:
>
>> Hi:
>>
>>     Today when I try to set up my buildbot with this wiki(*http://trac.buildbot.net/wiki/RunningBuildbotWithVirtualEnv
>> <http://trac.buildbot.net/wiki/RunningBuildbotWithVirtualEnv>*), but I
>> got different output from the document given. Actually, nothing been output:
>>
>> (buildbot)localhost:buildbot mikeling$ buildbot start master
>> Following twistd.log until startup finished..
>>
>> The buildmaster took more than 10 seconds to start, so we were unable to
>> confirm that it started correctly. Please 'tail twistd.log' and look for a
>> line that says 'BuildMaster is running' to verify correct startup.
>>
>> (buildbot)localhost:buildbot mikeling$ tail master/twistd.log
>> (buildbot)localhost:buildbot mikeling$
>>
>>
>> But as the document in here:*
>> http://docs.buildbot.net/current/tutorial/firstrun.html#creating-a-master
>> <http://docs.buildbot.net/current/tutorial/firstrun.html#creating-a-master>*
>>
>> I should got a bunch of output like:
>>
>> 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)
>>
>>
>> But I still got nothing by run: *tail -f master/twistd.log*
>>
>> Could someone tell me something about it? Thank you very much! :)
>>
>> MikeLing
>>
>> _______________________________________________
>> devel mailing list
>> devel at buildbot.net
>> https://lists.buildbot.net/mailman/listinfo/devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/devel/attachments/20160216/277b1f8b/attachment.html>


More information about the devel mailing list