Maya 2020 on Ubuntu Budgie 20.10 help

Maya 2020 on Ubuntu Budgie 20.10 help

Anonymous
Not applicable
1,968 Views
6 Replies
Message 1 of 7

Maya 2020 on Ubuntu Budgie 20.10 help

Anonymous
Not applicable

I've been following the steps found in:

https://knowledge.autodesk.com/support/maya/learn-explore/caas/simplecontent/content/installing-maya...


So far so good, managed to get the Activation screen to load. However when Maya is about to start it crashes with this error:

root : ERROR : code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
root : ERROR : code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
root : ERROR : code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
root : ERROR : code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
root : ERROR : code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
root : ERROR : code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/autodesk/maya2020/lib/python27.zip/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Stack trace:
  gsignal
  abort
  /lib/x86_64-linux-gnu/libffi.so.8(+0x2452) [0x7fabe0ebd452]
  /usr/autodesk/maya2020/lib/python2.7/lib-dynload/_ctypes.so(+0xfe4f) [0x7fabbd6cbe4f]
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x8ebfb) [0x7fabfdca3bfb]
  /usr/autodesk/maya2020/lib/python2.7/lib-dynload/_ctypes.so(+0xec47) [0x7fabbd6cac47]
  /usr/autodesk/maya2020/lib/python2.7/lib-dynload/_ctypes.so(+0xecc9) [0x7fabbd6cacc9]
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0xae395) [0x7fabfdcc3395]
  PyEval_EvalFrameEx
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx
  PyEval_EvalCode
  PyImport_ExecCodeModuleEx
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x14b30e) [0x7fabfdd6030e]
  PyObject_Call
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x49d61) [0x7fabfdc5ed61]
  PyObject_CallMethod
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x112dc1) [0x7fabfdd27dc1]
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x113034) [0x7fabfdd28034]
  PyImport_ImportModuleLevel
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0xf30af) [0x7fabfdd080af]
  PyObject_Call
  PyEval_CallObjectWithKeywords
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx
  PyEval_EvalCode
  PyImport_ExecCodeModuleEx
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x14b30e) [0x7fabfdd6030e]
  PyObject_Call
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x49d61) [0x7fabfdc5ed61]
  PyObject_CallMethod
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x112dc1) [0x7fabfdd27dc1]
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x113075) [0x7fabfdd28075]
  PyImport_ImportModuleLevel
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0xf30af) [0x7fabfdd080af]
  PyObject_Call
  PyEval_CallObjectWithKeywords
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx
  PyEval_EvalCode
1/usr/autodesk/maya2020/bin/maya: line 194:  4251 Segmentation fault      (core dumped) /usr/autodesk/maya2020/bin/maya.bin

 

I'm using maya2020-64_2020.0-236_amd64, Ubuntu Budgie 20.10.

I've tried replacing maya's hashlib with a my custom 2.7 hashlib and it just gives a segfault. Any ideas on how to fix this?

0 Likes
Accepted solutions (1)
1,969 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable

I've managed to get rid of the HashError, but the PyEval_Code error still happens. Anybody have any ideas?

 

Stack trace:
  gsignal
  abort
  /lib/x86_64-linux-gnu/libffi.so.8(+0x2452) [0x7f057bb65452]
  /usr/autodesk/maya2020/lib/python2.7/lib-dynload/_ctypes.so(+0xfe4f) [0x7f05581f8e4f]
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x8ebfb) [0x7f0599021bfb]
  /usr/autodesk/maya2020/lib/python2.7/lib-dynload/_ctypes.so(+0xec47) [0x7f05581f7c47]
  /usr/autodesk/maya2020/lib/python2.7/lib-dynload/_ctypes.so(+0xecc9) [0x7f05581f7cc9]
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0xae395) [0x7f0599041395]
  PyEval_EvalFrameEx
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx
  PyEval_EvalCode
  PyImport_ExecCodeModuleEx
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x14b30e) [0x7f05990de30e]
  PyObject_Call
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x49d61) [0x7f0598fdcd61]
  PyObject_CallMethod
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x112dc1) [0x7f05990a5dc1]
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x113034) [0x7f05990a6034]
  PyImport_ImportModuleLevel
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0xf30af) [0x7f05990860af]
  PyObject_Call
  PyEval_CallObjectWithKeywords
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx
  PyEval_EvalCode
  PyImport_ExecCodeModuleEx
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x14b30e) [0x7f05990de30e]
  PyObject_Call
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x49d61) [0x7f0598fdcd61]
  PyObject_CallMethod
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x112dc1) [0x7f05990a5dc1]
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0x113075) [0x7f05990a6075]
  PyImport_ImportModuleLevel
  /usr/autodesk/maya2020/lib/libpython2.7.so.1.0(+0xf30af) [0x7f05990860af]
  PyObject_Call
  PyEval_CallObjectWithKeywords
  PyEval_EvalFrameEx
  PyEval_EvalCodeEx
  PyEval_EvalCode
1/usr/autodesk/maya2020/bin/maya: line 194: 58243 Segmentation fault      (core dumped) /usr/autodesk/maya2020/bin/maya.bin
Message 3 of 7

Anonymous
Not applicable

Same problem here

0 Likes
Message 4 of 7

Anonymous
Not applicable
Accepted solution

The only solution I could find here was to use the 20.04 LTS release . After that I was able to install Maya with the instructions they've given there.

Message 5 of 7

Anonymous
Not applicable

Exactly my case. I had to reinstall Ubuntu back to 20.04 and now it finally works as expected

0 Likes
Message 6 of 7

Anonymous
Not applicable

To fix the libffi.so.8 error on 20.10 (Ubuntu/PopOS) you need to have the older version of this library: libffi.so.7.1.0 and force it to Maya by using:

export LD_PRELOAD="/pathToTheLibrary/libffi.so.7.1.0"

in terminal before running maya by:

/usr/autodesk/maya2020/bin/maya

 

To get this library on PopOS I just installed the .deb from https://www.ubuntuupdates.org/pm/libffi-dev

I installed the version for focal (downagrading) and then installed the groovy (upgrading back again)

That gave me the 7.1.0 version in /usr/lib/x86_64-linux-gnu/, without messing up my system too much.

 

On bare Ubuntu its a bit more complicated because it doesn't let you downgrade the package so easily, but try searching your system for libffi.so.7.1.0, you might have it as part of some app somewhere, in which case try to force the path to it with LD_PRELOAD.

Hope that helps

Cheers

Message 7 of 7

Anonymous
Not applicable

Thanks, man! That worked perfectly!

0 Likes