[Bug 944614] Re: ubiquity crashed with AttributeError in keyboard_variant_timeout(): 'NoneType' object has no attribute 'apply_keyboard'

Launchpad Bug Tracker 944614 at bugs.launchpad.net
Fri Jul 19 23:15:20 UTC 2013


This bug was fixed in the package ubiquity - 2.10.25

---------------
ubiquity (2.10.25) precise; urgency=low

  [ Colin Watson ]
  * KDE frontend:
    - Set default QString encoding to UTF-8 (LP: #1057485).
  * Make ubiquity-frontend-debconf Architecture: any rather than all; the
    .bgf font format is architecture-dependent (LP: #1180880).
  * Automatic update of included source packages: partman-basicfilesystems
    71ubuntu3.1, partman-efi 25ubuntu1.1.

  [ Ma Jun (Kylin Team) ]
  * Fix referencing variable before assignment (LP: #945027)

  [ Stéphane Graber ]
  * Fix crash in ubi-console-setup when quickly moving back and forth between
    pages. (LP: #944614)
 -- Colin Watson <cjwatson at ubuntu.com>   Fri, 17 May 2013 15:08:59 +0100

** Changed in: ubiquity (Ubuntu Precise)
       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/944614

Title:
  ubiquity crashed with AttributeError in keyboard_variant_timeout():
  'NoneType' object has no attribute 'apply_keyboard'

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

Bug description:
  === Rational ===
  Ubiquity crashes when a user quickly moves forward or back from the keyboard selection page. That's due to a gobject timeout still triggering even after the whole page has been destroyed.

  === Test case ===
  1) Do a standard Ubuntu install, go through the page until the keyboard selection page
  2) Quickly move through the countries using the DOWN arrow key
  3) At any random point, stop and IMMEDIATELY (within the next second) click on BACK
  4) Without the fix, ubiquity would crash at that point

  === Regression potential ===
  None, we've had that patch in ubiquity for a while now and haven't seen any bug related to that part of the code show up since.

  
  --- original bug report ---
  aanztaimaf

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: ubiquity 2.9.23
  ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
  Uname: Linux 3.2.0-17-generic x86_64
  ApportVersion: 1.93-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.305
  Date: Fri Mar  2 23:49:57 2012
  ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
  InstallCmdLine: BOOT_IMAGE=/ubuntu/install/boot/vmlinuz debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/installation.iso automatic-ubiquity noprompt quiet splash boot=casper ro debian-installer/locale=zh_CN.UTF-8 keyboard-configuration/layoutcode=us keyboard-configuration/variantcode= -- rootflags=sync
  InterpreterPath: /usr/bin/python2.7
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
  ProcCmdline: /usr/bin/python /usr/lib/ubiquity/bin/ubiquity --automatic --only
  ProcEnviron: Error: [Errno 13] 权限不够: '/proc/4733/environ'
  PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', '--automatic', '--only']
  SourcePackage: ubiquity
  Title: ubiquity crashed with AttributeError in keyboard_variant_timeout(): 'NoneType' object has no attribute 'apply_keyboard'
  Traceback:
   Traceback (most recent call last):
     File "/usr/lib/ubiquity/plugins/ubi-console-setup.py", line 130, in keyboard_variant_timeout
       self.controller.dbfilter.apply_keyboard(layout, variant)
   AttributeError: 'NoneType' object has no attribute 'apply_keyboard'
  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/944614/+subscriptions




More information about the foundations-bugs mailing list