← Back to team overview

desktop-packages team mailing list archive

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

 

Public bug reported:

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.

** Affects: software-center (Ubuntu)
     Importance: High
         Status: New

** Description changed:

  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:
  ------------
- ent finished with status 1
- 2011-08-26 20:11:56,423 - softwarecenter.db.update - ERROR - error processing: 'PistonResponseObject' object has no attribute 'department' 
+ 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
+   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' 
+ 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
+   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.

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

-- 
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:
  New

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


Follow ups

References