spacepaste

  1.  
  2. upgrading database (sqlite:///state.sqlite)
  3. Traceback (most recent call last):
  4. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 391, in errback
  5. self._startRunCallbacks(fail)
  6. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 458, in _startRunCallbacks
  7. self._runCallbacks()
  8. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 545, in _runCallbacks
  9. current.result = callback(current.result, *args, **kw)
  10. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 910, in gotResult
  11. _deferGenerator(g, deferred)
  12. --- <exception caught here> ---
  13. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 885, in _deferGenerator
  14. result = g.next()
  15. File "/home/deegan/dev/bb_git/buildbot/master/buildbot/scripts/runner.py", line 434, in upgradeMaster
  16. wfd.getResult()
  17. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py", line 864, in getResult
  18. self.result.raiseException()
  19. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/python/threadpool.py", line 207, in _worker
  20. result = context.call(ctx, function, *args, **kwargs)
  21. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
  22. return self.currentContext().callWithContext(ctx, func, *args, **kw)
  23. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
  24. return func(*args,**kw)
  25. File "/home/deegan/dev/bb_git/buildbot/master/buildbot/db/pool.py", line 177, in __thd
  26. rv = callable(arg, *args, **kwargs)
  27. File "/home/deegan/dev/bb_git/buildbot/master/buildbot/db/model.py", line 472, in thd
  28. upgrade(engine)
  29. File "/home/deegan/dev/bb_git/buildbot/master/buildbot/db/model.py", line 442, in upgrade
  30. schema.runchange(version, change, 1)
  31. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/migrate/versioning/schema.py", line 91, in runchange
  32. change.run(self.engine, step)
  33. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/migrate/versioning/script/py.py", line 145, in run
  34. script_func(engine)
  35. File "/home/deegan/dev/bb_git/buildbot/master/buildbot/db/migrate/versions/018_add_sourcestampset.py", line 45, in upgrade
  36. buildsets_table = sa.Table('buildsets', metadata, autoload=True)
  37. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/schema.py", line 303, in __new__
  38. table._init(name, metadata, *args, **kw)
  39. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/schema.py", line 366, in _init
  40. self._autoload(metadata, autoload_with, include_columns)
  41. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/schema.py", line 390, in _autoload
  42. self, include_columns, exclude_columns
  43. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 2276, in run_callable
  44. return conn.run_callable(callable_, *args, **kwargs)
  45. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1900, in run_callable
  46. return callable_(self, *args, **kwargs)
  47. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 259, in reflecttable
  48. return insp.reflecttable(table, include_columns, exclude_columns)
  49. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/engine/reflection.py", line 394, in reflecttable
  50. sql.text(col_d['default']), _reflected=True
  51. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/sql/expression.py", line 1129, in text
  52. return _TextClause(text, bind=bind, *args, **kwargs)
  53. File "/home/deegan/dev/bb_git/sandbox/lib/python2.7/site-packages/sqlalchemy/sql/expression.py", line 2842, in __init__
  54. self.text = self._bind_params_regex.sub(repl, text)
  55. exceptions.TypeError: expected string or buffer
  56.