← Back to team overview

desktop-packages team mailing list archive

[Bug 833920] [NEW] Blank screen and traceback for purchased-but-not-installed item

 

Public bug reported:

software-center-gtk3 trunk r2209, Ubuntu Ocelot

(Until one of the real for-purchase items is published for Ocelot, you
will need to be a member of the commercial QA team to reproduce this
bug.)

1. Purchase an item, but prevent it from installing.
2. Relaunch USC, and go to the screen for the item.

What happens:
* The screen is blank.
* The same traceback appears 52 times:
------------
** Message: console message: https://software-center.ubuntu.com/subscriptions/50603/checkout_complete/ @18: {"token_key": "############", "consumer_secret": "############", "api_version": 2.0, "subscription_id": #####, "consumer_key": "############", "token_secret": "############"}

Traceback (most recent call last):
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 192, in _on_title_changed
    self._process_json(title)
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 235, in _process_json
    self._block_wk_handlers()
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 254, in _block_wk_handlers
    self.wk.webkit.handler_block_by_func(self._on_new_window)
TypeError: nothing connected to <bound method PurchaseView._on_new_window of <PurchaseView object at 0x3a11370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x39e8540)>>
------------

What should happen: The screen appears as normal, with an "Install"
button.

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

** Description changed:

  software-center-gtk3 trunk r2209, Ubuntu Ocelot
  
  (Until one of the real for-purchase items is published for Ocelot, you
  will need to be a member of the commercial QA team to reproduce this
  bug.)
  
  1. Purchase an item, but prevent it from installing.
  2. Relaunch USC, and go to the screen for the item.
  
  What happens:
  * The screen is blank.
  * The same traceback appears 52 times:
  ------------
  ** Message: console message: https://software-center.ubuntu.com/subscriptions/50603/checkout_complete/ @18: {"token_key": "############", "consumer_secret": "############", "api_version": 2.0, "subscription_id": #####, "consumer_key": "############", "token_secret": "############"}
  
  Traceback (most recent call last):
-   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 192, in _on_title_changed
-     self._process_json(title)
-   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 235, in _process_json
-     self._block_wk_handlers()
-   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 254, in _block_wk_handlers
-     self.wk.webkit.handler_block_by_func(self._on_new_window)
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 192, in _on_title_changed
+     self._process_json(title)
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 235, in _process_json
+     self._block_wk_handlers()
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 254, in _block_wk_handlers
+     self.wk.webkit.handler_block_by_func(self._on_new_window)
  TypeError: nothing connected to <bound method PurchaseView._on_new_window of <PurchaseView object at 0x3a11370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x39e8540)>>
- ** Message: console message: https://software-center.ubuntu.com/subscriptions/50603/checkout_complete/ @18: {"token_key": "############", "consumer_secret": "############", "api_version": 2.0, "subscription_id": #####, "consumer_key": "############", "token_secret": "############"}
  ------------
  
  What should happen: The screen appears as normal, with an "Install"
  button.

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

Title:
  Blank screen and traceback for purchased-but-not-installed item

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

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

  (Until one of the real for-purchase items is published for Ocelot, you
  will need to be a member of the commercial QA team to reproduce this
  bug.)

  1. Purchase an item, but prevent it from installing.
  2. Relaunch USC, and go to the screen for the item.

  What happens:
  * The screen is blank.
  * The same traceback appears 52 times:
  ------------
  ** Message: console message: https://software-center.ubuntu.com/subscriptions/50603/checkout_complete/ @18: {"token_key": "############", "consumer_secret": "############", "api_version": 2.0, "subscription_id": #####, "consumer_key": "############", "token_secret": "############"}

  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 192, in _on_title_changed
      self._process_json(title)
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 235, in _process_json
      self._block_wk_handlers()
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 254, in _block_wk_handlers
      self.wk.webkit.handler_block_by_func(self._on_new_window)
  TypeError: nothing connected to <bound method PurchaseView._on_new_window of <PurchaseView object at 0x3a11370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x39e8540)>>
  ------------

  What should happen: The screen appears as normal, with an "Install"
  button.

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


Follow ups

References