You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wen in N2G CLI Tool used option --L2-add-connected occured traceback with AttributeError: 'list' object has no attribute 'get'
Details
PS C:\DevNet2023\GitHub\N2G> n2g -d ./l2_data -L2 -L2-add-lag -L2-add-connected
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\DevNet2023\GitHub\N2G.venv\Scripts\n2g.exe_main.py", line 7, in
File "C:\DevNet2023\GitHub\N2G.venv\Lib\site-packages\N2G\utils\N2G_cli.py", line 552, in cli_tool
drawer.work(DATA)
File "C:\DevNet2023\GitHub\N2G.venv\Lib\site-packages\N2G\plugins\data\cli_l2_data.py", line 314, in work
self._add_all_connected()
File "C:\DevNet2023\GitHub\N2G.venv\Lib\site-packages\N2G\plugins\data\cli_l2_data.py", line 606, in _add_all_connected
line = intf_data.get("state", {}).get("line", "").lower()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'get'
PS C:\DevNet2023\GitHub\N2G>
The text was updated successfully, but these errors were encountered:
Wen in N2G CLI Tool used option --L2-add-connected occured traceback with AttributeError: 'list' object has no attribute 'get'
Details
PS C:\DevNet2023\GitHub\N2G> n2g -d ./l2_data -L2 -L2-add-lag -L2-add-connected
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\DevNet2023\GitHub\N2G.venv\Scripts\n2g.exe_main.py", line 7, in
File "C:\DevNet2023\GitHub\N2G.venv\Lib\site-packages\N2G\utils\N2G_cli.py", line 552, in cli_tool
drawer.work(DATA)
File "C:\DevNet2023\GitHub\N2G.venv\Lib\site-packages\N2G\plugins\data\cli_l2_data.py", line 314, in work
self._add_all_connected()
File "C:\DevNet2023\GitHub\N2G.venv\Lib\site-packages\N2G\plugins\data\cli_l2_data.py", line 606, in _add_all_connected
line = intf_data.get("state", {}).get("line", "").lower()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'get'
PS C:\DevNet2023\GitHub\N2G>
The text was updated successfully, but these errors were encountered: