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

Dustin J. Mitchell dustin at v.igoro.us
Wed Jun 11 14:30:38 UTC 2014


On Wed, Jun 11, 2014 at 10:04 AM, Damon Wang <damon.devops at gmail.com> wrote:
> 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 :-)

Ah - programming languages are pretty strict about names, and
'self.app' is not the same as 'self.apps'.

For some background here, Buildbot looks for other Python packages
installed which advertise the 'buildbot.www' entry point in their
setup.py.  This lets us add plugins (which is what Andras is working
on) and have Buildbot automatically find them.  The "base" of the web
interface is also implemented as a plugin, named "base", and that's
implemented by the code in the 'www' directory.

When we release Buildbot, that plugin will be called 'buildbot-www'
and installable via 'pip install buildbot-www'.  However, during
development it gets installed just like 'master' and 'slave': 'pip
install -e www'.

That install process does a whole bunch of JS stuff -- downloading
support packages, copying, building, etc. -- which is also something
that Andras has changed recently.

Dustin




More information about the devel mailing list