Ubuntu 20.04 LTS not working

Antworten
bvrrxk
Beiträge: 3
Registriert: Mo 29. Aug 2022, 22:20
Hat sich bedankt: 1 Mal
Danksagung erhalten: 1 Mal

Ubuntu 20.04 LTS not working

Beitrag von bvrrxk »

Hi,
first of all sorry for typing in english but i dont want to translate all this to german because im worried translator will mess it up

so im trying to install newest mfbot version on my vps but however i try im getting kinda same problem

im using ubuntu-desktop gui through windows xrdg

im following all steps of this tutorial and thats what i get when im trying to open bot no matter i've instaled mono runtime or not
SPOILER
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 <a6f810169ec746eeb2789b925e2858c0>:0
at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.TermInfoDriver..ctor (System.String term) [0x00055] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.ConsoleDriver..cctor () [0x0004d] in <a6f810169ec746eeb2789b925e2858c0>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Console..cctor () [0x0008e] in <a6f810169ec746eeb2789b925e2858c0>:0
--- End of inner exception stack trace ---
at BasisFightSimulation.FightSimulationAssemblyLoader.Load () [0x00000] in <4acc10789ae5444b87095512dd1c0243>:0
at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <d6caca2f43f144db884496f8d1fb0dfe>: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 <a6f810169ec746eeb2789b925e2858c0>:0
at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.TermInfoDriver..ctor (System.String term) [0x00055] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.ConsoleDriver..cctor () [0x0004d] in <a6f810169ec746eeb2789b925e2858c0>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Console..cctor () [0x0008e] in <a6f810169ec746eeb2789b925e2858c0>:0
--- End of inner exception stack trace ---
at BasisFightSimulation.FightSimulationAssemblyLoader.Load () [0x00000] in <4acc10789ae5444b87095512dd1c0243>:0
at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <d6caca2f43f144db884496f8d1fb0dfe>:0
can someone help me out to solve this?

i can also switch to these systems: Debian 10, AlmaLinux 8.5, Debian 11, Ubuntu 20.04 LTS (root) however i tried them all and it works on none
Baaam
Core Developer
Beiträge: 967
Registriert: Mo 23. Dez 2013, 14:13
Hat sich bedankt: 172 Mal
Danksagung erhalten: 206 Mal

Re: Ubuntu 20.04 LTS not working

Beitrag von Baaam »

Good morning,

english is totally fine here :) Which version did you download?
bvrrxk
Beiträge: 3
Registriert: Mo 29. Aug 2022, 22:20
Hat sich bedankt: 1 Mal
Danksagung erhalten: 1 Mal

Re: Ubuntu 20.04 LTS not working

Beitrag von bvrrxk »

Baaam hat geschrieben: Mi 31. Aug 2022, 07:06 Good morning,

english is totally fine here :) Which version did you download?
im using the latest
wget https://download.mfbot.de/latest/MFBot_Konsole_x86_64
Baaam
Core Developer
Beiträge: 967
Registriert: Mo 23. Dez 2013, 14:13
Hat sich bedankt: 172 Mal
Danksagung erhalten: 206 Mal

Re: Ubuntu 20.04 LTS not working

Beitrag von Baaam »

Have a look at this Stackoverflow post please: https://stackoverflow.com/a/49260701

You need to set an environment variable after you installed Mono. Then it should be working
Folgende Benutzer bedankten sich beim Autor Baaam für den Beitrag:
bvrrxk (Sa 3. Sep 2022, 12:15)
bvrrxk
Beiträge: 3
Registriert: Mo 29. Aug 2022, 22:20
Hat sich bedankt: 1 Mal
Danksagung erhalten: 1 Mal

Re: Ubuntu 20.04 LTS not working

Beitrag von bvrrxk »

Baaam hat geschrieben: Fr 2. Sep 2022, 18:29 Have a look at this Stackoverflow post please: https://stackoverflow.com/a/49260701

You need to set an environment variable after you installed Mono. Then it should be working
worked like a charm, thanks a lot
Folgende Benutzer bedankten sich beim Autor bvrrxk für den Beitrag:
Baaam (So 4. Sep 2022, 11:09)
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste