source_gnome-control-center.py AttributeError: 'NoneType' object has no attribute 'groups'

Bug #964007 reported by Chris Bainbridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Invalid
Low
Unassigned

Bug Description

ERROR: hook /usr/share/apport/package-hooks//source_gnome-control-center.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 773, in add_hooks_info
    symb['add_info'](self)
  File "/usr/share/apport/package-hooks//source_gnome-control-center.py", line 12, in add_info
    component = re.compile("lib(\w*).so").search(words).groups(1)[0]
AttributeError: 'NoneType' object has no attribute 'groups'

Also source_gnome-control-center.py mixes tabs and spaces!

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-control-center-data 1:3.3.92-0ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
Date: Sat Mar 24 16:46:56 2012
Dependencies:

PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :
Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

# apport-bug _usr_bin_gnome-control-center.1002.crash
Error connecting to ConsoleKit: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '2492'
ERROR: hook /usr/share/apport/package-hooks//source_gnome-control-center.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 773, in add_hooks_info
    symb['add_info'](self)
  File "/usr/share/apport/package-hooks//source_gnome-control-center.py", line 12, in add_info
    component = re.compile("lib(\w*).so").search(words).groups(1)[0]
AttributeError: 'NoneType' object has no attribute 'groups'

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

Also source_gnome-control-center.py mixes tabs and spaces!

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you edit /usr/share/apport/package-hooks//source_gnome-control-center.py and add a "print words" line 12 and run apport-bug again and copy the output here?

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

Unfortunately I don't have that particular crash report anymore.

Changed in gnome-control-center (Ubuntu):
status: New → Invalid
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.