[Bug 831455] Re: ubiquity crashed with UnicodeDecodeError in check_hostname(): 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)

Launchpad Bug Tracker 831455 at bugs.launchpad.net
Mon Aug 29 17:02:47 UTC 2011


This bug was fixed in the package ubiquity - 2.7.19

---------------
ubiquity (2.7.19) oneiric; urgency=low

  [ Stéphane Graber ]
  * Properly handle unicode in calls to preseed (LP: #831455)
  * Properly handle unicode for device and mountpoints name (LP: #833813)
  * Port Ubiquity's accessibility indicator to gobject introspection
  * Fix a minor gobject introspection port issue (Gdk.CONTROL_MASK should
    be Gdk.ModifierType.CONTROL_MASK)
  * Fix ubi-timezone changed() function missing a parameter

  [ Colin Watson ]
  * Adjust timezone tests for change in timezone changed() signature.
  * Mock ubiquity.misc.drop_privileges and ubiquity.misc.regain_privileges
    during test_face_selector_save_to.
  * Mock ubiquity.frontend.base.drop_privileges in GTK frontend tests to
    cope with 'from ubiquity.misc import drop_privileges' form.
  * Mock ubiquity.nm.wireless_hardware_present in GTK frontend tests, as it
    may not be able to talk to D-Bus.
 -- Colin Watson <cjwatson at ubuntu.com>   Mon, 29 Aug 2011 17:26:51 +0100

** Changed in: ubiquity (Ubuntu Oneiric)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/831455

Title:
  ubiquity crashed with UnicodeDecodeError in check_hostname(): 'ascii'
  codec can't decode byte 0xc3 in position 2: ordinal not in range(128)

Status in “ubiquity” package in Ubuntu:
  Fix Released
Status in “ubiquity” source package in Oneiric:
  Fix Released

Bug description:
  Oneiric Desktop 20110822

  TEST CASE:
  In 'Who are you/Computer name' enter a name with accented letters.

  Traceback (most recent call last):
    File "/usr/lib/ubiquity/plugins/ubi-usersetup.py", line 391, in info_loop
      error_msg = check_hostname(txt)
    File "/usr/lib/ubiquity/plugins/ubi-usersetup.py", line 45, in check_hostname
      for result in validation.check_hostname(unicode(hostname)):
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: ubiquity 2.7.15
  ProcVersionSignature: Ubuntu 3.0.0-9.12-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  Architecture: amd64
  CasperVersion: 1.279
  Date: Mon Aug 22 18:11:45 2011
  ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
  InterpreterPath: /usr/bin/python2.7
  LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110822)
  ProcCmdline: /usr/bin/python /usr/lib/ubiquity/bin/ubiquity -d
  ProcCwd: /home/ubuntu
  ProcEnviron: Error: [Errno 13] Permission denied: '/proc/3378/environ'
  PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', '-d']
  SourcePackage: ubiquity
  Title: ubiquity crashed with UnicodeDecodeError in check_hostname(): 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/831455/+subscriptions




More information about the foundations-bugs mailing list