
Traceback (most recent call last):


 "/var/cache/salt/minion/extmods/proxy/napalm.py", line 284, in call

out = getattr(NETWORK_DEVICE.get('DRIVER'), method)(**params)
# calls the method with the specified parameters


 "/usr/local/lib/python2.7/site-packages/napalm_iosxr/iosxr.py", line 706, in get_bgp_config

result_tree = ETREE.fromstring(self.device.make_rpc_call(rpc_command))

AttributeError: 'NoneType' object has no attribute 'lower'

Traceback (most recent call last):


 "test.py", line 9, in <module>

get = http.request(method='GET', url=url, headers={'X-Plex-Token': token})


 "/Users/someusername/Library/Python/3.7/lib/python/site-packages/urllib3/request.py", line 76, in request

method, url, fields=fields, headers=headers, **urlopen_kw


 "/Users/someusername/Library/Python/3.7/lib/python/site-packages/urllib3/request.py", line 97, in request_encode_url

return self.urlopen(method, url, **extra_kw)


 "/Users/someusername/Library/Python/3.7/lib/python/site-packages/urllib3/poolmanager.py", line 330, in urlopen

response = conn.urlopen(method, u.request_uri, **kw)


 "/Users/someusername/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 615, in urlopen

url = six.ensure_str(_encode_target(url))


 "/Users/someusername/Library/Python/3.7/lib/python/site-packages/urllib3/util/url.py", line 328, in _encode_target

path, query, fragment = TARGET_RE.match(target).groups()
AttributeError: 'NoneType' object has no attribute 'groups'
