We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last): File "/root/collector-management-client-main/env/lib64/python3.6/site-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) 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 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "../sumo_mgmt.py", line 748, in add_source(collectors) File "../sumo_mgmt.py", line 464, in add_source collector['description'] = r.json()['message'] File "/root/collector-management-client-main/env/lib64/python3.6/site-packages/requests/models.py", line 917, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: [Errno Expecting value]
-addSource /root/collector-management-client-main/json/windows_eventlog_vdi.json -filter name=AP usage: sumo_mgmt.py [-h] [-upgrade] [-batchSize] [-addSource] [-accessid] [-accesskey] [-url] [-filter] [-listVersions] [-getSources] [-updateSource ] [-listOfflineCollectors [1-100]] [-deleteOfflineCollectors [1-100]] [-assignBudget] [-y] sumo_mgmt.py: error: argument -filter: expected 1 argument
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue 1: The -addSource method fails
Traceback (most recent call last):
File "/root/collector-management-client-main/env/lib64/python3.6/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
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 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
<title>502 Bad Gateway</title>File "../sumo_mgmt.py", line 748, in
add_source(collectors)
File "../sumo_mgmt.py", line 464, in add_source
collector['description'] = r.json()['message']
File "/root/collector-management-client-main/env/lib64/python3.6/site-packages/requests/models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value]
502 Bad Gateway
: 0Issue 2: The -addSource doesn't not support the -filter option
-addSource /root/collector-management-client-main/json/windows_eventlog_vdi.json -filter name=AP
usage: sumo_mgmt.py [-h] [-upgrade] [-batchSize] [-addSource] [-accessid]
[-accesskey] [-url] [-filter] [-listVersions]
[-getSources] [-updateSource ]
[-listOfflineCollectors [1-100]]
[-deleteOfflineCollectors [1-100]] [-assignBudget] [-y]
sumo_mgmt.py: error: argument -filter: expected 1 argument
The text was updated successfully, but these errors were encountered: