[Bug 822915] Re: software-center-gtk3 crashed with UnicodeEncodeError in set_description(): 'ascii' codec can't encode character u'\xe8' in position 9: ordinal not in range(128)

Kamus kamusin at gmail.com
Tue Aug 9 15:48:03 UTC 2011


I got a similar traceback when I was trying to get more information for
an application:

Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/utils.py", line 94, in wrapper
    f(*args, **kwargs)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 324, in on_application_activated
    vm.display_page(self, SoftwarePane.Pages.DETAILS, self.state, self.display_details_page)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 150, in display_page
    callback(page, view_state)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 654, in display_details_page
    self.app_details_view.show_app(view_state.application)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1425, in show_app
    skip_update_addons=(type(self.app)==DebFileApplication))
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1254, in _update_all
    self._update_app_description(app_details, appname)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview_gtk.py", line 1149, in _update_app_description
    self.desc.set_description(description, appname)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/description.py", line 1121, in set_description
    desc = GObject.markup_escape_text(desc)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 31: ordinal not in range(128)


** Changed in: software-center (Ubuntu)
   Importance: Undecided => Medium

-- 
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/822915

Title:
  software-center-gtk3 crashed with UnicodeEncodeError in
  set_description(): 'ascii' codec can't encode character u'\xe8' in
  position 9: ordinal not in range(128)

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

Bug description:
  Hello
  Trying to install Audacity, it crash.
  Thanks
  Fabio

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-center 4.1.12
  ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  Architecture: amd64
  Date: Mon Aug  8 22:16:44 2011
  ExecutablePath: /usr/share/software-center/software-center-gtk3
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center-gtk3
  ProcEnviron:
   SHELL=/bin/bash
   LANG=it_IT.UTF-8
  PythonArgs: ['/usr/bin/software-center-gtk3']
  SourcePackage: software-center
  Title: software-center-gtk3 crashed with UnicodeEncodeError in set_description(): 'ascii' codec can't encode character u'\xe8' in position 9: ordinal not in range(128)
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

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




More information about the foundations-bugs mailing list