apport-gtk crashed with IndexError in find_version_number()

Bug #211933 reported by Qchacho
16
Affects Status Importance Assigned to Milestone
python-launchpad-bugs (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: apport

Error ocurred when start session in Xfce post upgraded

ProblemType: Crash
ApportLog:
 apport (pid 8484) Fri Apr 4 13:44:07 2008: called for pid 7480, signal 11
 apport (pid 8484) Fri Apr 4 13:44:07 2008: executable: /usr/bin/nautilus (command line "nautilus --no-default-window --sm-client-id default2")
 modinfo: could not open cdrom: No such device
 apport (pid 8484) Fri Apr 4 13:44:35 2008: wrote report /var/crash/_usr_bin_nautilus.1000.crash
Architecture: i386
Date: Fri Apr 4 11:32:43 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/apport/apport-gtk
InterpreterPath: /usr/bin/python2.5
Package: apport-gtk 0.106
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/apport/apport-gtk
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=es_CO.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/apport/apport-gtk']
SourcePackage: apport
Title: apport-gtk crashed with IndexError in find_version_number()
Uname: Linux 2.6.24-12-generic i686
UserGroups:

ERROR:
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 251, in <module>
    app = GTKUserInterface()
  File "/usr/share/apport/apport-gtk", line 34, in __init__
    apport.ui.UserInterface.__init__(self)
  File "/usr/lib/python2.5/site-packages/apport/ui.py", line 86, in __init__
    self.crashdb = get_crashdb(None)
  File "/usr/lib/python2.5/site-packages/apport/crashdb.py", line 436, in get_crashdb
    m = __import__('apport.crashdb_impl.' + db['impl'], globals(), locals(), ['CrashDatabase'])
  File "/usr/lib/python2.5/site-packages/apport/crashdb_impl/launchpad.py", line 22, in <module>
    Bug = Connector.ConnectBug()
  File "/usr/lib/python2.5/site-packages/launchpadbugs/connector.py", line 59, in __init__
    LaunchpadConnector.__init__(self, "Bug", method)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/connector.py", line 44, in __init__
    self.connection = getattr(self.__mod_connection, __connections[__module]["connection"][1])()
  File "/usr/lib/python2.5/site-packages/launchpadbugs/http_connection.py", line 29, in __init__
    __version = "bughelper/%s (Python-urllib2/%s)" %(utils.find_version_number(),urllib2.__version__)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/utils.py", line 24, in find_version_number
    return output.split()[1]
IndexError: list index out of range

Tags: apport-crash
Revision history for this message
Qchacho (ajmateusg) wrote :
Daniel Hahler (blueyed)
description: updated
Revision history for this message
Daniel Hahler (blueyed) wrote :

Thank you for your bug report.
I'm assigning it to python-launchpad-bugs, where the crash happened.
It's similar to bug 130484, which was claimed to be fixed in Hardy in March already, but apparently isn't.

Changed in apport:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Daniel Hahler (blueyed) wrote :

Qchacho, can you please post the output of the following commands, run in a terminal/shell:
1. dpkg-query -W python-launchpad-bugs
2. dpkg -l | grep python-launchpad-bugs

Thank you.

Changed in python-launchpad-bugs:
status: Triaged → Incomplete
Revision history for this message
Markus Korn (thekorn) wrote :

Hi Qchacho,
can also please attach the output of

python -c "import subprocess; import string; print repr(subprocess.Popen(['dpkg-query','-W','python-launchpad-bugs'], stdout=subprocess.PIPE).communicate()[0]); print repr(string.whitespace)"

Thanks,
Markus

Revision history for this message
Markus Korn (thekorn) wrote :

This should not be a issue anymore, the code generating the http-header changed with the current version of python-launchpad-bugs.
However if this changes result in a similar issue, please open a new bugreport.

Markus

Changed in python-launchpad-bugs:
status: Incomplete → Won't Fix
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.