Closed brantleyp1 closed 2 years ago
Please provide all interface names for a device that crashes napalm-ros. I suspect some strange character in name.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Description of Issue/Question
I've got napalm/napalm-ros installed on an instance of NetBox and am hitting an error "napalm - ERROR - method - Failed: expected string or bytes-like object" either calling get_facts via CLI or NetBox GUI
Setup
Fresh install of Ubuntu 20.04 that has updates run.
The Napalm/Napalm-ROS are being installed in both /usr/local/lib/python3.8 and /opt/netbox/venv/lib/python3.8, but seeing same results from either. This is an artifact of the ansible role I'm using to build the netbox install.
napalm-ros version
ROS version
Steps to Reproduce the Issue
Install napalm==3.4.1 and napalm_ros==1.0.1
Running into an issue with netmiko that is required for napalm>=4.0.0 so keeping at 3.4.1 for now.
Error Traceback
(Paste the complete traceback of the exception between quotes below)
Workaround
I'm able to work around it by changing the function and removing the call to napalm.base.string_parsers:
Which nets a better result: