Werk #18153: MKP tool: Fix IndexError: tuple index out of range
Component | Checks & agents | ||||
Title | MKP tool: Fix IndexError: tuple index out of range | ||||
Date | Sep 4, 2025 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
Previously, trying to package a file with mkp package <template>
could result in the following crash:
File "/omd/sites/v240p8/lib/python3.12/site-packages/cmk/mkp_tool/_parts.py", line 193, in permissions
if rel_path.parts[-2] == "libexec"
IndexError: tuple index out of range