Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error exporting looks (name 'unicode' is not defined)

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
936 Views, 4 Replies

Error exporting looks (name 'unicode' is not defined)

Hi
export looks button return error!
# Error: NameError: file C:\Solidangle\MtoA\maya2022\scripts\mtoa\ui\exportlook.py line 33: name 'unicode' is not defined #
Maya 2022
MtoA-4.2.3-2022
Win 10

Labels (2)
4 REPLIES 4
Message 2 of 5
Stephen.Blair
in reply to: Anonymous

Hmm, Python 3 renamed the unicode type to str, the old str type was replaced by bytes.

If you need it to work now in Python 3, you could edit the file and just remove unicode from that line.


Thanks for reporting, I'll open a ticket.




// Stephen Blair
// Arnold Renderer Support
Message 3 of 5
Anonymous
in reply to: Anonymous

Hi Stephen
I edited the file as you said, the export looks button works, but now i have another problem in another file: aiStandInTemplate.py.
# Error: UnboundLocalError: file C:\Solidangle\MtoA\maya2022\scripts\mtoa\ui\ae\aiStandInTemplate.py line 627: local variable 'parmas' referenced before assignment #


Message 4 of 5
Stephen.Blair
in reply to: Anonymous

Hi @

When do you get the error?



// Stephen Blair
// Arnold Renderer Support
Message 5 of 5
Anonymous
in reply to: Stephen.Blair

Hi
Error occurs only when I try to save to MaterialX Look File (mtlx)
no error when saving to Arnold Operator Graph or Arnold USD File
maybe I've some error in my scene!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report