Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Installed Maya 2022 on Ubuntu and for some reason Arnold is not working.

6 REPLIES 6
Reply
Message 1 of 7
pvtmemes
956 Views, 6 Replies

Installed Maya 2022 on Ubuntu and for some reason Arnold is not working.

When I try to load the mtoa in plugin manager maya crahses with a fatal error. Terminal has also the error "Failed to import python module arnold". I don't really know what to do.

I tried installing MayaToArnold plug-in from the website but it still doesn't work.

 

error in terminal:

Unable to execute xgen.mel.00:00:00 1130MB | log started Mon Jun 28 18:11:12 2021
00:00:00 1130MB | Arnold 6.2.1.1 [fbf3b21a] linux clang-10.0.1 oiio-2.3.2 osl-1.12.0 vdb-7.1.1 clm-2.0.0.235 rlm-14.1.3 optix-6.6.0 2021/06/04 10:28:31
00:00:00 1130MB | running on samarth-TUF-Gaming-FX505DT-FX505DT, pid=127231
00:00:00 1130MB | 1 x AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (4 cores, 8 logical) with 7823MB
00:00:00 1130MB | NVIDIA driver version 460.80 (Optix 60800)
00:00:00 1130MB | GPU 0: GeForce GTX 1650 @ 1560MHz (compute 7.5) with 3911MB (3651MB available) (NVLink:0)
00:00:00 1130MB | Ubuntu 21.04 (Hirsute Hippo), Linux kernel 5.11.0-22-generic
00:00:00 1130MB | soft limit for open files raised from 1024 to 1048574
00:00:00 1130MB |
00:00:00 1130MB | loading plugins from /usr/autodesk/arnold/maya2022/plug-ins/../bin/../plugins ...
00:00:00 1130MB | cryptomatte.so: cryptomatte uses Arnold 6.2.1.1
00:00:00 1130MB | cryptomatte.so: cryptomatte_filter uses Arnold 6.2.1.1
00:00:00 1130MB | cryptomatte.so: cryptomatte_manifest_driver uses Arnold 6.2.1.1
00:00:00 1130MB | alembic_proc.so: alembic uses Arnold 6.2.1.1
00:00:00 1138MB | usd_proc.so: usd uses Arnold 6.2.1.1
00:00:00 1146MB | synColor_shaders.so: color_manager_syncolor uses Arnold 6.2.1.1
00:00:00 1146MB | loaded 6 plugins from 4 lib(s) in 0:00.03

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

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

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

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

API error detected in plugins/mtoa/Main.cpp at line 1323
: (kFailure): Unexpected Internal Failure
00:00:00 1159MB ERROR | Failed to import python module 'arnold'
00:00:00 1158MB ERROR | signal caught: SIGSEGV -- Invalid memory reference

****
* Arnold 6.2.1.1 [fbf3b21a] linux clang-10.0.1 oiio-2.3.2 osl-1.12.0 vdb-7.1.1 clm-2.0.0.235 rlm-14.1.3 optix-6.6.0 2021/06/04 10:28:31
* CRASHED in Tmetaclass::isa(char const*) at 00:00:00
* signal caught: SIGSEGV -- Invalid memory reference (address not mapped to object)

6 REPLIES 6
Message 2 of 7
chriswhy
in reply to: pvtmemes

I also have this issue. I didn't have this issue with Arnold with Maya 2020. I'm using Ubuntu 20.04 LTS. Did you ever get around this?


Message 3 of 7
Stephen.Blair
in reply to: chriswhy

This indicates that it's a Python related problem:

 

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

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

 

 

 



// Stephen Blair
// Arnold Renderer Support
Message 4 of 7
chriswhy
in reply to: pvtmemes

I'm not sure what you mean by Maya environment besides the system's current environment variables, none of which include Python, either before or after launching Maya.

 

I noticed there is an "env" command I can run in the Maya command shell. I have a feeling this isn't particularly relevant, but the only reference to Python here is "$gHistoryFilterPythonMenuItemSuffix".

 

As for Script Editor, I tried running that in the Python tab:

 

# Error: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory #

 

libffi7 is installed, and ffi6 is packaged for Ubuntu 18.04 LTS. It did install without complaint on 20.04 LTS, so I will see if this helps.

Message 5 of 7
Stephen.Blair
in reply to: chriswhy

Maya environment = the environment variable settings of the maya process

Running the MEL command system("printenv") should show that



// Stephen Blair
// Arnold Renderer Support
Message 6 of 7
chriswhy
in reply to: pvtmemes

Running printenv in the MEL tab just says it cannot find the procedure "printenv".

Anyway it seems installing ffi6 resolved the issue. After installing it, I can now enable the Arnold plugin without Maya crashing. Thanks!

 

(Someone should probably edit this documentation or that document to include this.)

Message 7 of 7
Stephen.Blair
in reply to: chriswhy


@chriswhy wrote:

Running printenv in the MEL tab just says it cannot find the procedure "printenv".


The MEL system command should run printenv:

system("printenv")


// Stephen Blair
// Arnold Renderer Support

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

Post to forums