ubiquity installer crashes at language select

Bug #1001542 reported by Joel Pickett
92
This bug affects 12 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Critical
Colin Watson

Bug Description

latest daily-live iso ubiquity installer crashes when you double-click Install Ubuntu 12.10

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubiquity 2.11.0
ProcVersionSignature: Ubuntu 3.4.0-2.6-generic 3.4.0-rc7
Uname: Linux 3.4.0-2-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CasperVersion: 1.316
Date: Sat May 19 06:37:50 2012
InstallCmdLine: initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash -- BOOT_IMAGE=/ubnkern
LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120518)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Joel Pickett (jpickett) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

The problem here is that we're reading 512 bytes at a time from debconf and trying to decode it to text; this fails if a 512-byte boundary happens to fall in the middle of a Unicode character. Oops.

Changed in ubiquity (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
assignee: nobody → Colin Watson (cjwatson)
importance: High → Critical
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.11.1

---------------
ubiquity (2.11.1) quantal; urgency=low

  * Fix handling of pipes to update-apt-cache.
  * Sync up scripts/clock-setup-apply with changes in clock-setup 0.110.
  * Only decode bytes read from debconf once we have a complete line
    (LP: #1001542).
  * Remove a couple of unused attributes.
 -- Colin Watson <email address hidden> Mon, 21 May 2012 17:16:32 +0100

Changed in ubiquity (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Christopher Patrick (cpatrick08) wrote :

i get an error report in kubuntu daily-live 20120523 lso

Traceback (most recent call last):
  File "/usr/lib/ubiquity/plugins/ubi-language.py", line 596, in check_returncode
    self.update_release_notes_label()
  File "/usr/lib/ubiquity/plugins/ubi-language.py", line 602, in update_release_notes_label
    lang = self.selected_language()
  File "/usr/lib/ubiquity/plugins/ubi-language.py", line 541, in selected_language
    return self.language_choice_map[six.text_type(lang)][1]
KeyError: ' မြန်မာစာ'

Revision history for this message
J Cord (j7cord) wrote : Re: [Bug 1001542] Re: ubiquity installer crashes at language select

Hi
Yes updated ubiquity 2.11.1 does solve the problem, at least for me,
in Ubuntu 12.10, I don't know about Kubuntu, I downloaded and tried
the daily build for ubuntu with the new ubiquity I think it was
yesterday, and all went normally, I don't recall if Kubuntu does a
daily build or if they do a weekly, but you can check the package list
and see if the new 2.11.1 version of ubiquity is listed instead of the
2.11.0 version which had the bug. Good Luck.

On Wed, May 23, 2012 at 8:35 PM, cpatrick08 <email address hidden> wrote:
> i get an error report in kubuntu daily-live 20120523 lso
>
> Traceback (most recent call last):
>  File "/usr/lib/ubiquity/plugins/ubi-language.py", line 596, in check_returncode
>    self.update_release_notes_label()
>  File "/usr/lib/ubiquity/plugins/ubi-language.py", line 602, in update_release_notes_label
>    lang = self.selected_language()
>  File "/usr/lib/ubiquity/plugins/ubi-language.py", line 541, in selected_language
>    return self.language_choice_map[six.text_type(lang)][1]
> KeyError: ' မြန်မာစာ'
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1001538).
> https://bugs.launchpad.net/bugs/1001542
>
> Title:
>  ubiquity installer crashes at language select
>
> Status in “ubiquity” package in Ubuntu:
>  Fix Released
>
> Bug description:
>  latest daily-live iso ubiquity installer crashes when you double-click
>  Install Ubuntu 12.10
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 12.10
>  Package: ubiquity 2.11.0
>  ProcVersionSignature: Ubuntu 3.4.0-2.6-generic 3.4.0-rc7
>  Uname: Linux 3.4.0-2-generic x86_64
>  ApportVersion: 2.0.1-0ubuntu7
>  Architecture: amd64
>  CasperVersion: 1.316
>  Date: Sat May 19 06:37:50 2012
>  InstallCmdLine: initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash -- BOOT_IMAGE=/ubnkern
>  LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120518)
>  ProcEnviron:
>   TERM=xterm
>   PATH=(custom, no user)
>   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/ubiquity/+bug/1001542/+subscriptions

Revision history for this message
Christopher Patrick (cpatrick08) wrote :

according to http://cdimage.ubuntu.com/kubuntu/daily-live/ they update daily and I have the latest iso. According to the attachment I uploaded the version of ubiquity is 2.11.1

Revision history for this message
Colin Watson (cjwatson) wrote :

@cpatrick08: Could you please file a new bug for this? It's a different problem, apparently in code specific to the KDE frontend. It'd be easier for me to track it separately.

Revision history for this message
Colin Watson (cjwatson) wrote :

Well, never mind; I've committed a fix for 2.11.2. Thanks for the report.

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.