Skip to content

IndexError: list index out of range on Fedora release 37 #750

@porunov

Description

@porunov

ccm doesn't seems to be working on Fedora 37.

Installation steps:
pip install ccm

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: ccm in /home/workenv/.local/lib/python3.11/site-packages (3.1.5)
Requirement already satisfied: pyYaml in /usr/lib64/python3.11/site-packages (from ccm) (6.0)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3.11/site-packages (from ccm) (1.16.0)

Run test:
ccm create test -v 4.0.0 -n 3 -s

Traceback (most recent call last):
  File "/home/workenv/.local/bin/ccm", line 107, in <module>
    parser = cmd.get_parser()
             ^^^^^^^^^^^^^^^^
  File "/home/workenv/.local/lib/python3.11/site-packages/ccmlib/cmds/command.py", line 60, in get_parser
    get_remote_usage()
  File "/home/workenv/.local/lib/python3.11/site-packages/ccmlib/remote.py", line 32, in get_remote_usage
    return RemoteOptionsParser().usage()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/workenv/.local/lib/python3.11/site-packages/ccmlib/remote.py", line 497, in usage
    usage = self.parser.format_help().split("optional arguments:")[1]
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions