Handle errors more gracefully, show user friendly message and hide technical details
Bug #865176 reported by
Stefan H.
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Control Panel |
Invalid
|
Undecided
|
Unassigned | |||
Ubuntu Single Sign On Client | Status tracked in Trunk | |||||
Stable-3-0 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Undecided
|
Diego Sarmentero | |||
ubuntu-sso-client (Ubuntu) |
Fix Released
|
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
lp:~diegosarmentero/ubuntu-sso-client/handle-errors
- dobey (community): Approve
- Natalia Bidart (community): Approve
-
Diff: 120 lines (+86/-2)2 files modifiedubuntu_sso/qt/__init__.py (+4/-1)
ubuntu_sso/qt/tests/test_common.py (+82/-1)
lp:~nataliabidart/ubuntu-sso-client/stable-3-0-update-2.99.91
- Roberto Alsina (community): Approve
-
Diff: 5121 lines (+2191/-925)62 files modifiedbin/ubuntu-sso-login-qt (+6/-3)
bin/ubuntu-sso-proxy-creds-qt (+6/-3)
data/qt/linux.qss (+2/-0)
data/qt/loadingoverlay.ui (+0/-5)
data/qt/proxy_credentials_dialog.ui (+0/-2)
data/qt/reset_password.ui (+199/-262)
data/qt/resources.qrc (+2/-0)
data/qt/setup_account.ui (+1/-36)
data/qt/ssl_dialog.ui (+0/-5)
data/qt/stylesheet.qss (+1/-13)
data/qt/windows.qss (+5/-0)
po/POTFILES.in (+1/-0)
run-tests (+1/-1)
ubuntu_sso/__init__.py (+8/-0)
ubuntu_sso/gtk/gui.py (+18/-33)
ubuntu_sso/gtk/tests/test_gui.py (+34/-5)
ubuntu_sso/qt/__init__.py (+33/-5)
ubuntu_sso/qt/common.py (+3/-3)
ubuntu_sso/qt/current_user_sign_in_page.py (+13/-12)
ubuntu_sso/qt/email_verification_page.py (+8/-5)
ubuntu_sso/qt/enhanced_check_box.py (+9/-3)
ubuntu_sso/qt/forgotten_password_page.py (+5/-1)
ubuntu_sso/qt/loadingoverlay.py (+3/-1)
ubuntu_sso/qt/main.py (+12/-3)
ubuntu_sso/qt/network_detection_page.py (+5/-1)
ubuntu_sso/qt/proxy_dialog.py (+4/-7)
ubuntu_sso/qt/reset_password_page.py (+6/-2)
ubuntu_sso/qt/setup_account_page.py (+19/-18)
ubuntu_sso/qt/sso_wizard_page.py (+116/-76)
ubuntu_sso/qt/tests/__init__.py (+55/-7)
ubuntu_sso/qt/tests/login_u_p.py (+0/-2)
ubuntu_sso/qt/tests/show_gui.py (+0/-2)
ubuntu_sso/qt/tests/test_common.py (+130/-2)
ubuntu_sso/qt/tests/test_current_user_sign_in_page.py (+28/-17)
ubuntu_sso/qt/tests/test_email_verification.py (+6/-7)
ubuntu_sso/qt/tests/test_enhanced_check_box.py (+19/-1)
ubuntu_sso/qt/tests/test_forgotten_password.py (+6/-4)
ubuntu_sso/qt/tests/test_loadingoverlay.py (+0/-3)
ubuntu_sso/qt/tests/test_main.py (+108/-12)
ubuntu_sso/qt/tests/test_proxy_dialog.py (+2/-2)
ubuntu_sso/qt/tests/test_reset_password.py (+9/-17)
ubuntu_sso/qt/tests/test_setup_account.py (+55/-71)
ubuntu_sso/qt/tests/test_ssl_dialog.py (+2/-1)
ubuntu_sso/qt/tests/test_sso_wizard_page.py (+98/-59)
ubuntu_sso/qt/tests/test_ubuntu_sso_wizard.py (+36/-6)
ubuntu_sso/qt/ubuntu_sso_wizard.py (+19/-2)
ubuntu_sso/utils/__init__.py (+15/-2)
ubuntu_sso/utils/linux.py (+19/-0)
ubuntu_sso/utils/runner/glib.py (+1/-1)
ubuntu_sso/utils/runner/tx.py (+1/-1)
ubuntu_sso/utils/tests/test_common.py (+10/-1)
ubuntu_sso/utils/ui.py (+7/-1)
ubuntu_sso/utils/webclient/__init__.py (+18/-2)
ubuntu_sso/utils/webclient/common.py (+110/-2)
ubuntu_sso/utils/webclient/gsettings.py (+21/-14)
ubuntu_sso/utils/webclient/libsoup.py (+48/-4)
ubuntu_sso/utils/webclient/qtnetwork.py (+124/-22)
ubuntu_sso/utils/webclient/tests/__init__.py (+74/-6)
ubuntu_sso/utils/webclient/tests/test_gsettings.py (+44/-61)
ubuntu_sso/utils/webclient/tests/test_webclient.py (+510/-10)
ubuntu_sso/utils/webclient/txweb.py (+77/-78)
ubuntu_sso/utils/windows.py (+19/-0)
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 |
To post a comment you must log in.
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!