websiteWebsite
bluemindo Bluemindo
Simple yet powerful audio player in Python/PyGTK, using Gstreamer.

Bug tracking

» Click here to report a bug on this project.

Bug report #590
Title: sqlite fails on utf-8 strings
Date added: 2009-05-07 00:18:18 Type: Bug report
Status: Rejected Priority: Normal
Affected version: trunk Milestone: n/a
Reported by: strider Assigned to: xbright
History:
  • 2009-05-07 00:18:18 - create by strider
  • 2009-07-05 01:14:45 - update by xbright
    Status changed to Rejected
    Assign to xbright
Feed subscription: RSS or Atom.
Attachements:
When building the collection on SVN Release 100, I get this exception :
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
 
Exception in thread artists:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/strider/dev/third-party/bluemindo/trunk/src/modules/explorer/views/full.py", line 135, in insert_artists
    musicdb.scan()
  File "/home/strider/dev/third-party/bluemindo/trunk/src/modules/explorer/musicdb.py", line 134, in scan
    self.do_scan()
  File "/home/strider/dev/third-party/bluemindo/trunk/src/modules/explorer/musicdb.py", line 95, in do_scan
    'values (?, ?, ?, ?, ?, ?, ?, ?, ?)', songs)
  File "/home/strider/dev/third-party/bluemindo/trunk/src/common/sqlite.py", line 80, in executemany
    self.cur.executemany(sql, param)
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.
 
 
This bug is closed.