Hey guys,
For some reason Splunk trys to iterate over none and throws a TypeError: 'NoneType' object is not iterable in https://github.com/splunk/splunk-sdk-python/blob/master/splunklib/searchcommands/splunk_csv/dict_reader.py#L38. This is only reproducible in in certain environments it seems (happens in our production distributed cluster(s) but not in local test VMs). This causes the command to still execute but throws an error on the screen cause Splunk sent it no data.
I understand that it shouldn't do this yet still throws the error even though it enriches the data correctly. We were able to duplicate this occurrence with both a custom command and with the countmatches example code in our production testbed
Hey guys,
For some reason Splunk trys to iterate over none and throws a
TypeError: 'NoneType' object is not iterablein https://github.com/splunk/splunk-sdk-python/blob/master/splunklib/searchcommands/splunk_csv/dict_reader.py#L38. This is only reproducible in in certain environments it seems (happens in our production distributed cluster(s) but not in local test VMs). This causes the command to still execute but throws an error on the screen cause Splunk sent it no data.I understand that it shouldn't do this yet still throws the error even though it enriches the data correctly. We were able to duplicate this occurrence with both a custom command and with the
countmatchesexample code in our production testbed