Oops, I forgot we cherry-picked that one into the precise branch of
ubiquity. SRU headers added.

** Description changed:

+ === 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'
+  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:

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

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to