CiscoUcs / ucsmsdk

Python SDK for Cisco UCSM
Other
80 stars 60 forks source link

convertfrombackup.py fails to write a Python output file and gives no errors #220

Closed brilong closed 10 months ago

brilong commented 2 years ago

I recently came across the utils/convertfrombackup.py script and I tried using it on a backup.xml from a UCS manager running 4.1(3h). I have tried with Python 2.7 and Python 3.8 on MacOS 11.6 Big Sur.

An example command that outputs nothing: /Users/me/Library/Python/2.7/lib/python/site-packages/ucsmsdk/utils/convertfrombackup.py /Users/me/ucs-backup.xml /Users/me/ucs.py

The same for Python 3.8 (having edited covertfrombackup.py to specify #!/usr/bin/python3): /Users/me/Library/Python/3.8/lib/python/site-packages/ucsmsdk/utils/convertfrombackup.py /Users/me/ucs-backup.xml /Users/me/ucs.py

No tracebacks, no output, python output file is not created nor written to.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.