Troubleshooting
Problem
When you execute the
/opt/qradar/support/clear_csr.py script, the following stack trace is generated:
# /opt/qradar/support/clear_csr.py
Dry run has been enabled: False
Traceback (most recent call last):
File "/opt/qradar/support/clear_csr.py", line 248, in <module>
main()
File "/opt/qradar/support/clear_csr.py", line 242, in main
csr_cleaner.clean_csr(True)
File "/opt/qradar/support/clear_csr.py", line 195, in clean_csr
csr_path_list, csr_command_dict = self.get_csr_config_mapping()
File "/opt/qradar/support/clear_csr.py", line 181, in get_csr_config_mapping
json_data = self.parse_json(json_config_path)
File "/opt/qradar/support/clear_csr.py", line 144, in parse_json
data = json.load(json_file)
File "/usr/lib64/python3.6/json/__init__.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.6/json/decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 7 column 3 (char 177)
This stack trace indicates an error in the script due to a JSON decoding issue. The error occurs online 7, column 3 (character 177) where a comma delimiter was expected
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSV4BL","label":"IBM QRadar"},"ARM Category":[{"code":"a8m0z000000cwt3AAA","label":"QRadar Apps"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SSTZMA","label":"QRadar Appliance Hardware"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
13 December 2023
UID
ibm17009531