When trying to run Workbench on a Linux platform I get the following error (in part). Why is this error occurring and what can I do to correct the problem?


at (wrapper managed-to-native) Ans.ComponentSystem.Interop.MiniCom.AnsCoCreateInstance (System.Guid,object,uint,System.Guid,intptr&) <0x000a1>
at (wrapper managed-to-native) Ans.ComponentSystem. Interop.MiniCom.AnsCoCreateInstance
...
...

Native stacktrace:

/ansys_inc/v121/Tools/mono/Linux64/bin/mono [0x48d4c7]
/ansys_inc/v121/Tools/mono/Linux64/bin/mono [0x4c3272]
/lib64/libpthread.so.0 [0x2ab0c4b14c00]
/lib64/libc.so.6 [0x2ab0c4de3094]
/lib64/libc.so.6(malloc+0x86) [0x2ab0c4de4f56]
/lib64/libc.so.6(__qsort_r+0x8a) [0x2ab0c4da7aea]
...
...


This error is occuring because you are trying to start Workbench on a Linux platform with "non-English" keyboard settings, where commas are used as separators for floating numbers rather than decimal points. The Workbench start script runwb2 can only process numbers with decimal point separators.

To overcome this you should set the environment variable LANG to EN (for English) before launching Workbench, as follows:

in the Bash shell:
export LANG=EN

in the C-shell
setenv LANG EN

To avoid uncomfortable keyboard settings it is also recommended that you choose one of the more specific values of EN for LANG, such as EN_DE for German keyboards, EN_FR for French keyboards.





Show Form
No comments yet. Be the first to add a comment!