Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/opt/clp/lib/python3/site-packages/clp_package_utils/scripts/native/decompress.py", line 354, in <module>
sys.exit(main(sys.argv))
File "/opt/clp/lib/python3/site-packages/clp_package_utils/scripts/native/decompress.py", line 346, in main
return handle_extract_file_cmd(parsed_args, clp_home, default_config_file_path)
File "/opt/clp/lib/python3/site-packages/clp_package_utils/scripts/native/decompress.py", line 252, in handle_extract_file_cmd
CLP_DB_USER_ENV_VAR_NAME: credentials[ClpDbUserType.CLP].username,
AttributeError: 'dict' object has no attribute 'username'
2025-12-02T16:38:45.845 ERROR [decompress] file extraction failed.
Bug
Use
clp-textto compress logs, then try to decompress withdecompress.sh x. Error appears:#1655 changed the line that’s failing in native/decompress.py. Decompression with
decompress.sh iis unaffected.CLP version
Commit cb2505d
Environment
Ubuntu jammy
Reproduction steps
Compress logs with
clp-textand then attempt to decompress them withdecompress.sh x.