[Bug 1008898] Re: crash after inserting wireless password

Barry Warsaw 1008898 at bugs.launchpad.net
Tue Jun 5 15:07:28 UTC 2012


So, we traced this down to a bug in the automatic signature calculation
in Python 3 dbus client.  Apparently, py3dbus is downcasting the
ObjectPaths to signature 's' when the server is advertising 'o'.  I'm
not at all sure why it's not just matching the 'o' signature, but if you
pass this keyword argument to AddAndActivateConnection(), it will work
(i.e. by bypassing the apparently buggy automatic signature
calculation):

AddAndActivateConnection(..., signature='a{sa{sv}oo')

Please do file this as an upstream bug to https://bugs.freedesktop.org
and link it here.  I'll work with the upstream maintainer to further
debug the problem and if necessary/possible, get a bug fix into
upstream.

** Also affects: python-dbus
   Importance: Undecided
       Status: New

** Changed in: python-dbus
     Assignee: (unassigned) => Barry Warsaw (barry)

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

Title:
  crash after inserting wireless password

Status in Python Dbus:
  New
Status in “ubiquity” package in Ubuntu:
  Triaged
Status in “ubiquity” source package in Quantal:
  Triaged

Bug description:
  TEST CASE
  1. Start an installation with Ubiquity on Hardware, without wired connection and with a Wifi Card
  2. Proceed to Wireless setup page
  3. Select a network
  4. Enter password
  5. Click on 'Connect'

  ACTUAL RESULT:
  Crash below

  WORKAROUND:
  Setup the Wifi connection from network-manager before starting Ubiquity

  Jun  5 07:59:45 ubuntu ubiquity[3109]: Step_before = stepPrepare
  Jun  5 07:59:45 ubuntu ubiquity[3109]: switched to page wireless
  Jun  5 08:00:19 ubuntu ubiquity[3109]: Exception in GTK frontend (invoking crash handler):
  Jun  5 08:00:19 ubuntu ubiquity[3109]: Traceback (most recent call last):
  Jun  5 08:00:19 ubuntu ubiquity[3109]:   File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 1328, in on_next_clicked
  Jun  5 08:00:19 ubuntu ubiquity[3109]:     if ui.plugin_on_next_clicked():
  Jun  5 08:00:19 ubuntu ubiquity[3109]:   File "/usr/lib/ubiquity/plugins/ubi-wireless.py", line 134, in plugin_on_next_clicked
  Jun  5 08:00:19 ubuntu ubiquity[3109]:     self.nmwidget.connect_to_ap()
  Jun  5 08:00:19 ubuntu ubiquity[3109]:   File "/usr/lib/ubiquity/ubiquity/nm.py", line 443, in connect_to_ap
  Jun  5 08:00:19 ubuntu ubiquity[3109]:     self.view.connect_to_selection(passphrase)
  Jun  5 08:00:19 ubuntu ubiquity[3109]:   File "/usr/lib/ubiquity/ubiquity/nm.py", line 384, in connect_to_selection
  Jun  5 08:00:19 ubuntu ubiquity[3109]:     self.wifi_model.connect_to_ap(model[parent][0], ssid, passphrase)
  Jun  5 08:00:19 ubuntu ubiquity[3109]:   File "/usr/lib/ubiquity/ubiquity/nm.py", line 126, in connect_to_ap
  Jun  5 08:00:19 ubuntu ubiquity[3109]:     obj, dbus.ObjectPath(device), dbus.ObjectPath(saved_path))[1]
  Jun  5 08:00:19 ubuntu ubiquity[3109]:   File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
  Jun  5 08:00:19 ubuntu ubiquity[3109]:     **keywords)
  Jun  5 08:00:19 ubuntu ubiquity[3109]:   File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
  Jun  5 08:00:19 ubuntu ubiquity[3109]:     message, timeout)
  Jun  5 08:00:19 ubuntu ubiquity[3109]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "AddAndActivateConnection" with signature "a{sa{sv}}ss" on interface "(null)" doesn't exist
  Jun  5 08:00:19 ubuntu ubiquity[3109]:
  Jun  5 08:00:19 ubuntu ubiquity[3109]:
  Jun  5 08:00:20 ubuntu ubiquity[3109]: log-output -t ubiquity /usr/share/apport/apport-gtk

  Hello
  step to reproduce
  if your pc is wired to the net, detach it.
  -start system and let it run till Try Ubuntu/Install Ubuntu window appear
  -select Install Ubuntu
  -at the third part&updates window click next
  -at the network settings page insert the password and click next
  it crash

  apport don-t capture

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubiquity 2.11.4
  ProcVersionSignature: Ubuntu 3.4.0-3.8-generic 3.4.0
  Uname: Linux 3.4.0-3-generic x86_64
  ApportVersion: 2.1.1-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.317
  Date: Tue Jun  5 08:24:51 2012
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.lz quiet splash -- oem-config/enable=true
  LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120604.3)
  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/python-dbus/+bug/1008898/+subscriptions




More information about the foundations-bugs mailing list