[Buildbot-commits] [Buildbot] #1054: sqlite3.ProgrammingError when starting a rebuild with non-ASCII chars in re-build reason

Buildbot nobody at buildbot.net
Sun Mar 11 23:50:12 UTC 2012


#1054: sqlite3.ProgrammingError when starting a rebuild with non-ASCII chars in
re-build reason
-------------------------+--------------------
Reporter:  andialbrecht  |       Owner:
    Type:  defect        |      Status:  new
Priority:  major         |   Milestone:  0.8.7
 Version:  0.8.1         |  Resolution:
Keywords:  database      |
-------------------------+--------------------

Comment (by dustin):

 I still get this when rebuilding because "☃"

 <class 'sqlalchemy.exc.ProgrammingError'>: (ProgrammingError) You must not
 use 8-bit bytestrings unless you use a text_factory that can interpret
 8-bit bytestrings (like text_factory = str). It is highly recommended that
 you instead just switch your application to Unicode strings. u'INSERT INTO
 buildsets (external_idstring, reason, submitted_at, complete, complete_at,
 results, sourcestampsetid) VALUES (?, ?, ?, ?, ?, ?, ?)' (None, "The web-
 page 'rebuild' button was pressed by '<unknown>': \xe2\x98\x83\n",
 1331509675.957143, 0, None, -1, 2)

 so this definitely isn't fixed.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1054#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list