Exception on mono install.exe
Opened this issue ยท 5 comments
mono version:
Mono JIT compiler version 5.4.1
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) [0x00028] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.TermInfoDriver..ctor (System.String term) [0x00055] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.ConsoleDriver..cctor () [0x0004d] in <a84b655e5e6a49ee96b338ec792f5580>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.Console..cctor () [0x0008e] in <a84b655e5e6a49ee96b338ec792f5580>:0
--- End of inner exception stack trace ---
at StardewModdingApi.Installer.InteractiveInstaller.Run (System.String[] args) [0x00031] in <1e5c899156e542fca1c59903c2ba11f5>:0
at StardewModdingApi.Installer.Program.Main (System.String[] args) [0x00005] in <1e5c899156e542fca1c59903c2ba11f5>:0
[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) [0x00028] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.TermInfoDriver..ctor (System.String term) [0x00055] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.ConsoleDriver..cctor () [0x0004d] in <a84b655e5e6a49ee96b338ec792f5580>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <a84b655e5e6a49ee96b338ec792f5580>:0
at System.Console..cctor () [0x0008e] in <a84b655e5e6a49ee96b338ec792f5580>:0
--- End of inner exception stack trace ---
at StardewModdingApi.Installer.InteractiveInstaller.Run (System.String[] args) [0x00031] in <1e5c899156e542fca1c59903c2ba11f5>:0
at StardewModdingApi.Installer.Program.Main (System.String[] args) [0x00005] in <1e5c899156e542fca1c59903c2ba11f5>:0
Os: Arch Linux
Terminal: Tilix
Yep, you are right, was a terminal issue, with uxterm work as expected.
The problem is: the game does not start.. how i can collect log about this issue?
You can upload your log to log.smapi.io to share it; see the instructions on that page to find it.
No logs found because the problem was again the terminal emulator, this time the gnome-terminal (v 3.26.2).
If i start the StardewModbin from uxterm works as expected.
Thanks for you support
Hi @karlfiabeschi. That looks like an issue with your terminal or Mono's compatibility with it. Which OS and terminal did you use?