<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Arnold renderer fails to initialize! in Maya Forum</title>
    <link>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6723784#M59332</link>
    <description>&lt;P&gt;Did you update Arnold to Maya 2017 version ?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2016 12:18:41 GMT</pubDate>
    <dc:creator>ray</dc:creator>
    <dc:date>2016-12-02T12:18:41Z</dc:date>
    <item>
      <title>Arnold renderer fails to initialize!</title>
      <link>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6720199#M59331</link>
      <description>&lt;P&gt;&amp;nbsp;After trying to enable the Arnold plugin, I get the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import arnold
// Successfully imported python module 'arnold'
import mtoa
// Successfully imported python module 'mtoa'
import mtoa.cmds.registerArnoldRenderer;mtoa.cmds.registerArnoldRenderer.registerArnoldRenderer()
# Error: line 1: LookupError: file C:\solidangle\mtoadeploy\2017\scripts\mtoa\cmds\registerArnoldRenderer.py line 16: unknown encoding: cp0 # 
// Error: Failed to register renderer 'arnold' // 
// Error: line 1: initializePlugin function failed (mtoa) // &lt;/PRE&gt;&lt;P&gt;Was working perfectly in 2016. I updated to 2017 Update 2 today, and unable to load Arnold.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 00:37:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6720199#M59331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-01T00:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Arnold renderer fails to initialize!</title>
      <link>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6723784#M59332</link>
      <description>&lt;P&gt;Did you update Arnold to Maya 2017 version ?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 12:18:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6723784#M59332</guid>
      <dc:creator>ray</dc:creator>
      <dc:date>2016-12-02T12:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arnold renderer fails to initialize!</title>
      <link>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6724016#M59333</link>
      <description>&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed the latest 1.4.1.1 version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nothing has changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# Error: line 1: unknown encoding: cp0
# Traceback (most recent call last):
#   File "&amp;lt;maya console&amp;gt;", line 1, in &amp;lt;module&amp;gt;
#   File "C:\solidangle\mtoadeploy\2017\scripts\mtoa\cmds\registerArnoldRenderer.py", line 16, in &amp;lt;module&amp;gt;
#     print "Maya %s importing module pymel %s (%s)" % (maya_version, pymel.__version__, pymel.__file__)
# LookupError: unknown encoding: cp0 # &lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Dec 2016 13:54:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6724016#M59333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-02T13:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Arnold renderer fails to initialize!</title>
      <link>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6736133#M59334</link>
      <description>&lt;P&gt;Bump &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried every mtoa from 1.3.0+, same problem. Fresh Maya 2017 installation.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 11:28:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6736133#M59334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-08T11:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Arnold renderer fails to initialize!</title>
      <link>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6736227#M59335</link>
      <description>&lt;P&gt;It's not an MtoA problem, as shown in the other version of this thread that you started in a different forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You got the same error running just this Python in the script editor:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;import pymel
import pymel.versions as versions
maya_version = versions.shortName()
print "Maya %s importing module pymel %s (%s)" % (maya_version, pymel.__version__, pymel.__file__)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What if you run that Python snippet with mayapy...do you still get the encoding error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then try setting the PYTHONIOENCODING env variable.&lt;/P&gt;
&lt;P&gt;Also, what's chcp output when you run it in a command prompt?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:18:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6736227#M59335</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2016-12-08T12:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Arnold renderer fails to initialize!</title>
      <link>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6736300#M59336</link>
      <description>&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mayapy.exe displays the print correctly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Maya 2017 importing module pymel 1.0.9 (C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\pymel\__init__.py)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PYTHONIOENCODING = UTF-8&lt;/P&gt;&lt;P&gt;After googling &lt;SPAN&gt;PYTHONIOENCODING and cp0, I tried these as well:&amp;nbsp;mbcs,&amp;nbsp;cp1252:backslashreplace&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mayapy.exe still works fine, in Maya however...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# Error: line 1: 9
# Traceback (most recent call last):
#   File "&amp;lt;maya console&amp;gt;", line 4, in &amp;lt;module&amp;gt;
# IOError: [Errno 9] Bad file descriptor # &lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;chcp reports&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Active code page: 850&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Sorry about this, beyond a fresh maya install I don't really know how to fix this!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If it helps.... I am on Windows 10, Arndold worked perfectly in Maya 2016!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:46:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/arnold-renderer-fails-to-initialize/m-p/6736300#M59336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-08T12:46:25Z</dc:date>
    </item>
  </channel>
</rss>

