#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
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits