[Buildbot-commits] [Buildbot] #2038: detect_bug1810.db appears to be missing

Buildbot nobody at buildbot.net
Wed Jul 6 12:34:42 UTC 2011


#2038: detect_bug1810.db appears to be missing
----------------------+-----------------------
Reporter:  NateBragg  |      Owner:
    Type:  defect     |     Status:  new
Priority:  minor      |  Milestone:  undecided
 Version:  0.8.4p1    |   Keywords:  migration
----------------------+-----------------------
 when migrating from master 0.8.3p1 to 0.8.4p1 using buildbot upgrade-
 master, I get the traceback at bottom.

 It appears that it might be caused by a missing 'detect_bug1810.db'
 required by the test.


 {{{
 C:\>buildbot upgrade-master BuildBot
 upgrading basedir
 C:\BuildBot\public_html\default.css has old/modified contents
  writing new contents to C:\BuildBot\public_html\default.css.new
 checking master.cfg
 upgrading database
 Traceback (most recent call last):
   File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 426,
 in _continueFiring
     callable(*args, **kwargs)
   File "C:\Python27\lib\site-
 packages\buildbot-0.8.4p1-py2.7.egg\buildbot\scripts\runner.py", line 36,
 in async
     d = defer.maybeDeferred(f, *args, **kwargs)
   File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line
 133, in maybeDeferred
     result = f(*args, **kw)
   File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line
 964, in unwindGenerator
     return _deferGenerator(f(*args, **kwargs), Deferred())
 --- <exception caught here> ---
   File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line
 866, in _deferGenerator
     result = g.next()
   File "C:\Python27\lib\site-
 packages\buildbot-0.8.4p1-py2.7.egg\buildbot\scripts\runner.py", line 499,
 in upgradeMaste

     basedir=config['basedir'])
   File "C:\Python27\lib\site-
 packages\buildbot-0.8.4p1-py2.7.egg\buildbot\db\connector.py", line 43, in
 __init__
     self.pool = pool.DBThreadPool(self._engine)
   File "C:\Python27\lib\site-
 packages\buildbot-0.8.4p1-py2.7.egg\buildbot\db\pool.py", line 73, in
 __init__
     self.__broken_sqlite = self.detect_bug1810()
   File "C:\Python27\lib\site-
 packages\buildbot-0.8.4p1-py2.7.egg\buildbot\db\pool.py", line 210, in
 detect_bug1810
     test()
   File "C:\Python27\lib\site-
 packages\buildbot-0.8.4p1-py2.7.egg\buildbot\db\pool.py", line 205, in
 test
     conn1.close()
 exceptions.UnboundLocalError: local variable 'conn1' referenced before
 assignment
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2038>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list