[Buildbot-commits] [Buildbot] #2479: master creation fails with nine if buildbot-www is not installed with pip
Buildbot trac
trac at buildbot.net
Thu Mar 21 20:46:12 UTC 2013
#2479: master creation fails with nine if buildbot-www is not installed with pip
-------------------+-------------------
Reporter: tflink | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 0.9.+
Version: master | Keywords:
-------------------+-------------------
When I was creating a development environment for buildbot nine, I
installed buildbot-www using 'python setup.py install'. However, if I
tried to create a master using that setup I hit the following traceback:
{{{
(sandbox)[tflink at localhost buildbot_work]$ buildbot create-master master
mkdir /home/tflink/buildbot_work/master
creating /home/tflink/buildbot_work/master/master.cfg.sample
populating public_html/
populating templates/
Traceback (most recent call last):
File "/home/tflink/buildbot_work/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1214, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
File "/home/tflink/buildbot_work/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1071, in _inlineCallbacks
result = g.send(result)
File
"/home/tflink/buildbot_work/src/master/buildbot/scripts/create_master.py",
line 145, in createMaster
yield createDB(config)
File "/home/tflink/buildbot_work/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1214, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/home/tflink/buildbot_work/sandbox/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1071, in _inlineCallbacks
result = g.send(result)
File
"/home/tflink/buildbot_work/src/master/buildbot/scripts/create_master.py",
line 128, in createDB
master = BuildMaster(config['basedir'])
File "/home/tflink/buildbot_work/src/master/buildbot/master.py", line
82, in __init__
self.create_child_services()
File "/home/tflink/buildbot_work/src/master/buildbot/master.py", line
146, in create_child_services
self.www = wwwservice.WWWService(self)
File "/home/tflink/buildbot_work/src/master/buildbot/www/service.py",
line 36, in __init__
for ep in pkg_resources.iter_entry_points('buildbot.www') ]
File "/home/tflink/buildbot_work/sandbox/lib/python2.7/site-
packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1954, in load
File "/home/tflink/buildbot_work/sandbox/lib/python2.7/site-
packages/buildbot_www-0.8.7p1_778_g98e77e1-py2.7.egg/buildbot_www.py",
line 59, in <module>
ep = Application()
File "/home/tflink/buildbot_work/sandbox/lib/python2.7/site-
packages/buildbot_www-0.8.7p1_778_g98e77e1-py2.7.egg/buildbot_www.py",
line 52, in __init__
self.version = open(verfile).read().strip()
exceptions.IOError: [Errno 2] No such file or directory:
'/home/tflink/buildbot_work/sandbox/share/buildbot/dist/buildbot-
version.txt'
}}}
Once I installed buildbot-www with pip, I was able to create a master
without issue
--
Ticket URL: <http://trac.buildbot.net/ticket/2479>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list