apport-collect hook for network-manager crashed with AssertionError

Bug #654900 reported by Bob Harvey
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Medium
Mathieu Trudel-Lapierre

Bug Description

Binary package hint: apport

Running the command 'sudo apport-collect 654893' cause the following output in the terminal window:

bob@Harvey12:~$ sudo apport-collect 654893
The authorization page:
   (https://edge.launchpad.net/+authorize-token?oauth_token=******************&allow_permission=WRITE_PRIVATE)
should be opening in your browser. After you have authorized
this program to access Launchpad on your behalf you should come
back here and press <Enter> to finish the authentication process.

hook /usr/share/apport/package-hooks//source_network-manager.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 640, in add_hooks_info
    symb['add_info'](self)
  File "/usr/share/apport/package-hooks//source_network-manager.py", line 48, in add_info
    report[key] = _device_details(device)
  File "/usr/lib/python2.6/dist-packages/problem_report.py", line 494, in __setitem__
    assert k.replace('.', '').replace('-', '').replace('_', '').isalnum()
AssertionError
bob@Harvey12:~$
---
Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
NonfreeKernelModules: wl
Package: apport 1.13.3-0ubuntu2
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Tags: lucid ubuntu-une
Uname: Linux 2.6.32-25-generic i686
UserGroups:

Revision history for this message
Bob Harvey (bobharvey) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Bob Harvey (bobharvey) wrote : Re: apport-collect hook for network-manager crashed

There were no problems running apport-collect for this bug

Revision history for this message
Philip Muškovac (yofel) wrote :

Same failure as bug 634133. can you please provide the information that was requested in comment #4 there? Thanks.

affects: apport (Ubuntu) → network-manager (Ubuntu)
Changed in network-manager (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Bob Harvey (bobharvey) wrote :

Here you go
bob@Harvey12:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:24:e8:dd:cf:a3
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:27 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 0c:60:76:24:a7:1d
          inet addr:10.0.0.29 Bcast:10.0.0.255 Mask:255.255.255.0
          inet6 addr: fe80::e60:76ff:fe24:a71d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:3720 errors:0 dropped:0 overruns:0 frame:4784
          TX packets:3746 errors:6 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3004996 (3.0 MB) TX bytes:1213095 (1.2 MB)
          Interrupt:17

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

bob@Harvey12:~$
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:24:e8:dd:cf:a3 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 0c:60:76:24:a7:1d brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.29/24 brd 10.0.0.255 scope global eth1
    inet6 fe80::e60:76ff:fe24:a71d/64 scope link
       valid_lft forever preferred_lft forever

bob@Harvey12:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 2 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default SpeedTouch.lan 0.0.0.0 UG 0 0 0 eth1
bob@Harvey12:~$

I will append the hardware too

Philip Muškovac (yofel)
Changed in network-manager (Ubuntu):
status: Incomplete → New
summary: - apport-collect hook for network-manager crashed
+ apport-collect hook for network-manager crashed with AssertionError
Revision history for this message
Stefano Rivera (stefanor) wrote :

Confirmed: The problem is that "hal-find-by-capability" isn't present any more, the

> # TODO:
> # - Replace lshal usage with the appropriate new-world-order stuff (udevinfo?)

needs to be dealt with.

Changed in network-manager (Ubuntu):
status: New → Triaged
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I think it deserves more importance. Assigning this bug to myself, I'll at least push an updated apport hook with the next update of NetworkManager on natty.

Changed in network-manager (Ubuntu):
importance: Low → Medium
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Changed in network-manager (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Now in NM packaging branch, I'm about to upload a fix.

Changed in network-manager (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager - 0.8.3+git.20101219t181118.e919218-0ubuntu2

---------------
network-manager (0.8.3+git.20101219t181118.e919218-0ubuntu2) natty; urgency=low

  [ Mathieu Trudel-Lapierre ]
  * debian/source_network-manager.py:
    - Replace HAL usage by udev and other means. (LP: #654900)
    - Make Gconf/settings/scan results inclusion conditional (LP: #389702)
  * debian/patches/gtkdoc-build-requires-gobject.patch: explicitly link against
    gobject-2.0 to build documentation files.

  [ Thomas Bechtold ]
  * Install gtk-doc API with libnm-util-dev and libnm-glib-dev (LP: #706965)
    - update debian/libnm-glib-dev.install
    - update debian/libnm-util-dev.install
  * Regenerate libnm-glib, libnm-util documentation at build time
    - update debian/rules
 -- Mathieu Trudel-Lapierre <email address hidden> Mon, 07 Feb 2011 11:34:46 -0500

Changed in network-manager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.