DarkMultiPlayer Client

DarkMultiPlayer Client

38.8k Downloads

[Server] Main thread exception on dev in Debian 7

JohannesMP opened this issue ยท 4 comments

commented

When running ecab82e on a dedicated Debian 7 server with mono version 2.10.8.1 (Debian 2.10.8.1-8) I get the following error:

$ ./DMPServer.exe
Missing method Contains in assembly /home/jo/DMP/DMPServer/DMPServer.exe, type System.Linq.Enumerable
[17:10:04][FATAL] : Error in main server thread, Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
  at DarkMultiPlayerServer.Server.Main () [0x00000] in <filename unknown>:0 

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
  at DarkMultiPlayerServer.Server.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
  at DarkMultiPlayerServer.Server.Main () [0x00000] in <filename unknown>:0 

This does not occur when running the non-development build, v0.1.4.2

commented

@godarklight you mentioned on the IRC a few days ago that it might be possible to fix this temporarily by manually installing a newer version of mono than the one that is used by default with Debian 7 (wheezy).

If you could write up some simple step-by-step instructions for doing this I'd like to give that a try. I don't have enough experience with apt-get to feel comfortable in trying to figure it out myself.

commented

apt-get install libmono-System* or apt-get install mono-complete

commented

hmm, that seems to have done it :)

commented

Just to confirm, installing mono-complete fixes this issue for Debian 7