On Sun, 2006-08-20 at 13:13 +0000, Martin Pitt wrote:
> Hi Brian,

Hi Martin,

> It's pretty easy with the problem_report python module in the
> python-problem-report package. However, since this is generally
> useful, I wrote a small script to extract the fields of a problem
> report into separate fields (attached).

I got this from it:

/tmp/foo$ apport-unpack /var/crash/_bin_bash.1001.crash .
Traceback (most recent call last):
  File "/usr/bin/apport-unpack", line 35, in ?
    pr.load(open(report))
  File "/usr/lib/python2.4/site-packages/problem_report.py", line 56, in load
    (key, value) = line.split(':', 1)
ValueError: need more than 1 value to unpack
[EMAIL PROTECTED]:/tmp/foo$ ls -l
total 0
[EMAIL PROTECTED]:/tmp/foo$ less /usr/bin/apport-unpack
[EMAIL PROTECTED]:/tmp/foo$ apport-unpack /var/crash/_bin_bash.1001.crash .
Traceback (most recent call last):
  File "/usr/bin/apport-unpack", line 35, in ?
    pr.load(open(report))
  File "/usr/lib/python2.4/site-packages/problem_report.py", line 56, in load
    (key, value) = line.split(':', 1)
ValueError: need more than 1 value to unpack

b.

-- 
My other computer is your Microsoft Windows server.

Brian J. Murrell

-- 
environment in reports can contain sensitive information
https://launchpad.net/bugs/56846

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to