Package: python-enum
Version: 0.4.4-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

When trying to execute the 'ladi-control-center', part of the 'ladi-tools'
package, Python issue the following error: TypeError: issubclass() arg 1 must
be a class.
After some code analysis, I fund that the import of the 'enum' module do not
reflect what is expected.
In my system, both 'python-enum' and 'python-enum34' are installed, but when
importing the 'enum' module, 'python-enum34' has the precedence.
I do not know exactly how to force the load of a particular module when having
the same name.
'enum' module from 'python-enum' live in '/usr/share/pyshared/enum.py' and is
linked in '/usr/lib/python2.7/dist-packages/enum.py' and I can't load it.
'enum' module from 'python-enum34' live in '/usr/lib/python2.7/dist-
packages/enum/enum.py' and is the one loaded while importing 'import enum' or
'from enum import Enum'.

Thanks.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-enum depends on:
ii  python     2.7.9-1
ii  python2.7  2.7.10-3

python-enum recommends no packages.

python-enum suggests no packages.

-- no debconf information

Reply via email to