[Buildbot-commits] [Buildbot] #2219: Make sample configuration modular.
Buildbot trac
trac at buildbot.net
Tue Apr 30 08:40:44 UTC 2013
#2219: Make sample configuration modular.
------------------------+---------------------
Reporter: tom.prince | Owner: config
Type: enhancement | Status: new
Priority: major | Milestone: 0.9.0
Version: 0.8.5 | Resolution:
Keywords: |
------------------------+---------------------
Comment (by ewong):
I tried the following:
{{{
import buildbot.status
html=buildbot.status.html
}}}
I get the following error during checkconfig:
{{{
(sandbox)bash-4.1$ buildbot checkconfig master
error while parsing config file:
Traceback (most recent call last):
File "/home/cc/projs/bb9/master/bin/buildbot", line 4, in <module>
runner.run()
File "/home/cc/projs/bb9/master/buildbot/scripts/runner.py", line 743,
in run
sys.exit(subcommandFunction(subconfig))
File "/home/cc/projs/bb9/master/buildbot/scripts/checkconfig.py", line
50, in checkconfig
return cl.load(quiet=quiet)
File "/home/cc/projs/bb9/master/buildbot/scripts/checkconfig.py", line
29, in load
self.basedir, self.configFileName)
--- <exception caught here> ---
File "/home/cc/projs/bb9/master/buildbot/config.py", line 156, in
loadConfig
exec f in localDict
File "/home/cc/projs/playground/c-c/master/master.cfg", line 116, in
<module>
html=buildbot.status.html
exceptions.AttributeError: 'module' object has no attribute 'html'
Configuration Errors:
error while parsing config file: 'module' object has no attribute 'html'
(traceback in logfile)
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2219#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list