SSO Client does not work with non-ascii hostnames

Bug #875331 reported by Roman Yepishev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Windows Installer
Invalid
Undecided
Unassigned
Ubuntu Single Sign On Client
Fix Released
High
Alejandro J. Cura

Bug Description

Ubuntu One cannot be installed on Windows where machine name is not ascii.
When such attempt is made, the installer shows a single "ascii" error message at the bottom of the screen:

http://ubuntuone.com/5GVNCmdGQ1N7SsodoEKzv2

sso-client.log:
2011-10-16 00:06:42,250:250.0 - ubuntu_sso.main.windows - INFO - Performing login_email_password as a remote call.
2011-10-16 00:06:42,250:250.999927521 - ubuntu_sso.credentials - INFO - _login_or_register: login_only=True <email address hidden>'.
2011-10-16 00:06:42,253:253.000020981 - ubuntu_sso.credentials - INFO - find_credentials: self.app_name u'Ubuntu One', result is {}? True
2011-10-16 00:06:42,253:253.999948502 - ubuntu_sso.account - INFO - Created a new SSO access layer for service url 'https://login.ubuntu.com/api/1.0'
2011-10-16 00:06:42,257:257.999897003 - ubuntu_sso.main.windows - ERROR - CredentialsManagement: emitting CredentialsError with app_name "Ubuntu One" and error_dict {'errtype': 'UnicodeDecodeError', 'message': 'ascii'}.
2011-10-16 00:06:42,266:266.000032425 - ubuntu_sso.main.windows - INFO - Emitting remote signal for on_credentials_error with callback <ubuntuone.platform.credentials.windows.RemovableSignal object at 0x02A12D30>.
2011-10-16 00:06:42,266:266.000032425 - ubuntu_sso.controllers - ERROR - Got error when login Ubuntu One, error: {'errtype': 'UnicodeDecodeError', 'message': 'ascii'}

STR:
1. Name the computer Привет-ПК (Hello-PC in English)
2. Try to install Ubuntu One and register with your account

Exected results:
It works.

Actual results:
See picture (ascii)

Related branches

Roman Yepishev (rye)
Changed in ubuntuone-windows-installer:
status: New → Confirmed
Changed in ubuntu-sso-client:
status: New → Confirmed
Changed in ubuntuone-windows-installer:
status: Confirmed → New
Changed in ubuntuone-windows-installer:
assignee: nobody → Alejandro J. Cura (alecu)
importance: Undecided → High
status: New → In Progress
Changed in ubuntu-sso-client:
status: Confirmed → Triaged
status: Triaged → In Progress
Changed in ubuntuone-windows-installer:
status: In Progress → Invalid
Changed in ubuntu-sso-client:
assignee: nobody → Alejandro J. Cura (alecu)
Changed in ubuntuone-windows-installer:
assignee: Alejandro J. Cura (alecu) → nobody
Changed in ubuntu-sso-client:
importance: Undecided → High
Changed in ubuntuone-windows-installer:
importance: High → Undecided
tags: added: u1-windows
Changed in ubuntu-sso-client:
status: In Progress → Fix Committed
tags: added: support
Changed in ubuntu-sso-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.