Ticket #1975 (closed defect: fixed)
changeHorizon set too soon
| Reported by: | dustin | Owned by: | dustin |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.8.4 |
| Version: | master | Keywords: | database |
| Cc: |
Description
2011-06-02 01:48:00+0200 [-] Unhandled Error
Traceback (most recent call last):
File "/home/buildbot/metabuildbot/src/master/buildbot/master.py", line 189, in loadTheConfigFile
d = self.loadConfig(f)
File "/home/buildbot/metabuildbot/src/master/buildbot/master.py", line 535, in loadConfig
d.addCallback(do_load)
File "/home/buildbot/sandbox/lib/python2.6/site-packages/twisted/internet/defer.py", line 297, in addCallback
callbackKeywords=kw)
File "/home/buildbot/sandbox/lib/python2.6/site-packages/twisted/internet/defer.py", line 286, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/home/buildbot/sandbox/lib/python2.6/site-packages/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/buildbot/metabuildbot/src/master/buildbot/master.py", line 325, in do_load
self.db.changeHorizon = changeHorizon
exceptions.AttributeError: 'NoneType' object has no attribute 'changeHorizon'
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
Store configuration values in master.config
This immediately fixes #1975, but opens the door to storing a lot more configuration here.