NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

Value is empty for about 15 multibyte characters

nasabi
1,715 Views

I am develop tool for ontap with python.

On the way, I tried to create a Qtree using multi-byte characters such as Japanese and Korean.
However, if an error occurs and the number of multibyte characters exceeds a certain number as long as guessed from the error content, it seems that NetApp can not recognize the character

 

: running code like below

    api = NaElement('qtree-create')
    api.child_add_string("volume", 'svm_vol1')
    api.child_add_string("oplocks", 'enabled')
    api.child_add_string("security-style", 'ntfs')
    api.child_add_string("qtree", 'あああああああああああああああ')
    o = s.invoke_elem(api)

 

: result

You cannot create qtree "".

- Usually it should be "You cannot create qtree "あああああああああああああああ"."

 

 

Do you know why this happens?

0 REPLIES 0
Public