Bug 1653869

Summary: [abrt] beets: _eq(): hooks.py:436:_eq:AttributeError: module 're' has no attribute '_pattern_type'
Product: [Fedora] Fedora Reporter: aannoaanno
Component: beetsAssignee: Michele Baldessari <michele>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: mh, michele
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ff97fca53bc359b9c2b355aabed9b2163808c4b5
Whiteboard: abrt_hash:fee46149420ad745f09e0b354751839cf62081a1;
Fixed In Version: beets-1.4.7-4.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-24 10:39:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description aannoaanno 2018-11-27 19:26:01 UTC
Version-Release number of selected component:
beets-1.4.7-3.fc29

Additional info:
reporter:       libreport-2.9.6
cmdline:        /usr/bin/python3 /usr/bin/beet import MusikImport/
crash_function: _eq
exception_type: AttributeError
executable:     /usr/bin/beet
interpreter:    python3-3.7.1-2.fc29.x86_64
kernel:         4.19.2-300.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
hooks.py:436:_eq:AttributeError: module 're' has no attribute '_pattern_type'

Traceback (most recent call last):
  File "/usr/bin/beet", line 11, in <module>
    load_entry_point('beets==1.4.7', 'console_scripts', 'beet')()
  File "/usr/lib/python3.7/site-packages/beets/ui/__init__.py", line 1256, in main
    _raw_main(args)
  File "/usr/lib/python3.7/site-packages/beets/ui/__init__.py", line 1243, in _raw_main
    subcommand.func(lib, suboptions, subargs)
  File "/usr/lib/python3.7/site-packages/beets/ui/commands.py", line 943, in import_func
    import_files(lib, paths, query)
  File "/usr/lib/python3.7/site-packages/beets/ui/commands.py", line 913, in import_files
    session.run()
  File "/usr/lib/python3.7/site-packages/beets/importer.py", line 329, in run
    pl.run_parallel(QUEUE_SIZE)
  File "/usr/lib/python3.7/site-packages/beets/util/pipeline.py", line 445, in run_parallel
    six.reraise(exc_info[0], exc_info[1], exc_info[2])
  File "/usr/lib/python3.7/site-packages/six.py", line 693, in reraise
    raise value
  File "/usr/lib/python3.7/site-packages/beets/util/pipeline.py", line 312, in run
    out = self.coro.send(msg)
  File "/usr/lib/python3.7/site-packages/beets/util/pipeline.py", line 194, in coro
    func(*(args + (task,)))
  File "/usr/lib/python3.7/site-packages/beets/importer.py", line 1351, in lookup_candidates
    task.lookup_candidates()
  File "/usr/lib/python3.7/site-packages/beets/importer.py", line 641, in lookup_candidates
    autotag.tag_album(self.items, search_ids=self.search_ids)
  File "/usr/lib/python3.7/site-packages/beets/autotag/match.py", line 432, in tag_album
    _add_candidate(items, candidates, id_info)
  File "/usr/lib/python3.7/site-packages/beets/autotag/match.py", line 377, in _add_candidate
    dist = distance(items, info, mapping)
  File "/usr/lib/python3.7/site-packages/beets/autotag/match.py", line 191, in distance
    dist.add_equality('media', album_info.media, likelies['media'])
  File "/usr/lib/python3.7/site-packages/beets/autotag/hooks.py", line 461, in add_equality
    if self._eq(opt, value):
  File "/usr/lib/python3.7/site-packages/beets/autotag/hooks.py", line 436, in _eq
    if isinstance(value1, re._pattern_type):
AttributeError: module 're' has no attribute '_pattern_type'

Local variables in innermost frame:
self: <beets.autotag.hooks.Distance object at 0x7f1462ea8fd0>
value1: 'Digital Media'
value2: 'Digital Media'

Comment 1 aannoaanno 2018-11-27 19:26:05 UTC
Created attachment 1509080 [details]
File: backtrace

Comment 2 aannoaanno 2018-11-27 19:26:07 UTC
Created attachment 1509081 [details]
File: cgroup

Comment 3 aannoaanno 2018-11-27 19:26:08 UTC
Created attachment 1509082 [details]
File: cpuinfo

Comment 4 aannoaanno 2018-11-27 19:26:09 UTC
Created attachment 1509083 [details]
File: environ

Comment 5 aannoaanno 2018-11-27 19:26:11 UTC
Created attachment 1509084 [details]
File: mountinfo

Comment 6 aannoaanno 2018-11-27 19:26:12 UTC
Created attachment 1509085 [details]
File: namespaces

Comment 7 aannoaanno 2018-11-27 19:26:13 UTC
Created attachment 1509086 [details]
File: open_fds

Comment 8 Fedora Update System 2019-01-21 08:08:03 UTC
beets-1.4.7-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-023b20d575

Comment 9 Fedora Update System 2019-01-22 03:03:34 UTC
beets-1.4.7-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-023b20d575

Comment 10 Fedora Update System 2019-06-24 10:39:37 UTC
beets-1.4.7-4.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.