Skip to content

TypeError: Multiple inheritance with NamedTuple is not supported #579

@7Ragnarok7

Description

@7Ragnarok7

⚠️IMPORTANT⚠️ if you do not fill this out, we will automatically delete your issue. We will not help anyone that cannot fill out this template.

Describe the bug
I am getting the following error when I run ciphey :

Traceback (most recent call last):
  File "/usr/local/bin/ciphey", line 5, in <module>
    from ciphey.ciphey import main
  File "/usr/local/lib/python3.9/dist-packages/ciphey/__init__.py", line 3, in <module>
    from . import iface
  File "/usr/local/lib/python3.9/dist-packages/ciphey/iface/__init__.py", line 1, in <module>
    from ._config import Config
  File "/usr/local/lib/python3.9/dist-packages/ciphey/iface/_config.py", line 21, in <module>
    from ._modules import Checker, Searcher, ResourceLoader, PolymorphicChecker
  File "/usr/local/lib/python3.9/dist-packages/ciphey/iface/_modules.py", line 225, in <module>
    class CrackResult(NamedTuple, Generic[T]):
  File "/usr/lib/python3.9/typing.py", line 1876, in _namedtuple_mro_entries
    raise TypeError("Multiple inheritance with NamedTuple is not supported")
TypeError: Multiple inheritance with NamedTuple is not supported

Plaintext
⚠️IMPORTANT⚠️ The below code is non-negotiable for "Ciphey didn't decrypt...." problems. If you do not tell us your plaintext, we will not help you.

Include your plaintext here, replacing this 

Version
⚠️IMPORTANT⚠️ We need this information because different environments will induce different bugs in Ciphey

  • OS/Distro: Kali Linux
  • Python version: 3.9.1
  • Ciphey versions: 5.10.0
  • Did you use Docker? No.

Verbose Output
⚠️IMPORTANT⚠️ Verbose output will tell us why it's not working the way we expected it to be.
Run Ciphey with ciphey -vvv and paste the results into Pastebin.com or a GitHub Gist

To Reproduce
Steps to reproduce the behavior:

ciphey --help

Expected behavior
A clear and concise description of what you expected to happen.

Any other information?
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions