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

Htoa-5.6.3.0 Error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 136

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
648212712
531 Views, 7 Replies

Htoa-5.6.3.0 Error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 136

arnold-bug.png

Tags (1)
Labels (1)
7 REPLIES 7
Message 2 of 8
Stephen.Blair
in reply to: 648212712

Python 3 version of Houdini?



// Stephen Blair
// Arnold Renderer Support
Message 3 of 8
648212712
in reply to: 648212712

@Stephen Blair no,it's python2.7 and I install python2.7 houdini and arnold.

Message 4 of 8
Stephen.Blair
in reply to: 648212712

Run this python in Houdini, do you get the same error?

from arnold import *

paramValueMap = AiParamValueMap()
#AiADPDialogStrings(paramValueMap, str("in the HtoA menu item  Help | Autodesk-Analytics").encode("utf-8"))

AiADPDialogStrings(paramValueMap, str("in the HtoA menu item").encode("utf-8") )

allText = ''

titleText = AtStringStruct(None)
AiParamValueMapGetStr(paramValueMap, 'title', ctypes.byref(titleText))

introText = AtStringStruct(None)
AiParamValueMapGetStr(paramValueMap, 'introduction_intro', ctypes.byref(introText))
allText += str(introText) + "\n\n"

print( str(introText) )


1628350839428.png



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

still have problem.....arnold-bug-fix.pngarnold-bug-fix-fail.png

Message 6 of 8
648212712
in reply to: 648212712

@ 错误.png I still can't render

Message 7 of 8
Stephen.Blair
in reply to: 648212712

The UnicodeDecodeError is a bug, and I'll log it.
It has nothing to do with your other problems.


Please ask a new question for your other problem.
And please include the Houdini details from Help > About Houdini > Show Details, and anything that is logged in the Houdini Console at startup.



// Stephen Blair
// Arnold Renderer Support
Message 8 of 8
648212712
in reply to: 648212712

@Stephen Blair I try python 3 version, it work for me, thank you.

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

Post to forums  

Autodesk Design & Make Report