← Back to team overview

desktop-packages team mailing list archive

[Bug 833927] [NEW] "Cancel" at "Purchase of software" leaves you at "Subscription cancelled" screen

 

Public bug reported:

software-center-gtk3 trunk r2169, 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. Go to the screen for one of the for-purchase items, and choose "Buy".
2. Sign in.
3. At the bottom of the "Purchase of software" screen, click "cancel".

What happens:
* A "Processing your request" screen appears.
* The screen says "Information received", then "Subscription cancelled (end state)".
* The spinner continues spinning on "Subscription cancelled" indefinitely.
* A traceback appears every few seconds:
------------
** Message: console message: https://software-center.ubuntu.com/subscriptions/#####/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/panes/availablepane.py", line 219, in on_purchase_cancelled_by_user
    self._click_appdetails_view()
AttributeError: 'AvailablePane' object has no attribute '_click_appdetails_view'
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 223, 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 0x229e370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x2225d00)>>
------------

What should happen: USC returns to the software item screen.

Similar symptoms previously occurred as bug 641321.

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

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

** Description changed:

  software-center-gtk3 trunk r2169, 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. Go to the screen for one of the for-purchase items, and choose "Buy".
  2. Sign in.
  3. At the bottom of the "Purchase of software" screen, click "cancel".
  
  What happens:
  * A "Processing your request" screen appears.
  * The screen says "Information received", then "Subscription cancelled (end state)".
  * The spinner continues spinning on "Subscription cancelled" indefinitely.
  * A traceback appears every few seconds:
  ------------
  ** Message: console message: https://software-center.ubuntu.com/subscriptions/#####/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/panes/availablepane.py", line 219, in on_purchase_cancelled_by_user
-     self._click_appdetails_view()
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 219, in on_purchase_cancelled_by_user
+     self._click_appdetails_view()
  AttributeError: 'AvailablePane' object has no attribute '_click_appdetails_view'
  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 223, 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 223, 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 0x229e370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x2225d00)>>
  ------------
  
  Similar symptoms previously occurred as bug 641321.

** Description changed:

  software-center-gtk3 trunk r2169, 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. Go to the screen for one of the for-purchase items, and choose "Buy".
  2. Sign in.
  3. At the bottom of the "Purchase of software" screen, click "cancel".
  
  What happens:
  * A "Processing your request" screen appears.
  * The screen says "Information received", then "Subscription cancelled (end state)".
  * The spinner continues spinning on "Subscription cancelled" indefinitely.
  * A traceback appears every few seconds:
  ------------
  ** Message: console message: https://software-center.ubuntu.com/subscriptions/#####/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/panes/availablepane.py", line 219, in on_purchase_cancelled_by_user
      self._click_appdetails_view()
  AttributeError: 'AvailablePane' object has no attribute '_click_appdetails_view'
  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 223, 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 0x229e370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x2225d00)>>
  ------------
  
+ What should happen: USC returns to the software item screen.
+ 
  Similar symptoms previously occurred as bug 641321.

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

Title:
  "Cancel" at "Purchase of software" leaves you at "Subscription
  cancelled" screen

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

Bug description:
  software-center-gtk3 trunk r2169, 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. Go to the screen for one of the for-purchase items, and choose "Buy".
  2. Sign in.
  3. At the bottom of the "Purchase of software" screen, click "cancel".

  What happens:
  * A "Processing your request" screen appears.
  * The screen says "Information received", then "Subscription cancelled (end state)".
  * The spinner continues spinning on "Subscription cancelled" indefinitely.
  * A traceback appears every few seconds:
  ------------
  ** Message: console message: https://software-center.ubuntu.com/subscriptions/#####/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/panes/availablepane.py", line 219, in on_purchase_cancelled_by_user
      self._click_appdetails_view()
  AttributeError: 'AvailablePane' object has no attribute '_click_appdetails_view'
  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 223, 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 0x229e370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x2225d00)>>
  ------------

  What should happen: USC returns to the software item screen.

  Similar symptoms previously occurred as bug 641321.

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


Follow ups

References