cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
678
Views
0
Helpful
0
Replies

UCS CodeGen using ucsmsdk

Guru Prasad
Level 1
Level 1

Hi All,

 

The ucsmsdk python package provides a code-gen feature which automatically generates python code when we do some activity over UCS manager. I have tried it over a UCS emulator.

 

But when i tried the same with the actual hardware, it failed.

 

 

ucs_gui_launch(handle)

This ucsmsdk function fails on actual hardware with the following error.

File "C:\Python27\lib\site-packages\ucsmsdk\utils\ucsguilaunch.py", line 117, in ucs_gui_launch
    if os.path.exists(jnlp_file):
  File "C:\Python27\lib\genericpath.py", line 26, in exists
    os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
>>> 

Please let me know whether ucsmsdk's code-gen feature is supported in original hardware or not.

 

0 Replies 0