I found it in the digi.log file in the logging directory of the XBee Gateway Wi-Fi, repeated over and over. I don’t know that I am doing anything related to this. I have a DIA python program running. Do you have an idea what it is related to? That way I can give more detail.
Confirmed as part of the python script. I was able to pinpoint that it is coming from the following function which is part of built-in DIA digi_device_info.py:
def get_device_id():
“”"
Retrieves the Device ID from the Digi device.
“”"
value = “”
query_base = ‘<%s><%s/>’
‘%s>’
try:
query = query_base % (‘query_setting’, ‘mgmtglobal’, ‘query_setting’)
raw_data = process_rci_request(query)
setting_tree = ElementTree().parsestring(raw_data)
device_id = setting_tree.find(‘deviceId’)
value = device_id.text
except AttributeError:
# PLATFORM: this might be an x2e
query = query_base % (‘query_state’, ‘device_info’, ‘query_state’)
raw_data = process_rci_request(query)
setting_tree = ElementTree().parsestring(raw_data)
device_id = setting_tree.find(‘deviceid’)
value = device_id.text
# normalize to the old NDS format
if not value.startswith('0x'):
value = ''.join(('0x', value))
value = value.replace('-', '')
except:
_tracer.error("get_device_id(): Unable to retrieve Device ID")
raise
return value
However the warning does not show in the python.log file but digi.log