Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error installing MtoA for Maya 2018.3.0

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
jpolkVFNE7
703 Views, 9 Replies

Error installing MtoA for Maya 2018.3.0

Download "MtoA 2018" for Linux from this link:


https://www.arnoldrenderer.com/arnold/download/product-download/?id=3131


Installing as root, after typing 'accept' and '1' got:


--== Maya to Arnold Installer ==--
Traceback (most recent call last):
File "./unix_installer.py", line 119, in <module>
installDir = os.path.join('/usr', 'autodesk', 'arnold', 'maya{}'.format(mayaVersion))
ValueError: zero length field name in format


Our studio location for Maya 2018.3.0 is:

/usr/apps/maya/maya-2018.3.0/


Thoughts or advice?

Thank you,


Btw, we don't normally use Maya plugin, we normally render via Arnold Core.

Tags (1)
Labels (1)
9 REPLIES 9
Message 2 of 10
jpolkVFNE7
in reply to: jpolkVFNE7

I also tried option '2' using '--keep' flag...and unzipped 'package.zip' locally.

I copied the results to live in our location /usr/apps/mtoa/maya2018/ and

launched Maya (2018.3.0). Unfortunately, when trying to load mtoa.so via Maya's

Plugin Manager, I got a range of error messages printed to the console (see below).

PYTHONPATH is pointed to "/usr/apps/arnold/arnold-5.4.0.2/python".

Thank you,


Here are err mesgs:

#--------------------------

exec command:

API error detected in plugins/mtoa/extension/PxMayaNode.cpp at line 469
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/PxMayaNode.cpp at line 469
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/PxMayaNode.cpp at line 469
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/PxMayaNode.cpp at line 469
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/extension/ExtensionsManager.cpp at line 719
: (kFailure): Unexpected Internal Failure

API error detected in plugins/mtoa/Main.cpp at line 1290
: (kFailure): Unexpected Internal Failure
00:00:00 744MB ERROR | Failed to import python module 'mtoa'

Message 3 of 10
jpolkVFNE7
in reply to: jpolkVFNE7

Setting MAYA_MODULE_PATH and MAYA_RENDER_DESC_PATH to where 'mtoa.mod' lives

(https://docs.arnoldrenderer.com/display/A5AFMUG/Installing+Arnold+for+Maya+on+Linux)

I was able to load 'mtoa.so' in the Plugin Mgr. However, when I went to Render Settings and set the renderer to Arnold, Maya crashed.

Message 4 of 10
jpolkVFNE7
in reply to: jpolkVFNE7

Also, before setting Env Vars, I had found that 'mtoa.mod' contained a filepath reference that starts with 'jenkins'

>>> more mtoa.mod
+ mtoa any /jenkins/workspace/Arnold-MTOA_Build_LINUX/MTOA_DEPLOY
PATH +:= bin
MAYA_CUSTOM_TEMPLATE_PATH +:= scripts/mtoa/ui/templates


I replaced the 'jenkins' path to where the extracted MtoA 4.0.1 is located:

>>> more mtoa.mod
+ mtoa any /usr/apps/mtoa/maya2018/4.0.1
PATH +:= bin
MAYA_CUSTOM_TEMPLATE_PATH +:= scripts/mtoa/ui/templates

Message 5 of 10
Stephen.Blair
in reply to: jpolkVFNE7

You use Python 2.6? That's the problem.

It's because line 119 isn't compatible with Python 2.6

installDir = os.path.join('/usr', 'autodesk', 'arnold','maya{}'.format(mayaVersion)) ValueError: zero length field name in format

https://stackoverflow.com/questions/21034954/valueerror-zero-length-field-name-in-format-in-python2-...


For Python 2.6, it has to be maya{0} not maya{}


This will be fixed in the next bugfix release.

For now, you have to either use a newer Python or fix the install script.

Extracting the files by unzipped 'package.zip' locally never works, because there's a bunch of Python files that are not created (init.py iirc, I'd have to check, haven't seen this in years)



// Stephen Blair
// Arnold Renderer Support
Message 6 of 10
jpolkVFNE7
in reply to: jpolkVFNE7

Ahhhh, lol, okay....We have Python 2.7 too...can I modify unix_installer.py and point it to py27 somehow? Or other suggestions?

Thank you,

Message 7 of 10
jpolkVFNE7
in reply to: jpolkVFNE7

Oh, or modify unix_installer.sh and replace 'python' with 'python2.7' ?

Message 8 of 10
jpolkVFNE7
in reply to: jpolkVFNE7

ahh, modifying unix_installer.sh and inserting 'python27' there...installation worked. Testing now...

Message 9 of 10
jpolkVFNE7
in reply to: jpolkVFNE7

Maya 2018.3.0's Plugin Mgr found it automatically, I clicked 'load' and it loaded.

Then again, went to Render Settings, set renderer to Arnold and Maya crashed again.

Message 10 of 10
jpolkVFNE7
in reply to: jpolkVFNE7

Ahh, that last step was my bad....it was picking up an older libai.so


It is working now 😄


Clicking on 'mtoa.so' loads and when I go to Render Settings, Arnold is already set as renderer.


THank you very much, Stephen

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

Post to forums  

Autodesk Design & Make Report