[Buildbot-devel] Cant create-master in branch nine

Damon Wang damon.devops at gmail.com
Wed Jun 11 14:04:54 UTC 2014


Hi Dustin,

Thanks a lot, I dig into code where exception raised:

        self.apps = dict((ep.name, app) for (ep, app) in epAndApps)
>         if 'base' not in self.apps:
>             raise RuntimeError("could not find buildbot-www; is it
> installed?")
>

so, I tried find what in self.app :-)

Regards,
Damon


2014-06-11 22:00 GMT+08:00 Dustin J. Mitchell <dustin at v.igoro.us>:

> For Buildbot nine, you also need to install the 'www' directory with
> `pip install -e www`.  If you could update the wiki with that
> information, that'd be great.
>
> I don't know what you mean about self.app -- there is no such object
> in Buildbot.
>
> Dustin
>
> On Wed, Jun 11, 2014 at 9:08 AM, Damon Wang <damon.devops at gmail.com>
> wrote:
> > Hi all,
> >
> > I tried to follow the guide here:
> > http://trac.buildbot.net/wiki/RunningBuildbotWithVirtualEnv to use
> > buildbot's branch nine, but error meet when I execute "buildbot
> > create-master master".
> >
> > The output is here:
> >
> > (sandbox)➜  bin  buildbot create-master master
> > updating existing installation
> > buildbot.tac already exists and is correct
> > creating .../projects/buildbot-nine/sandbox/bin/master/master.cfg.sample
> > public_html/ already exists: not replacing
> >
> >> Traceback (most recent call last):
> >>   File
> >>
> ".../projects/buildbot-nine/sandbox/lib/python2.6/site-packages/twisted/internet/defer.py",
> >> line 1237, in unwindGenerator
> >>     return _inlineCallbacks(None, gen, Deferred())
> >>   File
> >>
> ".../projects/buildbot-nine/sandbox/lib/python2.6/site-packages/twisted/internet/defer.py",
> >> line 1099, in _inlineCallbacks
> >>     result = g.send(result)
> >>   File
> >>
> ".../projects/buildbot-nine/buildbot/master/buildbot/scripts/create_master.py",
> >> line 118, in createMaster
> >>     yield createDB(config)
> >>   File
> >>
> ".../projects/buildbot-nine/sandbox/lib/python2.6/site-packages/twisted/internet/defer.py",
> >> line 1237, in unwindGenerator
> >>     return _inlineCallbacks(None, gen, Deferred())
> >> --- <exception caught here> ---
> >>   File
> >>
> ".../projects/buildbot-nine/sandbox/lib/python2.6/site-packages/twisted/internet/defer.py",
> >> line 1099, in _inlineCallbacks
> >>     result = g.send(result)
> >>   File
> >>
> ".../projects/buildbot-nine/buildbot/master/buildbot/scripts/create_master.py",
> >> line 102, in createDB
> >>     master = BuildMaster(config['basedir'])
> >>   File ".../projects/buildbot-nine/buildbot/master/buildbot/master.py",
> >> line 95, in __init__
> >>     self.create_child_services()
> >>   File ".../projects/buildbot-nine/buildbot/master/buildbot/master.py",
> >> line 165, in create_child_services
> >>     self.www = wwwservice.WWWService(self)
> >>   File
> >> ".../projects/buildbot-nine/buildbot/master/buildbot/www/service.py",
> line
> >> 63, in __init__
> >>     raise RuntimeError("could not find buildbot-www; is it installed?")
> >> exceptions.RuntimeError: could not find buildbot-www; is it installed?
> >
> >
> > I've print the self.app, self.app there is an empty dict.
> >
> > Regards,
> > Damon Wang
> >
> >
> ------------------------------------------------------------------------------
> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > Find What Matters Most in Your Big Data with HPCC Systems
> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > http://p.sf.net/sfu/hpccsystems
> > _______________________________________________
> > Buildbot-devel mailing list
> > Buildbot-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140611/4da4d204/attachment.html>


More information about the devel mailing list