Bug 1406534 - [abrt] laditools: __init__.py:481:_get_mixins_:TypeError: issubclass() arg 1 must be a class
Summary: [abrt] laditools: __init__.py:481:_get_mixins_:TypeError: issubclass() arg 1 ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: laditools
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brendan Jones
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:c40ed9c8f57f3657cdf5a7889aa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-20 20:07 UTC by fednuc
Modified: 2017-12-12 10:29 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 1314415
Environment:
Last Closed: 2017-12-12 10:29:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description fednuc 2016-12-20 20:07:23 UTC
+++ This bug was initially created as a clone of Bug #1314415 +++

Version-Release number of selected component:
laditools-1.0.1-10.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python /usr/bin/ladi-control-center
dso_list:       python-enum34-1.0.4-2.fc23.noarch
executable:     /usr/bin/ladi-control-center
kernel:         4.3.5-300.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
__init__.py:481:_get_mixins_:TypeError: issubclass() arg 1 must be a class

Traceback (most recent call last):
  File "/usr/bin/ladi-control-center", line 28, in <module>
    from laditools import _gettext_domain
  File "/usr/lib/python2.7/site-packages/laditools/__init__.py", line 26, in <module>
    from .ladish import LadishProxy, LadishStatusType, LadishProxyError, check_ladish
  File "/usr/lib/python2.7/site-packages/laditools/ladish.py", line 33, in <module>
    "STUDIO_RUNNING")
  File "/usr/lib/python2.7/site-packages/enum/__init__.py", line 332, in __call__
    return cls._create_(value, names, module=module, type=type)
  File "/usr/lib/python2.7/site-packages/enum/__init__.py", line 447, in _create_
    enum_class = metacls.__new__(metacls, class_name, bases, classdict)
  File "/usr/lib/python2.7/site-packages/enum/__init__.py", line 161, in __new__
    member_type, first_enum = metacls._get_mixins_(bases)
  File "/usr/lib/python2.7/site-packages/enum/__init__.py", line 481, in _get_mixins_
    issubclass(base, Enum) and
TypeError: issubclass() arg 1 must be a class

Local variables in innermost frame:
bases: ('STUDIO_RUNNING', <enum 'Enum'>)
base: 'STUDIO_RUNNING'
first_enum: None
member_type: None

Potential duplicate: bug 1230785

--- Additional comment from Thom Carlin on 2016-03-03 09:30:34 EST ---



--- Additional comment from Thom Carlin on 2016-03-03 09:30:35 EST ---



--- Additional comment from Stephen on 2016-09-19 22:30:35 EDT ---

Still broken in Fedora 24 - from this package's other bugs it looks like this has been broken for several releases... is there no active maintainer for this?

--- Additional comment from Fedora End Of Life on 2016-11-24 10:54:34 EST ---

This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

--- Additional comment from Stephen on 2016-12-17 07:11:41 EST ---

Clearly this package is unmaintained. Still happens in F25.

--- Additional comment from Fedora End Of Life on 2016-12-20 14:13:20 EST ---

Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.



............

Note: cloning as I couldn't update the version of, or later re-open, the previous one.

Comment 1 richard.grosser 2017-04-05 12:00:40 UTC
The problem should be fixed by updating the package to version 1.1! The reason for the error is, that laditools needs to be ported to python-enum34 (compare the pull request here: https://github.com/alessio/laditools/pull/1 ).

A simple dirty workaround for current fedora users might be, to apply the changes of the commit in the pull request locally by replacing

    LadishStatusType = Enum("STUDIO_STOPPED",
                            "NOT_AVAILABLE",
                            "NO_STUDIO_LOADED",
                            "STUDIO_RUNNING")

with

    LadishStatusType = Enum("LadishStatusType",
                            "STUDIO_STOPPED NOT_AVAILABLE NO_STUDIO_LOADED STUDIO_RUNNING")

as root in /usr/lib/python2.7/site-packages/laditools/ladish.py

Please fix it with an update!

Comment 2 Fedora End Of Life 2017-11-16 14:55:17 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2017-12-12 10:29:36 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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