← Back to team overview

desktop-packages team mailing list archive

[Bug 888669] Re: software-center crashed with IndexError in set_thumbnails_from_data(): list index out of range

 

** Branch linked: lp:~kiwinote/software-center/bug888669

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

Title:
  software-center crashed with IndexError in set_thumbnails_from_data():
  list index out of range

Status in “software-center” package in Ubuntu:
  Fix Committed
Status in “software-center” source package in Precise:
  Fix Committed

Bug description:
  Software-center crashed when I try to get more info for qt creator
  package.

  I'm using live-usb and running unity-2d.

  TEST CASE:
  1. Launch Software Center from the command line
  2. Select an application without a screenshot
     2.1 Enter 'hello' in the search box
     2.2 Select the line with title 'The Classic greeting, and good example'
  3. Click on 'More info' 

  EXPECTED RESULT:
  Detail page is displayed without error

  ACTUAL RESULT:
  The following error is displayed on the terminal
  -----
  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/thumbnail.py", line 264, in _on_screenshots_available
      self.thumbnails.set_thumbnails_from_data(screenshots)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/thumbnail.py", line 482, in set_thumbnails_from_data
      self._prev = self.get_children()[0]
  IndexError: list index out of range
  -----

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-center 5.1.1.1
  ProcVersionSignature: Ubuntu 3.1.0-2.3-generic 3.1.0
  Uname: Linux 3.1.0-2-generic x86_64
  ApportVersion: 1.25-0ubuntu1
  Architecture: amd64
  CasperVersion: 1.289
  Date: Thu Nov 10 19:21:45 2011
  ExecutablePath: /usr/share/software-center/software-center
  InterpreterPath: /usr/bin/python2.7
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111107)
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center']
  SoftwareCenterLog:
   2011-11-10 19:13:54,809 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 13 20
   2011-11-10 19:14:02,443 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
   2011-11-10 19:14:03,189 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
   2011-11-10 19:14:46,212 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 0
  SourcePackage: software-center
  Title: software-center crashed with IndexError in set_thumbnails_from_data(): list index out of range
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout dip lpadmin plugdev sambashare sudo

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