Comment 1 for bug 106863

Revision history for this message
Gavrie Philipson (gavrie) wrote : Re: Upgrade tool crashed

The problem is that the code tries to convert a string that's already Unicode to Unicode.

Proposed fix:
Change the function utf8 in DistUpgradeViewKDE.py to something like this:

def utf8(str):
  if isinstance(str, unicode):
    return str
  return unicode(str, 'UTF-8')