AssertionError filing bug using ubuntu-bug network-manager

Bug #634133 reported by Martin Wildam
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: apport

I tried to file a bug for network-manager and found ubuntu-bug printing an error message about a crash:

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

However, the dialog "Send problem report to the developers?" opens anyway.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apport 1.14.1-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic i686
Architecture: i386
Date: Thu Sep 9 17:32:01 2010
ExecutablePath: /usr/bin/apport-bug
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
InterpreterPath: /bin/dash
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.utf8
SourcePackage: apport

Tags: maverick
Revision history for this message
Martin Wildam (mwildam) wrote :
Revision history for this message
Martin Wildam (mwildam) wrote :

I tried using other packages like gdm or firefox and it does not crash in that case. Also tried other package containing a dash - no problem. It seems, that network-manager is a special case...

Can be reproduced by typing
ubuntu-bug network-manager

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

reaffecting to network-manager. It seems like

    for interface, device in _network_interfaces().items():
        key = 'NetDevice.%s' % interface
        report[key] = _device_details(device)

needs some error handling to make sure the interface name is valid.

affects: apport (Ubuntu) → network-manager (Ubuntu)
Changed in network-manager (Ubuntu):
importance: Undecided → Low
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Martin, can you give us more information about the interfaces on your system? You don't appear to be running Ubuntu in a different localized environment, so the only thing I can think of is special interfaces like bridges set up on your system...

Please post the output of ifconfig -a, or ip addr list, or a similar command that will show the all device interface names n your system (eth0 and the like).

Thanks in advance!

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Wildam (mwildam) wrote :
Revision history for this message
Martin Wildam (mwildam) wrote :
Revision history for this message
Martin Wildam (mwildam) wrote :

Don't know what exactly you mean with "localized" environment.

I am in Austria (no free running kangaroos here ;-) ) but using Ubuntu in English - but with german keyboard layout.

BTW: Bug still occurs with Ubuntu Maverick nightly build from 09-23 with all updates applied:
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

Revision history for this message
Martin Wildam (mwildam) wrote :

For the case it might help - here is all my hardware info.

Revision history for this message
Martin Wildam (mwildam) wrote :

And I am currently on WLAN (altough I have an eth0 builtin also - but it is not connected).

Revision history for this message
Martin Wildam (mwildam) wrote :

I tried deactivating WLAN - same problem.

Revision history for this message
Martin Wildam (mwildam) wrote :

I have seen this bug still in incomplete status. What information is still missing so that I can provide?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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