~ubuntu-branches/ubuntu/oneiric/apport/oneiric-updates

« back to all changes in this revision

Viewing changes to data/package-hooks/source_ubiquity.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Brian Murray, Martin Pitt
  • Date: 2011-09-14 08:29:03 UTC
  • mfrom: (148.1.46)
  • Revision ID: package-import@ubuntu.com-20110914082903-vmd5ir80swqtiar9
Tags: 1.23-0ubuntu1
[ Brian Murray ]
* data/package-hooks/source_ubiquity.py: Do not create a DuplicateSignature
  for bugs with a Traceback included as it is redundant

[ Martin Pitt ]
* New upstream release:
  - crashdb.py, crash-digger, dupdb-admin: Drop the concept of "duplicate DB
    consolidation". Such massive queries cause timeouts with e. g.
    Launchpad. Instead, update the status of potential master bugs in the
    crash DB whenever check_duplicate() is called. Note that this does not
    affect Ubuntu itself, just the retracers in the data center.
  - launchpad.py: Fix crash in close_duplicate() if master bug was already
    marked as a duplicate of the examined bug.
  - problem_report.py, load(): Fix missing last character if the last line
    in a multi-line field is not terminated with a newline.
  - launchpad.py: Fix test_marking_python_task_mangle() check to work with
    current Launchpad.
  - apport-retrace: If the user did not specify a --cache directory, create
    a shared one instead of letting the two install_packages() calls create
    their own. This ensures that the apt and dpkg status is up to date, and
    avoids downloading the package indexes multiple times. (LP: #847951)
  - apport-retrace: Give proper error mesage instead of AssertionError crash
    if a report does not contain standard Apport format data. (LP: #843221)
  - fileutils.py, get_new_reports(): Fix crash if report file disappears in
    the middle of the operation. (LP: #640216)
  - apport/ui.py, load_report(): Intercept another case of broken report
    files. (LP: #445142)
  - apport/report.py, standard_title(): Escape regular expression control
    characters in custom exception names. (LP: #762998)
* data/package-hooks/source_ubiquity.py: Fix crash if
  prepare_duplicate_signature() does not return anything. (LP: #843911)
* debian/control: Bump Standards-Version to 3.9.2 (no changes necessary).

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        ui.information("The system log from your installation contains an error.  The specific error commonly occurs when there is an issue with the media from which you were installing.  This can happen when your media is dirty or damaged or when you've burned the media at a high speed.  Please try cleaning the media and or burning new media at a lower speed.  In the event that you continue to encounter these errors it may be an issue with your CD / DVD drive.")
67
67
        raise StopIteration
68
68
 
69
 
    if report['ProblemType'] != 'Bug':
 
69
    if report['ProblemType'] != 'Bug' and not 'Traceback' in report:
70
70
        collect_grub = False
71
71
        collect_trace = False
72
72
        if not 'grub-installer: Installation finished. No error reported' in syslog and 'grub-installer:' in syslog:
76
76
        if collect_grub or collect_trace:
77
77
            duplicate_signature = prepare_duplicate_signature(syslog,
78
78
                collect_grub, collect_trace)
79
 
            report['DuplicateSignature'] = duplicate_signature
 
79
            if duplicate_signature:
 
80
                report['DuplicateSignature'] = duplicate_signature
80
81
        if collect_grub:
81
82
            report['SourcePackage'] = 'grub-installer'
82
83