Skip to content

error while running sdwan.py #16

@HardikRaval2020

Description

@HardikRaval2020

(venv) (base) HARAVAL-M-M02L:Getting-started-with-Cisco-SD-WAN-REST-APIs haraval$ ./sdwan.py template_list

Traceback (most recent call last):
File "./sdwan.py", line 49, in get_jsessionid
cookies = response.headers["Set-Cookie"]
File "/Users/haraval/Documents/Cisco/SDWAN/Devnet/Getting-started-with-Cisco-SD-WAN-REST-APIs/venv/lib/python3.8/site-packages/requests/structures.py", line 54, in getitem
return self._store[key.lower()][1]
KeyError: 'set-cookie'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./sdwan.py", line 70, in
jsessionid = Auth.get_jsessionid(vmanage_host,vmanage_port,vmanage_username,vmanage_password)
File "./sdwan.py", line 53, in get_jsessionid
if logger is not None:
NameError: name 'logger' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions