d-feet crashes: module 'enum' has no attribute 'IntFlag'

Bug #1827186 reported by Gerald Jansen on 2019-05-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
d-feet (Ubuntu)
Undecided
Unassigned

Bug Description

19.04 python3.7

Traceback (most recent call last):
  File "/usr/bin/d-feet", line 38, in <module>
    import gettext, locale
  File "/usr/lib/python3.7/gettext.py", line 49, in <module>
    import locale
  File "/usr/lib/python3.7/locale.py", line 16, in <module>
    import re
  File "/usr/lib/python3.7/re.py", line 143, in <module>
    class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 53, in apport_excepthook
    if not enabled():
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
    import re
  File "/usr/lib/python3.7/re.py", line 143, in <module>
    class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/d-feet", line 38, in <module>
    import gettext, locale
  File "/usr/lib/python3.7/gettext.py", line 49, in <module>
    import locale
  File "/usr/lib/python3.7/locale.py", line 16, in <module>
    import re
  File "/usr/lib/python3.7/re.py", line 143, in <module>
    class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

Gerald Jansen (jansengb) on 2019-05-01
tags: added: 19.04 python3.7
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers