CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS (https://www.cfd-online.com/Forums/ansys/)
-   -   linux workbench start error. (https://www.cfd-online.com/Forums/ansys/212860-linux-workbench-start-error.html)

ztdep December 10, 2018 07:02

linux workbench start error.
 
./runwb2
exception inside UnhandledException handler: The type initializer for 'System.Console' threw an exception.

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.TermInfoDriver..ctor (System.String term) [0x00058] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.ConsoleDriver..cctor () [0x00062] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.Console..cctor () [0x000a8] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
--- End of inner exception stack trace ---
at Ans.Program.Executable.DisplayError (System.String errorMessage) [0x00000] in <8334d254a0bf40a181200885e7f67034>:0
at Ans.Program.Executable.HandleUnhandledException (System.Object sender, System.UnhandledExceptionEventArgs e) [0x00044] in <8334d254a0bf40a181200885e7f67034>:0

Gert-Jan December 10, 2018 11:12

maybe you can find some help here: https://www.cfd-online.com/Forums/cf...istros-14.html

spechmann December 10, 2019 09:23

Quote:

Originally Posted by ztdep (Post 718625)
./runwb2
exception inside UnhandledException handler: The type initializer for 'System.Console' threw an exception.

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.TermInfoDriver..ctor (System.String term) [0x00058] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.ConsoleDriver..cctor () [0x00062] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
at System.Console..cctor () [0x000a8] in <a79e78aef2044b2abf7520c5f76ff5bc>:0
--- End of inner exception stack trace ---
at Ans.Program.Executable.DisplayError (System.String errorMessage) [0x00000] in <8334d254a0bf40a181200885e7f67034>:0
at Ans.Program.Executable.HandleUnhandledException (System.Object sender, System.UnhandledExceptionEventArgs e) [0x00044] in <8334d254a0bf40a181200885e7f67034>:0

Hi, I had the same problem. Maybe I have a solution for you. What value returns terminal if you write command "echo $TERM".

toolpost November 3, 2020 02:59

Quote:

Originally Posted by spechmann (Post 752063)
Hi, I had the same problem. Maybe I have a solution for you. What value returns terminal if you write command "echo $TERM".


Hey.. I am facing the same error. Do you know a solution?


Code:

[WS2-RGD-JB Linux64] $ echo $TERM
xterm-256color


Edit: Found it.
Code:

export TERM=xterm

Suleyman41 February 4, 2021 11:15

error
 
same error too.

ztdep February 4, 2021 23:26

ok, it strongly depends on the Linux distributions.
It works well on my OpenSUSE Linux leap 15.1. I also tried other versions, such as centos and ubuntu, non of it can support the workbench. so good luck to you.

jmenendez February 9, 2021 17:00

Quote:

Originally Posted by ztdep (Post 795345)
ok, it strongly depends on the Linux distributions.
It works well on my OpenSUSE Linux leap 15.1. I also tried other versions, such as centos and ubuntu, non of it can support the workbench. so good luck to you.


ANSYS is not supported by non-enterprise linux distributions. Many errors appear when trying to install and run on Ubuntu, etc.


All times are GMT -4. The time now is 00:02.