apport-retrace crashed with IOError in open_unknown()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: apport
thomas@
Description: Ubuntu jaunty (development branch)
Release: 9.04
Linux thomas-laptop 2.6.28-
linux:
Installed: 2.6.28.4.4
Candidate: 2.6.28.4.4
Version table:
*** 2.6.28.4.4 0
500 http://
100 /var/lib/
apport-retrace:
Installed: 0.126
Candidate: 0.126
Version table:
*** 0.126 0
500 http://
100 /var/lib/
thomas@
ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.5
Package: apport-retrace 0.126
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
LANG=en_GB.UTF-8
PythonArgs: ['/usr/
SourcePackage: apport
Title: apport-retrace crashed with IOError in open_unknown()
Uname: Linux 2.6.28-
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Changed in apport: | |
assignee: | nobody → pitti |
status: | Triaged → Fix Committed |
Hi,
This is reproducible:
root@thomas- laptop: /var/crash# apport-retrace -g ./*firefox* 3.0-branding- dbgsym not available bin-dbgsym is not available dbgsym is not available apport- retrace" , line 466, in <module> unpack_ only, options.no_dpkg, options. extra_packages) apport- retrace" , line 291, in install_ missing_ packages packaging. get_file_ package( l, True) python2. 5/site- packages/ apport/ packaging_ impl.py" , line 210, in get_file_package contents( file, map_cachedir) python2. 5/site- packages/ apport/ packaging_ impl.py" , line 370, in _search_contents urlretrieve( url, map) python2. 5/urllib. py", line 89, in urlretrieve retrieve( url, filename, reporthook, data) python2. 5/urllib. py", line 222, in retrieve python2. 5/urllib. py", line 187, in open unknown( fullurl, data) python2. 5/urllib. py", line 199, in open_unknown ImportError: ImportError('No module named shutil',) in <bound method __AptDpkgPackag eInfo._ _del__ of <apport. packaging_ impl.__ AptDpkgPackageI nfo instance at 0x83f8dac>> ignored laptop: /var/crash# chmod 777 -cR . bin_apport- retrace. 0.crash' changed to 0777 (rwxrwxrwx) laptop: /var/crash# chown 1000 -cR . bin_apport- retrace. 0.crash' to 1000 laptop: /var/crash# ls -la
WARNING: libssl0.9.8 version 0.9.8g-14ubuntu2 required, but 0.9.8g-15ubuntu1 is available
WARNING: package libselinux1-dbgsym not available
WARNING: package perl-base-dbgsym not available
WARNING: package libgcc1-dbgsym not available
WARNING: package firefox-
WARNING: package whiptail-dbgsym not available
WARNING: package libdb4.7-dbgsym not available
WARNING: package libgdbm3-dbgsym not available
WARNING: package gcc-4.3-base-dbgsym not available
WARNING: package sed-dbgsym not available
WARNING: package libnewt0.52-dbgsym not available
WARNING: libgnutls26-dbgsym version 2.4.2-4 required, but 2.4.1-1ubuntu0.2 is available
WARNING: package libuuid1-dbgsym not available
WARNING: package libcomerr2-dbgsym not available
WARNING: x11-common version 1:7.4~5ubuntu9 required, but 1:7.4~5ubuntu10 is available
WARNING: package python2.5-dbgsym not available
WARNING: package libbz2-1.0-dbgsym not available
WARNING: package libdb4.6-dbgsym not available
WARNING: package debianutils-dbgsym not available
WARNING: libc6 version 2.9-0ubuntu6 required, but 2.9-0ubuntu7 is available
WARNING: package cpp-dbgsym not available
WARNING: libc6-dbgsym version 2.9-0ubuntu6 required, but 2.9-0ubuntu7 is available
WARNING: libssl0.9.8-dbgsym version 0.9.8g-14ubuntu2 required, but 0.9.8g-15ubuntu1 is available
WARNING: package perl-dbgsym not available
WARNING: sun-java6-
WARNING: libaudiofile0-
WARNING: libselinux1-dbgsym is not available
Traceback (most recent call last):
File "/usr/bin/
options.
File "/usr/bin/
pkg = apport.
File "/usr/lib/
return self._search_
File "/usr/lib/
urllib.
File "/usr/lib/
return _urlopener.
File "/usr/lib/
fp = self.open(url, data)
File "/usr/lib/
return self.open_
File "/usr/lib/
raise IOError, ('url error', 'unknown url type', type)
IOError: [Errno url error] unknown url type: 'cdrom'
Exception exceptions.
root@thomas-
mode of `./_usr_
root@thomas-
changed ownership of `./_usr_
root@thomas-
total 36544
drwxrwxrwx 2 thomas root 4096 2009-01-10 13...