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
Creating connection...
Traceback (most recent call last):
File "/.venv/lib/python3.10/site-packages/napalm/base/base.py", line 128, in _netmiko_open
if not self.force_no_enable:
AttributeError: 'ExosDriver' object has no attribute 'force_no_enable'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/laan/script/transtema_audit/slask/test.py", line 30, in
device.open()
File "/home/laan/script/transtema_audit/ntwrk/napalm-exos/napalm_exos/exos.py", line 132, in open
self.device = self._netmiko_open(
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/napalm/base/base.py", line 131, in _netmiko_open
self._netmiko_device.enable()
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/cisco_base_connection.py", line 26, in enable
return super().enable(
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/base_connection.py", line 2024, in enable
if check_state and self.check_enable_mode():
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/cisco_base_connection.py", line 15, in check_enable_mode
return super().check_enable_mode(check_string=check_string)
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/base_connection.py", line 1993, in check_enable_mode
output = self.read_until_prompt(read_entire_line=True)
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/base_connection.py", line 837, in read_until_prompt
return self.read_until_pattern(
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/base_connection.py", line 746, in read_until_pattern
raise ReadTimeout(msg)
netmiko.exceptions.ReadTimeout:
Pattern not detected: '\\ SWITCH01:1\ .' in output '\n* SWITCH01:3 # '
Things you might try to fix this:
Adjust the regex pattern to better identify the terminating string. Note, in
many situations the pattern is automatically based on the network device's prompt.
Increase the read_timeout to a larger value.
You can also look at the Netmiko session_log or debug log for more information.
The text was updated successfully, but these errors were encountered:
Creating connection...
Traceback (most recent call last):
File "/.venv/lib/python3.10/site-packages/napalm/base/base.py", line 128, in _netmiko_open
if not self.force_no_enable:
AttributeError: 'ExosDriver' object has no attribute 'force_no_enable'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/laan/script/transtema_audit/slask/test.py", line 30, in
device.open()
File "/home/laan/script/transtema_audit/ntwrk/napalm-exos/napalm_exos/exos.py", line 132, in open
self.device = self._netmiko_open(
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/napalm/base/base.py", line 131, in _netmiko_open
self._netmiko_device.enable()
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/cisco_base_connection.py", line 26, in enable
return super().enable(
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/base_connection.py", line 2024, in enable
if check_state and self.check_enable_mode():
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/cisco_base_connection.py", line 15, in check_enable_mode
return super().check_enable_mode(check_string=check_string)
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/base_connection.py", line 1993, in check_enable_mode
output = self.read_until_prompt(read_entire_line=True)
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/base_connection.py", line 837, in read_until_prompt
return self.read_until_pattern(
File "/home/laan/script/transtema_audit/.venv/lib/python3.10/site-packages/netmiko/base_connection.py", line 746, in read_until_pattern
raise ReadTimeout(msg)
netmiko.exceptions.ReadTimeout:
Pattern not detected: '\\ SWITCH01:1\ .' in output '\n* SWITCH01:3 # '
Things you might try to fix this:
many situations the pattern is automatically based on the network device's prompt.
You can also look at the Netmiko session_log or debug log for more information.
The text was updated successfully, but these errors were encountered: