** Tags added: fr-2483

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1978487

Title:
  attach_journal_errors is create a ValueError crash

Status in apport package in Ubuntu:
  New

Bug description:
  As seen in https://bugs.launchpad.net/ubuntu/+source/obs-
  studio/+bug/1978414 with ApportVersion: 2.21.0-0ubuntu2.

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 205, in 
_run_hook
      symb['add_info'](report, ui)
    File "/usr/share/apport/general-hooks/generic.py", line 94, in add_info
      apport.hookutils.attach_journal_errors(report)
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 740, in 
attach_journal_errors
      crash_time = report.get_date()
    File "/usr/lib/python3/dist-packages/problem_report.py", line 268, in 
get_date
      return datetime.datetime.strptime(self['Date'], '%a %b %d %H:%M:%S %Y')
    File "/usr/lib/python3.10/_strptime.py", line 568, in _strptime_datetime
      tt, fraction, gmtoff_fraction = _strptime(data_string, format)
    File "/usr/lib/python3.10/_strptime.py", line 349, in _strptime
      raise ValueError("time data %r does not match format %r" %
  ValueError: time data 'Sun Jun 12 19:52:55 2022' does not match format '%a %b 
%d %H:%M:%S %Y'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1978487/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to