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.
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.