splunk-sdk-python
splunk-sdk-python copied to clipboard
When our Splunk machine is heavily in use, a REST call to get the results of a search job will fail unexpectedly
When our Splunk machine is heavily in use, a REST call to get the results of a search job will fail unexpectedly, as below:
job.refresh()
File "splunk-sdk-python/splunklib/client.py", line 955, in refresh
self._state = self.read()
File "/splunk-sdk-python/splunklib/client.py", line 1014, in read
results = self._load_state(response)
File "splunk-sdk-python/splunklib/client.py", line 878, in _load_state
entry = self._load_atom_entry(response)
File "splunk-sdk-python/splunklib/client.py", line 2379, in _load_atom_entry
return _load_atom(response).entry
AttributeError: 'NoneType' object has no attribute 'entry'
Is there some way you could dump what's actually sent back from Splunk when this happens and send it to us?
Did you ever get this resolved? Can we close it?
yes
On Wed, Jul 2, 2014 at 2:16 PM, stelles [email protected] wrote:
Did you ever get this resolved? Can we close it?
— Reply to this email directly or view it on GitHub https://github.com/splunk/splunk-sdk-python/issues/66#issuecomment-47837823 .