first, happy new year everyone !
First error of the year is the follow :
I got an error when I execute the whole mel script, but my script work actually fine when I execute each lines separately. My code link attributes with connectAttr, between objects and operators.
I hope someone has already encountered this type of error, thank you in advance for your help !