Bug 1653869 - [abrt] beets: _eq(): hooks.py:436:_eq:AttributeError: module 're' has no attribute '_pattern_type'
Summary: [abrt] beets: _eq(): hooks.py:436:_eq:AttributeError: module 're' has no attr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: beets
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michele Baldessari
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:fee46149420ad745f09e0b35475...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-27 19:26 UTC by aannoaanno
Modified: 2019-06-24 10:39 UTC (History)
2 users (show)

Fixed In Version: beets-1.4.7-4.fc29
Clone Of:
Environment:
Last Closed: 2019-06-24 10:39:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.37 KB, text/plain)
2018-11-27 19:26 UTC, aannoaanno
no flags Details
File: cgroup (371 bytes, text/plain)
2018-11-27 19:26 UTC, aannoaanno
no flags Details
File: cpuinfo (1.40 KB, text/plain)
2018-11-27 19:26 UTC, aannoaanno
no flags Details
File: environ (4.99 KB, text/plain)
2018-11-27 19:26 UTC, aannoaanno
no flags Details
File: mountinfo (5.29 KB, text/plain)
2018-11-27 19:26 UTC, aannoaanno
no flags Details
File: namespaces (129 bytes, text/plain)
2018-11-27 19:26 UTC, aannoaanno
no flags Details
File: open_fds (700 bytes, text/plain)
2018-11-27 19:26 UTC, aannoaanno
no flags Details

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.


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