apport-gtk crashes on reports without timestamp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ /usr/share/
Traceback (most recent call last):
File "/usr/share/
app.run_argv()
File "/usr/lib/
return self.run_crashes()
File "/usr/lib/
logind_
TypeError: '>' not supported between instances of 'float' and 'NoneType'
/usr/lib/
def get_timestamp(
'''Get timestamp (seconds since epoch) from Date field
Return None if it is not present.
'''
so get_timestamp can return None, but run_crashes does not cover this
$ dpkg -s python3-apport
Package: python3-apport
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 551
Maintainer: Martin Pitt <email address hidden>
Architecture: all
Source: apport
Version: 2.20.7-0ubuntu3.7
$ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
Status changed to 'Confirmed' because the bug affects multiple users.