Comment 14 for bug 1512902

Revision history for this message
Brian Murray (brian-murray) wrote :

The test case for this bug fails with the version of apport from precise-proposed with the following.

*** Error: Invalid problem report

This problem report is damaged and cannot be processed.

IOError('CRC check failed 0xfd06bf8f != 0xe96ce39bL',)

Press any key to continue...
Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 365, in <module>
    if not app.run_argv():
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 565, in run_argv
    self.run_crash(self.options.crash_file, False)
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 232, in run_crash
    self.report['_MarkForUpload'] = 'False'
TypeError: 'NoneType' object does not support item assignment

So it seems, with the IOError, that the crash would not have been uploaded anyway. The crash happens in Precise because the correct field is MarkForUpload not _MarkForUpload.