splunk-sdk-python icon indicating copy to clipboard operation
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

Open borisdev opened this issue 13 years ago • 3 comments

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'

borisdev avatar Jun 18 '13 19:06 borisdev

Is there some way you could dump what's actually sent back from Splunk when this happens and send it to us?

madhadron avatar Jun 20 '13 21:06 madhadron

Did you ever get this resolved? Can we close it?

stelles avatar Jul 02 '14 21:07 stelles

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 .

borisdev avatar Jul 02 '14 22:07 borisdev