← Back to team overview

desktop-packages team mailing list archive

[Bug 920741] Re: UnicodeDecodeError in add_repo_add_key_and_install_app

 

** Changed in: software-center (Ubuntu)
       Status: New => Triaged

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

** Changed in: software-center (Ubuntu)
     Assignee: (unassigned) => Gary Lasker (gary-lasker)

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

Title:
  UnicodeDecodeError in add_repo_add_key_and_install_app

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

Bug description:
  The esteemed davmor2 discovered a new UnicodeDecodeError while testing
  a new app for the For Purchase section. This application appears to be
  the first one we've deployed For Purchase that uses a unicode
  character in its title, which explains why we have not seen this
  particular one before.

  The title of the associated application is "Linux Shell 01 - Manual
  Práctico del Shell".

  Here is the stacktrace:

  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/apptreeview.py", line 452, in _cell_data_func_cb
      model.load_range(indices, 5)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 441, in load_range
      if self[(i,)][0]: continue
    File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 732, in __getitem__
      raise IndexError("could not find tree path '%s'" % key)
  IndexError: could not find tree path '197'
  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/apptreeview.py", line 452, in _cell_data_func_cb
      model.load_range(indices, 5)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 441, in load_range
      if self[(i,)][0]: continue
    File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 732, in __getitem__
      raise IndexError("could not find tree path '%s'" % key)
  IndexError: could not find tree path '199'
  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/apptreeview.py", line 452, in _cell_data_func_cb
      model.load_range(indices, 5)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 441, in load_range
      if self[(i,)][0]: continue
    File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 732, in __getitem__
      raise IndexError("could not find tree path '%s'" % key)
  IndexError: could not find tree path '201'
  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/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 505, in add_repo_add_key_and_install_app
      app))
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128)

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