Handle errors more gracefully, show user friendly message and hide technical details

Bug #865176 reported by Stefan H. on 2011-10-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Control Panel
Undecided
Unassigned
Ubuntu Single Sign On Client
Status tracked in Trunk
Stable-3-0
Undecided
Unassigned
Trunk
Undecided
Diego Sarmentero
ubuntu-sso-client (Ubuntu)
Undecided
Unassigned

Bug Description

What happens: After installing Ubuntu One on Windows 7 64bit I went on to create an account. A few seconds after pressing the Set Up Account button the client reported an error by displaying what looks like a python AttributeError in the GUI (see attached screenshot). After entering the now changed captcha and pressing the button again the Set Up completed as expected.

What I expect to happen: The error should not occur at all or should be wrapped and a "user-parsable" message should be displayed.

Related branches

Natalia Bidart (nataliabidart) wrote :

Hello Stefan,

while your report is absolutely valid, the error you had is very difficult to handle, since is thrown by a low layer of httplib when a socket connection timeouts.

I will edit the bug title a bit to reflect this.

Thanks for helping us make Ubuntu One better!

tags: added: u1-windows
removed: windows
summary: - Python error message displayed in UI during signup
+ Handle error more gracefully
summary: - Handle error more gracefully
+ Handle error more gracefully, show user fiendly message and hide
+ technical details
summary: - Handle error more gracefully, show user fiendly message and hide
+ Handle errors more gracefully, show user friendly message and hide
technical details
affects: ubuntuone-client → ubuntuone-windows-installer
Changed in ubuntuone-windows-installer:
assignee: nobody → Diego Sarmentero (diegosarmentero)
importance: Undecided → Medium
status: New → Triaged
Natalia Bidart (nataliabidart) wrote :

Diego, we should implement something like what we're targeting for the control panel in bug #862540.

Changed in ubuntuone-windows-installer:
status: Triaged → In Progress
Changed in ubuntuone-windows-installer:
status: In Progress → Triaged
affects: ubuntuone-windows-installer → ubuntuone-control-panel
Changed in ubuntuone-control-panel:
status: Triaged → In Progress
Changed in ubuntuone-control-panel:
status: In Progress → Invalid
assignee: Diego Sarmentero (diegosarmentero) → nobody
importance: Medium → Undecided
Launchpad Janitor (janitor) wrote :
Download full text (3.7 KiB)

This bug was fixed in the package ubuntu-sso-client - 2.99.91-0ubuntu1

---------------
ubuntu-sso-client (2.99.91-0ubuntu1) precise; urgency=low

  * New upstream release:
    - Do not allow ssl errors to be ignored (LP: #959390).
    - Handle wrong credentials properly in qtnetwork webclient
      (LP: #957317).
    - Use HTTPClientFactory to allow replacing the reactor used to connect
      (LP: #929207).
    - Decode the content of help_text (LP: #951371).
    - Adding missing file for translation (LP: #951376).
    - Adding a general error message when the argument received by
      build_general_error_message is not a dict (LP: #865176).
    - Adding some checks to setup_page (LP: #951461).
    - Adding a padding to the right margin of the reset layout, and align
      one of its layout to the left (LP: #945065).
    - Executing hide_error when the user click the refresh captcha link,
      not inside of the _refresh_captcha method, because this is executed
      automatically when a captcha error is generated, so we will always
      miss the error message (LP: #955010).
    - Removing the align property from the label that wasn't necessary
      and was breakint the work wrap. Also adjust the height of the widget
      depending if it has more than one line (LP: #940392).
    - Improve logging operations (LP: #934500).
    - Making LINK_STYLE to be unicode (LP: #950953).
    - Setting the window title equal to the app_name (LP: #949744).
    - The _move_to_email_verification_page wasn't receiving the params
      that the signal emits (LP: #945066).
    - Improve the grammar for the CLOSE_AND_SETUP_LATER button text
      (LP: #949978).
    - Changed the way in which we deal with proxies to work around bugs
      found in the QNetworkAccessManager (LP: #957313).
    - Stopped listening to the proxyAuthenticationRequired to avoid the
      dialog showing more than once (LP: #957170)
    - Made changes in the way the webclient is selected to ensure that qt
      is used when possible (LP: #957169).
    - Connected the WebKit browser correctly so that the tc page gets
      loaded (LP: #933081).
    - Added code to check if the browser with the t&c was already loaded.
      If it is just show the t&c page, otherwise perform the request
      (LP: #956185).
    - Added a translatable string to give more context of the ssl cert
      info to the user (LP: #948119).
    - Provided the logic required for the Qt webclient implementation to
      detect ssl errors and spawn the ssl dialog to allow the user accept
      the ssl cert exceptions (LP: #948134).
    - Changed the qt webclient implementation to use a proxy factory so
      that the correct proxy is chosen according to the request
      (LP: #950088).
    - Added the required code to allow the webclient use authenticated
      proxies and request the creds when needed (LP: #933727).
    - The tooltip should not be shown for titles and subtitles when
      no cut off was needed (LP: #949741).
    - Enable platform-specific styling (LP: #953318).
    - Only import DBus on Linux (LP: #956304).
    - Don't hard-code font sizes.
    - Remove usage of weight property as a numeric; just use...

Read more...

Changed in ubuntu-sso-client (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers