CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

linux workbench start error.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By toolpost

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2018, 07:02
Default linux workbench start error.
  #1
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
./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
ztdep is offline   Reply With Quote

Old   December 10, 2018, 11:12
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
maybe you can find some help here: ANSYS Workbench on "Uncertified" Linux Distros
Gert-Jan is offline   Reply With Quote

Old   December 10, 2019, 09:23
Default
  #3
New Member
 
Stanislav Pechmann
Join Date: Dec 2019
Posts: 1
Rep Power: 0
spechmann is on a distinguished road
Quote:
Originally Posted by ztdep View Post
./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".
spechmann is offline   Reply With Quote

Old   November 3, 2020, 02:59
Default
  #4
Member
 
Join Date: Apr 2012
Location: Trivandrum
Posts: 37
Rep Power: 14
toolpost is on a distinguished road
Quote:
Originally Posted by spechmann View Post
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
shashanktiwari619 likes this.
toolpost is offline   Reply With Quote

Old   February 4, 2021, 11:15
Default error
  #5
New Member
 
Join Date: Jun 2018
Posts: 7
Rep Power: 7
Suleyman41 is on a distinguished road
same error too.
Suleyman41 is offline   Reply With Quote

Old   February 4, 2021, 23:26
Default
  #6
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
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.
ztdep is offline   Reply With Quote

Old   February 9, 2021, 17:00
Default
  #7
Member
 
Join Date: Feb 2019
Posts: 37
Rep Power: 7
jmenendez is on a distinguished road
Quote:
Originally Posted by ztdep View Post
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.
jmenendez is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] an error in Calculator's equation immortality ParaView 12 June 29, 2021 00:10
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 16:12.