Skip to content

clp-text decompression with decompress.sh x fails #1764

@quinntaylormitchell

Description

@quinntaylormitchell

Bug

When running decompress.sh x in clp-text, the file extraction fails:

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 245, in handle_extract_file_cmd
    "--db-name", clp_db_connection_params["name"],
KeyError: 'name'
2025-12-10T17:25:05.361 ERROR [decompress] file extraction failed.

Looks like it’s happening because clp_db_connection_params doesn’t have a "name" key anymore after PR #1606 changed the name of the attribute in Database to "names".

CLP version

423d089

Environment

Ubuntu jammy

Reproduction steps

Run decompress.sh x after using clp-text to compress logs; observe failure.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

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