[Buildbot-devel] Problem upgrading to 0.8.4p1
Matthew Morse
matt at apple.com
Thu Jun 30 01:56:39 UTC 2011
I used pip to upgrade the buildbot software on the machine that hosts our buildbot masters, restarted the machine, ran 'buildbot upgrade-master' on each master, but now they error out with:
2011-06-29 18:39:35-0700 [-] applying SQLite workaround from Buildbot bug #1810
2011-06-29 18:39:35-0700 [-] Unhandled Error
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/buildbot/master.py", line 194, in loadTheConfigFile
d = self.loadConfig(f)
File "/Library/Python/2.6/site-packages/buildbot/master.py", line 546, in loadConfig
d.addCallback(do_load)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/internet/defer.py", line 195, in addCallback
callbackKeywords=kw)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/internet/defer.py", line 186, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/internet/defer.py", line 328, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/Library/Python/2.6/site-packages/buildbot/master.py", line 510, in <lambda>
self.loadConfig_Database(db_url, db_poll_interval))
File "/Library/Python/2.6/site-packages/buildbot/master.py", line 623, in loadConfig_Database
return self.loadDatabase(db_url, db_poll_interval)
File "/Library/Python/2.6/site-packages/buildbot/master.py", line 583, in loadDatabase
self.db = connector.DBConnector(self, db_url, self.basedir)
File "/Library/Python/2.6/site-packages/buildbot/db/connector.py", line 43, in __init__
self.pool = pool.DBThreadPool(self._engine)
File "/Library/Python/2.6/site-packages/buildbot/db/pool.py", line 73, in __init__
self.__broken_sqlite = self.detect_bug1810()
File "/Library/Python/2.6/site-packages/buildbot/db/pool.py", line 210, in detect_bug1810
test()
File "/Library/Python/2.6/site-packages/buildbot/db/pool.py", line 205, in test
conn1.close()
exceptions.UnboundLocalError: local variable 'conn1' referenced before assignment
Buildbot version: 0.8.4p1
Twisted version: 8.2.0
Any ideas why this happened, and how to fix it?
Thanks,
- Matt
More information about the devel
mailing list