securecrt-tools icon indicating copy to clipboard operation
securecrt-tools copied to clipboard

Error running s_switchport_mapping.py

Open cmacasae opened this issue 4 years ago • 3 comments

UnicodeEncodeError Error: ascii File: \s_switchport_mapping.py Line: 159 utilities.list_of_lists_to_csv(output, output_filename)

The script was able to run properly on another device. For some reason I am getting the error when running it in a C9410R The error pops after terminal length and width is executed after pointing to the arp csv file There is an output port-map csv file but it is incomplete

cmacasae avatar Jun 14 '21 16:06 cmacasae

Sorry for the delay. My current work project hasn't left me much time to work on this -- also, I don't think I have a C9410R at my disposal to test with, but I'll see if I can find another device where I can reproduce this problem.

jamiecaesar avatar Jul 12 '21 13:07 jamiecaesar

I've hit the same error with Nexus 5K, after repeative testing and readjusting SecureCRT profile to UTF-8 encoding it eventually took, however, I couldn't identify the exact issue.

routepoison avatar Oct 11 '21 14:10 routepoison

I've hit the same error with Nexus 5K, after repeative testing and readjusting SecureCRT profile to UTF-8 encoding it eventually took, however, I couldn't identify the exact issue.

Correction to this, excel allows saving of classic .CSV and .CSV UTF-8 encoding, ensure not to select the latter.

routepoison avatar Oct 05 '22 08:10 routepoison