Page 1 of 1

OpenRA does not run on Slackware 13.37 (x86)

Posted: Sat May 07, 2011 6:22 pm
by p5ych0
I have all the required dependencies installed, but openra does not execute...

System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Screen ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.Net.Sockets.SocketException: The requested address is not valid in this context
at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_VirtualScreen () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Screen..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenRA.GameRules.GraphicSettings..ctor () [0x00000] in <filename unknown>:0
at OpenRA.GameRules.Settings..ctor (System.String file, OpenRA.Arguments args) [0x00000] in <filename unknown>:0
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00000] in <filename unknown>:0
at OpenRA.Program.Run (System.String[] args) [0x00000] in <filename unknown>:0
at OpenRA.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

^exception.log
... What now?

Posted: Sat May 07, 2011 10:02 pm
by Sleipnir
This looks like a mono error. What version of mono are you running? Can you paste the output of `mono --version'?

Posted: Sat May 07, 2011 10:24 pm
by p5ych0
Sleipnir wrote: This looks like a mono error. What version of mono are you running? Can you paste the output of `mono --version'?
Output of mono --version :

Mono JIT compiler version 2.10.1 (tarball ven 4 mar 2011, 08.52.14, CET)
Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)

OpenRA was running with this version of mono, but it started giving this problem "of nothing". I believe that the openra has a conflict with another package.

My openra version: 20110320

Posted: Wed May 11, 2011 11:48 pm
by ddd
Try the latest version of openra. I execute openra on mono-2.10.1-r2 without any problems in Gentoo Linux.

Posted: Thu May 12, 2011 11:44 pm
by p5ych0
Hi,

then, I reinstalled the mono and openra package. OpenRA is running now. :-)

Thanks!