Bug 1279097 - [abrt] journal-brief: uuid.py:134:__init__:AttributeError: 'UUID' object has no attribute 'replace'
Summary: [abrt] journal-brief: uuid.py:134:__init__:AttributeError: 'UUID' object has ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-journal-brief
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:8b9d5229b5b7f530137e8299107...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-07 21:01 UTC by Ben Liblit
Modified: 2015-11-20 15:25 UTC (History)
1 user (show)

Fixed In Version: python-journal-brief-1.1.3-1.fc23 python-journal-brief-1.1.3-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 10:02:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.71 KB, text/plain)
2015-11-07 21:01 UTC, Ben Liblit
no flags Details
File: environ (1.32 KB, application/octet-stream)
2015-11-07 21:01 UTC, Ben Liblit
no flags Details

Description Ben Liblit 2015-11-07 21:01:32 UTC
Version-Release number of selected component:
journal-brief-1.1.1-1.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 /usr/bin/journal-brief --dry-run debrief
executable:     /usr/bin/journal-brief
kernel:         4.2.5-300.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            29364

Truncated backtrace:
uuid.py:134:__init__:AttributeError: 'UUID' object has no attribute 'replace'

Traceback (most recent call last):
  File "/usr/bin/journal-brief", line 9, in <module>
    load_entry_point('journal-brief==1.1.1', 'console_scripts', 'journal-brief')()
  File "/usr/lib/python3.4/site-packages/journal_brief/cli/main.py", line 200, in run
    CLI().run()
  File "/usr/lib/python3.4/site-packages/journal_brief/cli/main.py", line 195, in run
    jfilter.format(sys.stdout)
  File "/usr/lib/python3.4/site-packages/journal_brief/filter.py", line 256, in format
    stream.write(formatter.flush())
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 231, in flush
    exclusions = self.get_exclusions()
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 220, in get_exclusions
    self.get_top()
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 209, in get_top
    return self.get_top(remaining)
  File "/usr/lib/python3.4/site-packages/journal_brief/debrief.py", line 197, in get_top
    self.exclusions.append(Exclusion(excl, comment=comment))
  File "/usr/lib/python3.4/site-packages/journal_brief/filter.py", line 107, in __init__
    super(Exclusion, self).__init__(mapping)
  File "/usr/lib/python3.4/site-packages/journal_brief/filter.py", line 66, in __init__
    str_mapping[field] = [converter(match) for match in matches]
  File "/usr/lib/python3.4/site-packages/journal_brief/filter.py", line 66, in <listcomp>
    str_mapping[field] = [converter(match) for match in matches]
  File "/usr/lib64/python3.4/uuid.py", line 134, in __init__
    hex = hex.replace('urn:', '').replace('uuid:', '')
AttributeError: 'UUID' object has no attribute 'replace'

Local variables in innermost frame:
fields: None
version: None
int: None
bytes_le: None

Comment 1 Ben Liblit 2015-11-07 21:01:36 UTC
Created attachment 1091073 [details]
File: backtrace

Comment 2 Ben Liblit 2015-11-07 21:01:37 UTC
Created attachment 1091074 [details]
File: environ

Comment 3 Tim Waugh 2015-11-09 11:43:26 UTC
Thanks for the report. Upstream fix:
  https://github.com/twaugh/journal-brief/pull/36

Comment 4 Fedora Update System 2015-11-09 16:03:48 UTC
python-journal-brief-1.1.3-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-ba579190c5

Comment 5 Fedora Update System 2015-11-09 16:03:54 UTC
python-journal-brief-1.1.3-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-ba579190c5

Comment 6 Fedora Update System 2015-11-09 16:06:08 UTC
python-journal-brief-1.1.3-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14346c69b0

Comment 7 Fedora Update System 2015-11-09 16:06:11 UTC
python-journal-brief-1.1.3-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14346c69b0

Comment 8 Fedora Update System 2015-11-10 02:22:56 UTC
python-journal-brief-1.1.3-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update python-journal-brief'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14346c69b0

Comment 9 Fedora Update System 2015-11-10 03:23:26 UTC
python-journal-brief-1.1.3-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update python-journal-brief'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-ba579190c5

Comment 10 Fedora Update System 2015-11-19 10:02:17 UTC
python-journal-brief-1.1.3-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-11-20 15:25:03 UTC
python-journal-brief-1.1.3-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.