-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mlnx-msn2010: show platform syseeprom not working #370
Comments
could you please test on version from October, 24 or newer? There were some fixes for msn2010 |
looks like this system was converted from another OS with a different ONIE version. try updating the ONIE and reinstall SONiC |
Issue fixed after ONIE upgrade per suggestion. |
Description Replace exit() by sys.exit() Motivation and Context sys.exit is better than exit, considered good to use in production code. Ref: https://stackoverflow.com/questions/6501121/difference-between-exit-and-sys-exit-in-python https://stackoverflow.com/questions/19747371/python-exit-commands-why-so-many-and-when-should-each-be-used
admin@sonic:~$ show platform syseeprom
/usr/bin/decode-syseeprom : ERROR : cannot load module: /usr/share/sonic/device/x86_64-mlnx_x86-r5.0.1410/plugins/eeprom.py
The text was updated successfully, but these errors were encountered: