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

Steve Langasek steve.langasek at canonical.com
Sat Jun 1 02:46:28 UTC 2013


Hello zhai, or anyone else affected,

Accepted ubiquity into precise-proposed. The package will build now and
be available at http://launchpad.net/ubuntu/+source/ubiquity/2.10.25 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: ubiquity (Ubuntu Precise)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
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 Committed

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