← Back to team overview

ubuntu-bots team mailing list archive

[Bug 843823] Re: importing to MySQL fails with unicode chars

 

** Changed in: ubuntu-bots
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
IRC Bots, which is subscribed to Ubuntu IRC Bots.
https://bugs.launchpad.net/bugs/843823

Title:
  importing to MySQL fails with unicode chars

Status in The official Ubuntu IRC bots:
  Fix Released

Bug description:
  m4v@deimos ~/dev/src/ubuntu-bots/stormyfacts/Stormyfacts
   % python scripts/import_ubottu_factoids.py ../../ubuntu.db mysql:stormyfacts
  [INFO] Converting '../../ubuntu.db' to SQLite3.x ... DONE
  [INFO] Converting factoid database ... writing new database ... 
  /usr/lib/python2.7/dist-packages/storm/database.py:342: Warning: Incorrect string value: '\xC5\xBCywam...' for column 'value' at row 1
    return function(*args, **kwargs)
  /usr/lib/python2.7/dist-packages/storm/database.py:342: Warning: Incorrect string value: '\xC4\xB1c\xC4\xB1l...' for column 'value' at row 1
    return function(*args, **kwargs)
  /usr/lib/python2.7/dist-packages/storm/database.py:342: Warning: Incorrect string value: '\xEB\x8F\x84\xEC\x9B\x80...' for column 'value' at row 1
    return function(*args, **kwargs)
  /usr/lib/python2.7/dist-packages/storm/database.py:342: Warning: Incorrect string value: '\xE5\xA6\x82\xE6\xAC\xB2...' for column 'value' at row 1
    return function(*args, **kwargs)
  ...
  (more lots of those)
  ...
  /usr/lib/python2.7/dist-packages/storm/database.py:342: Warning: Incorrect string value: '\xE2\x98\xAE' for column 'value' at row 1
    return function(*args, **kwargs)
  DONE
  [INFO] Converted 2485 facts of 2637, added 3493 revisions
  [INFO] Found 3 unknown keywords and 16 invalid factoids.
  All done.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-bots/+bug/843823/+subscriptions