Skip to content

panic when kapp version is developย #37

@dprotaso

Description

@dprotaso
๐Ÿ›  Checking other tools that are not needed for using tappr but nice to have ...
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ /Users/dprotasowski/.local/pipx/venvs/tappr/lib/python3.11/site-packages/tappr/main.py:272 in    โ”‚
โ”‚ check                                                                                            โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   269 โ”‚   checks_passed = subprocess_helpers.run_pre_req(cmd="rosa version", tool="For [yellow   โ”‚
โ”‚   270 โ”‚                                                                                          โ”‚
โ”‚   271 โ”‚   typer_logger.msg("\n:hammer_and_wrench: Checking other tools that are not needed for   โ”‚
โ”‚ โฑ 272 โ”‚   subprocess_helpers.run_pre_req(cmd="kapp --version", tool="kapp") and checks_passed    โ”‚
โ”‚   273 โ”‚   subprocess_helpers.run_pre_req(cmd="kbld --version", tool="kbld") and checks_passed    โ”‚
โ”‚   274 โ”‚   subprocess_helpers.run_pre_req(cmd="kctrl --version", tool="kctrl") and checks_passe   โ”‚
โ”‚   275 โ”‚   subprocess_helpers.run_pre_req(cmd="vendir --version", tool="vendir") and checks_pas   โ”‚
โ”‚                                                                                                  โ”‚
โ”‚ /Users/dprotasowski/.local/pipx/venvs/tappr/lib/python3.11/site-packages/tappr/modules/utils/hel โ”‚
โ”‚ pers.py:22 in run_pre_req                                                                        โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   19 โ”‚   โ”‚   process, out, err = self.run_proc(cmd)                                              โ”‚
โ”‚   20 โ”‚   โ”‚   ver = ""                                                                            โ”‚
โ”‚   21 โ”‚   โ”‚   if out:                                                                             โ”‚
โ”‚ โฑ 22 โ”‚   โ”‚   โ”‚   ver = re.search(r"([\d.]+)", out.decode()).group(1)                             โ”‚
โ”‚   23 โ”‚   โ”‚   โ”‚   if ver == ".":                                                                  โ”‚
โ”‚   24 โ”‚   โ”‚   โ”‚   โ”‚   ver = " "                                                                   โ”‚
โ”‚   25 โ”‚   โ”‚   โ”‚   else:                                                                           โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
AttributeError: 'NoneType' object has no attribute 'group'
dprotasowski@dprotasowsBPN7C conformance % kapp --version
kapp version develop

Succeeded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions