[Bug 1021279] [NEW] apport hook fails processing a python3-software-properties crash
C de-Avillez
hggdh2 at ubuntu.com
Thu Jul 5 13:02:14 UTC 2012
Public bug reported:
[cerdea-aws]cerdea at xango3:/build/buildd/weechat/build$ sudo ubuntu-bug /var/crash/python3-software-properties.0.crash
[sudo] password for cerdea:
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 749, in add_hooks_info
symb['add_info'](self, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 57, in add_info
check_attachment_for_errors(report, log)
File "/usr/share/apport/general-hooks/ubuntu.py", line 149, in check_attachment_for_errors
and re.search(r'^Not creating /boot/grub/menu.lst as you wish', report['DpkgTerminalLog'], re.MULTILINE):
File "/usr/lib/python3.2/re.py", line 158, in search
return _compile(pattern, flags).search(string)
TypeError: can't use a string pattern on a bytes-like object
Traceback (most recent call last):
File "/usr/share/apport/apport-gtk", line 516, in <lambda>
GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view))
File "/usr/lib/python3/dist-packages/apport/ui.py", line 907, in collect_info
bpthread.exc_raise()
File "/usr/lib/python3/dist-packages/apport/REThread.py", line 65, in exc_raise
raise self._exception[0](self._exception[1]).with_traceback(self._exception[2])
File "/usr/lib/python3/dist-packages/apport/REThread.py", line 35, in run
self._retval = self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python3/dist-packages/apport/report.py", line 853, in search_bug_patterns
url = _check_bug_patterns(self, patterns)
File "/usr/lib/python3/dist-packages/apport/report.py", line 159, in _check_bug_patterns
url = _check_bug_pattern(report, pattern)
File "/usr/lib/python3/dist-packages/apport/report.py", line 146, in _check_bug_pattern
if not re_c.search(v):
TypeError: can't use a string pattern on a bytes-like object
[cerdea-aws]cerdea at xango3:/build/buildd/weechat/build$ ubuntu-bug python3-software-properties
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python3-software-properties (not installed)
ProcVersionSignature: Ubuntu 3.5.0-3.3-generic 3.5.0-rc5
Uname: Linux 3.5.0-3-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.2.5-0ubuntu2
Architecture: amd64
CheckboxSubmission: c8a7d84e13c3b258e707f056604eb0e0
CheckboxSystem: d00f84de8a555815fa1c4660280da308
Date: Thu Jul 5 08:00:27 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120701)
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug qa-manual-testing quantal running-unity
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1021279
Title:
apport hook fails processing a python3-software-properties crash
Status in “apport” package in Ubuntu:
New
Bug description:
[cerdea-aws]cerdea at xango3:/build/buildd/weechat/build$ sudo ubuntu-bug /var/crash/python3-software-properties.0.crash
[sudo] password for cerdea:
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 749, in add_hooks_info
symb['add_info'](self, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 57, in add_info
check_attachment_for_errors(report, log)
File "/usr/share/apport/general-hooks/ubuntu.py", line 149, in check_attachment_for_errors
and re.search(r'^Not creating /boot/grub/menu.lst as you wish', report['DpkgTerminalLog'], re.MULTILINE):
File "/usr/lib/python3.2/re.py", line 158, in search
return _compile(pattern, flags).search(string)
TypeError: can't use a string pattern on a bytes-like object
Traceback (most recent call last):
File "/usr/share/apport/apport-gtk", line 516, in <lambda>
GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view))
File "/usr/lib/python3/dist-packages/apport/ui.py", line 907, in collect_info
bpthread.exc_raise()
File "/usr/lib/python3/dist-packages/apport/REThread.py", line 65, in exc_raise
raise self._exception[0](self._exception[1]).with_traceback(self._exception[2])
File "/usr/lib/python3/dist-packages/apport/REThread.py", line 35, in run
self._retval = self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python3/dist-packages/apport/report.py", line 853, in search_bug_patterns
url = _check_bug_patterns(self, patterns)
File "/usr/lib/python3/dist-packages/apport/report.py", line 159, in _check_bug_patterns
url = _check_bug_pattern(report, pattern)
File "/usr/lib/python3/dist-packages/apport/report.py", line 146, in _check_bug_pattern
if not re_c.search(v):
TypeError: can't use a string pattern on a bytes-like object
[cerdea-aws]cerdea at xango3:/build/buildd/weechat/build$ ubuntu-bug python3-software-properties
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python3-software-properties (not installed)
ProcVersionSignature: Ubuntu 3.5.0-3.3-generic 3.5.0-rc5
Uname: Linux 3.5.0-3-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.2.5-0ubuntu2
Architecture: amd64
CheckboxSubmission: c8a7d84e13c3b258e707f056604eb0e0
CheckboxSystem: d00f84de8a555815fa1c4660280da308
Date: Thu Jul 5 08:00:27 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120701)
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1021279/+subscriptions
More information about the foundations-bugs
mailing list