[Buildbot-devel] error upgrading to 0.8.0rc2

Bill Deegan bill at baddogconsulting.com
Mon May 3 17:46:14 UTC 2010


Any sugguesions how to proceed?
-Bill

[builds at lzeno buildbot]$ buildbot upgrade-master .
/opt/local/buildbot/public_html/robots.txt has old/modified contents
 writing new contents to /opt/local/buildbot/public_html/robots.txt.new
/opt/local/buildbot/public_html/bg_gradient.jpg has old/modified contents
 writing new contents to /opt/local/buildbot/public_html/bg_gradient.jpg.new
migrating changes.pck to database
 (12255 Change objects)
Traceback (most recent call last):
  File "/tools/linux-ia32/python/python/2.5.4/bin/buildbot", line 5, in <module>
    pkg_resources.run_script('buildbot==0.8.0rc2', 'buildbot')
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py",
line 489, in run_script
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg/pkg_resources.py",
line 1207, in run_script
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/buildbot-0.8.0rc2-py2.5.egg/EGG-INFO/scripts/buildbot",
line 4, in <module>
    runner.run()
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/buildbot-0.8.0rc2-py2.5.egg/buildbot/scripts/runner.py",
line 1193, in run
    upgradeMaster(so)
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/buildbot-0.8.0rc2-py2.5.egg/buildbot/scripts/runner.py",
line 453, in upgradeMaster
    sm.upgrade()
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/buildbot-0.8.0rc2-py2.5.egg/buildbot/db/schema/manager.py",
line 56, in upgrade
    upg.upgrade()
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/buildbot-0.8.0rc2-py2.5.egg/buildbot/db/schema/v1.py",
line 245, in upgrade
    self.migrate_changes()
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/buildbot-0.8.0rc2-py2.5.egg/buildbot/db/schema/v1.py",
line 317, in migrate_changes
    self._addChangeToDatabase(c, cursor)
  File "/tools/linux-ia32/python/python/2.5.4/lib/python2.5/site-packages/buildbot-0.8.0rc2-py2.5.egg/buildbot/db/schema/v1.py",
line 271, in _addChangeToDatabase
    cursor.execute(q, values)
pysqlite2.dbapi2.ProgrammingError: You must not use 8-bit bytestrings
unless you use a text_factory that can interpret 8-bit bytestrings
(like text_factory = str). I t is highly recommended that you instead
just switch your application to Unicode strings.




More information about the devel mailing list