[Buildbot-devel] Upgrade to 0.8.0 produced error

Douglas Leeder douglas.leeder at sophos.com
Mon Jul 5 10:21:42 UTC 2010


Hi I upgraded to buildbot 0.8.0 today.

I wasn't able to migrate the changes.pck due to the following error.
I've moved the changes.pck out of the way since it isn't important to
us. But I'm interesting to know what the problem was?

migrating changes.pck to database
  (80 Change objects)
Traceback (most recent call last):
   File "/usr/bin/buildbot", line 5, in <module>
     pkg_resources.run_script('buildbot==0.8.0', 'buildbot')
   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448,
in run_script
     self.require(requires)[0].run_script(script_name, ns)
   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1166,
in run_script
     execfile(script_filename, namespace, namespace)
   File
"/usr/lib/python2.5/site-packages/buildbot-0.8.0-py2.5.egg/EGG-INFO/scripts/buildbot",
line 4, in <module>
     runner.run()
   File
"/usr/lib/python2.5/site-packages/buildbot-0.8.0-py2.5.egg/buildbot/scripts/runner.py",
line 1193, in run
     upgradeMaster(so)
   File
"/usr/lib/python2.5/site-packages/buildbot-0.8.0-py2.5.egg/buildbot/scripts/runner.py",
line 453, in upgradeMaster
     sm.upgrade()
   File
"/usr/lib/python2.5/site-packages/buildbot-0.8.0-py2.5.egg/buildbot/db/schema/manager.py",
line 65, in upgrade
     upg.upgrade()
   File
"/usr/lib/python2.5/site-packages/buildbot-0.8.0-py2.5.egg/buildbot/db/schema/v1.py",
line 246, in upgrade
     self.migrate_changes()
   File
"/usr/lib/python2.5/site-packages/buildbot-0.8.0-py2.5.egg/buildbot/db/schema/v1.py",
line 341, in migrate_changes
     self._addChangeToDatabase(c, cursor)
   File
"/usr/lib/python2.5/site-packages/buildbot-0.8.0-py2.5.egg/buildbot/db/schema/v1.py",
line 302, in _addChangeToDatabase
     (change.number, filename))
   File
"/usr/lib/python2.5/site-packages/buildbot-0.8.0-py2.5.egg/buildbot/db/dbspec.py",
line 108, in execute
     result = self.cursor.execute(*args, **kw)
pysqlite2.dbapi2.InterfaceError: Error binding parameter 1 - probably
unsupported type.

I did have some problems installing 0.8.0, since the machine can't
access the internet, I wasn't able to talk to pypi, so had to ctrl-C the
'setup.py install' step. However buildbot appears to be upgraded anyway?

--
Douglas Leeder, Senior Software Engineer

Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.




More information about the devel mailing list