← Back to team overview

desktop-packages team mailing list archive

[Bug 834984] Re: "Reinstall Previous Purchases" shows empty screen and traceback

 

Fixed in linked branch.

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

** Changed in: software-center (Ubuntu)
     Assignee: (unassigned) => Kiwinote (kiwinote)

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

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

Title:
  "Reinstall Previous Purchases" shows empty screen and traceback

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

Bug description:
  software-center-gtk3 trunk r2217, Ubuntu Ocelot

  1. Launch USC.
  2. Choose "File" > "Reinstall Previous Purchases".

  What happens:
  * The main pane goes blank, except for a sort menu.
  * A traceback:
  ------------
  2011-08-26 20:11:56,423 - softwarecenter.db.update - ERROR - error processing: 'PistonResponseObject' object has no attribute 'department'
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/db/update.py", line 488, in add_from_purchased_but_needs_reinstall_data
      index_app_info_from_parser(parser, db_purchased, cache)
    File "/home/mpt/hacking/software-center/softwarecenter/db/update.py", line 686, in index_app_info_from_parser
      for cat in parser.get_desktop_categories():
    File "/home/mpt/hacking/software-center/softwarecenter/db/update.py", line 179, in get_desktop_categories
      return ['SC_CATEGORY'] + self.sca_entry.department
  AttributeError: 'PistonResponseObject' object has no attribute 'department'
  2011-08-26 20:11:56,424 - softwarecenter.db.update - ERROR - error processing: 'PistonResponseObject' object has no attribute 'department'
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/db/update.py", line 488, in add_from_purchased_but_needs_reinstall_data
      index_app_info_from_parser(parser, db_purchased, cache)
    File "/home/mpt/hacking/software-center/softwarecenter/db/update.py", line 686, in index_app_info_from_parser
      for cat in parser.get_desktop_categories():
    File "/home/mpt/hacking/software-center/softwarecenter/db/update.py", line 179, in get_desktop_categories
      return ['SC_CATEGORY'] + self.sca_entry.department
  AttributeError: 'PistonResponseObject' object has no attribute 'department'
  ------------

  What should happen: An Ubuntu SSO sign-in dialog appears.

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


References