hexagon logo

Anyone using the new Python modul Adams on Linux ?

... coz I'm getting this when trying to load it in a Linux shell with v2017.2:
 
mdi2017.2 -c python
 Python 2.7.11 (default, Jan 21 2016, 08:37:23)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Adams
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/scratch/builds/adams-ADAMS2017.1/obj/prod/release/python/linux64/lib/python2.7/site-packages//mdi/adamspy/Adams.py", line 8, in <module>
 File "/scratch/builds/adams-ADAMS2017.1/obj/prod/release/python/linux64/lib/python2.7/site-packages//mdi/adamspy/Libraries.py", line 22, in <module>
 File "/appl/mdi/2017.2_RH6/python/linux64/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
   return self._dlltype(name)
 File "/appl/mdi/2017.2_RH6/python/linux64/lib/python2.7/ctypes/__init__.py", line 365, in __init__
   self._handle = _dlopen(self._name, mode)
OSError: /appl/mdi/2017.2_RH6/linux64/libamd.so: undefined symbol: file_vi_edit
>>> dir(Adams)
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
NameError: name 'Adams' is not defined
 
 
Funnily opening A/Car, using the command window, switching to py and typing "import Adams" worked fine.
 
 
Parents
  • Meanwhile MSC confirmed it's not working and they've created the product defect ADMS-43687 Error on loading Adams module in Python shell on RH6 .
     
    But instead of admitting it was a bug the official MSC answer was: "Is not supported in Adams as of now. This could be supported an future version of Adams."
     
    Well it was working in former versions, so why could anyone have the crazy thought it automatically would be required in future versions ? (<- please note the slight trace of irony in this statement)
Reply
  • Meanwhile MSC confirmed it's not working and they've created the product defect ADMS-43687 Error on loading Adams module in Python shell on RH6 .
     
    But instead of admitting it was a bug the official MSC answer was: "Is not supported in Adams as of now. This could be supported an future version of Adams."
     
    Well it was working in former versions, so why could anyone have the crazy thought it automatically would be required in future versions ? (<- please note the slight trace of irony in this statement)
Children
No Data