[Bug 1132918] Re: Ubiquity crashes after user creation

Colin Watson cjwatson at canonical.com
Thu Oct 24 11:25:44 UTC 2013


You can reproduce this exception in at least some non-Unicode locales,
although I'm not entirely sure why ubiquity would have been in such a
locale or why it would have been attempting to render such a large
value; this may not have been the original case, but it'll do for a
reproducer.  The et_EE locale must be generated before running this.

  $ LC_ALL=et_EE python3
  Python 3.3.2+ (default, Oct  9 2013, 14:50:09)
  [GCC 4.8.1] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import locale
  >>> import apt_pkg
  >>> locale.setlocale(locale.LC_ALL, '')
  'et_EE'
  >>> apt_pkg.size_to_str(10000000000000000000000000000)
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 2: invalid start byte

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

Title:
  Ubiquity crashes after user creation

Status in “python-apt” package in Ubuntu:
  Confirmed
Status in “ubiquity” package in Ubuntu:
  Fix Released
Status in “python-apt” source package in Raring:
  Confirmed
Status in “ubiquity” source package in Raring:
  Fix Released

Bug description:
  After Ubiquity finishes copying files, it creates the users on the system (Or a bit later), then crashes.
  I used Grub2 on my USB drive to boot the raring ISO via loopback. Installed with a custom partition layout (Reused old Home and formated Root).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: ubiquity 2.13.12
  ProcVersionSignature: Ubuntu 3.8.0-7.15-generic 3.8.0
  Uname: Linux 3.8.0-7-generic x86_64
  ApportVersion: 2.8-0ubuntu4
  Architecture: amd64
  CasperVersion: 1.330
  Date: Mon Feb 25 20:08:39 2013
  LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130225)
  MarkForUpload: True
  ProcEnviron:
   TERM=unknown
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1132918/+subscriptions



More information about the foundations-bugs mailing list