[Bug 824595] Re: Software won't install/uninstall (TypeError: character mapping must return integer, None or unicode)

Robert Roth evfool at gmail.com
Thu Aug 11 19:14:00 UTC 2011


*** This bug is a duplicate of bug 822913 ***
    https://bugs.launchpad.net/bugs/822913

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug #822913, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 822913
   update-manager crashed with TypeError in normalize(): character mapping must return integer, None or unicode

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/824595

Title:
  Software won't install/uninstall (TypeError: character mapping must
  return integer, None or unicode)

Status in “software-center” package in Ubuntu:
  New

Bug description:
  Ubuntu Software Center 4.1.13, Ubuntu Ocelot

  1. Launch USC.
  2. Navigate to the screen for an item.
  3. Click "Install".

  What happens:

  1. 2011-08-11 16:04:14,983 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/db/database.py', 169, 'open')'
  2011-08-11 16:04:14,983 - root - WARNING - failed to add sca db Couldn't stat '/home/mpt/.cache/software-center/software-center-agent.db' (No such file or directory)
  2011-08-11 16:04:15,120 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
  /usr/share/software-center/softwarecenter/ui/gtk/app.py:1241: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
    self.window_main.show_all()
  2011-08-11 16:04:15,713 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/zeitgeist/client.py', 396, 'reconnect_monitors')'
  2011-08-11 16:04:15,713 - zeitgeist.client - INFO - Reconnected to Zeitgeist engine...
  /usr/share/software-center/softwarecenter/ui/gtk/SimpleGtkbuilderApp.py:50: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
    gtk.main()
  2011-08-11 16:04:19,944 - softwarecenter.ui.gtk.app - INFO - software-center-agent finished with status 1

  2. No further errors appear.

  3. 2011-08-11 16:04:30,206 - softwarecenter.backend - WARNING - _on_trans_error: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 474, in _inline_callbacks
      result = gen.send(result)
    File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 1055, in _set_property
      self._set_locale(value)
    File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 726, in _set_locale
      (lang, encoding) = locale._parse_localename(locale_str)
    File "/usr/lib/python2.7/locale.py", line 421, in _parse_localename
      code = normalize(localename)
    File "/usr/lib/python2.7/locale.py", line 358, in normalize
      fullname = localename.translate(_ascii_lower_map)
  TypeError: character mapping must return integer, None or unicode

  Exactly the same traceback occurs when trying to remove something.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/824595/+subscriptions




More information about the foundations-bugs mailing list