Been running VRS v 2.4 on Linux Ubuntu 16:04 for some time with no problems.
Due to getting Google map problems I've tried to upgrade to 2.4.2 and get errors on mono. Ran the complete installation again of mono as per your web page instructions and it appeared to install with no problems but on trying to run I get the following error;
sudo mono VirtualRadar.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
[ERROR] FATAL UNHANDLED EXCEPTION: InterfaceFactory.ClassFactoryException: SQLiteConnectionStringBuilderWrapper does not implement ISQLiteConnectionStringBuilder
at InterfaceFactory.ClassFactory.Register (System.Type interfaceType, System.Type implementationType) [0x0007c] in <e7f9741fc6724e21bf73e7be6f40a70f>:0
at InterfaceFactory.ClassFactory.Register[TI,TM] () [0x00000] in <e7f9741fc6724e21bf73e7be6f40a70f>:0
at VirtualRadar.SQLiteWrapper.Implementations.Register (InterfaceFactory.IClassFactory factory) [0x00006] in <73cd24fc8fbc4548ac2b4c93ac3e673c>:0
at VirtualRadar.Program.Main (System.String[] args) [0x000c3] in <2307358f05d74dc0b22c62fa357d9680>:0
If I run the same command with the old version VRS 2.4 runs fine with the following error output from mono;
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x00435] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at VirtualRadar.Program.Main (System.String[] args) [0x0009f] in <2307358f05d74dc0b22c62fa357d9680>:0
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x00435] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at VirtualRadar.Program.Main (System.String[] args) [0x0009f] in <2307358f05d74dc0b22c62fa357d9680>:0
Hi:
I am also getting a similar error when trying to run VRS on a Mac:
oskeremmie$ mono VirtualRadar.exe -nogui
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'VirtualRadar.SQLiteWrapper.SQLiteConnectionStringBuilderWrapper:_Wrapped' (0) due to: Could not load file or assembly 'Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
at (wrapper managed-to-native) System.RuntimeTypeHandle.type_is_assignable_from(System.Type,System.Type)
at System.RuntimeTypeHandle.CanCastTo (System.RuntimeType type, System.RuntimeType target) [0x00000] in <f759957039b44a0190b1110fdfe3030f>:0
at System.RuntimeType.IsAssignableFrom (System.Type c) [0x00020] in <f759957039b44a0190b1110fdfe3030f>:0
at InterfaceFactory.ClassFactory.Register (System.Type interfaceType, System.Type implementationType) [0x00058] in <d15c9d36064a491e861e5ba01a792288>:0
at InterfaceFactory.ClassFactory.Register[TI,TM] () [0x00000] in <d15c9d36064a491e861e5ba01a792288>:0
at VirtualRadar.SQLiteWrapper.Implementations.Register (InterfaceFactory.IClassFactory factory) [0x00006] in <4845d2c153084c5a8466c770a3b5d45a>:0
at VirtualRadar.Program.Main (System.String[] args) [0x000b9] in <7a9dba054e684214ab59d3637d90f1b8>:0