Command line without X

Bug reports and questions about running Virtual Radar Server on Linux
ertyu
Posts: 12
Joined: Fri Nov 14, 2014 8:30 pm

Re: Command line without X

Post by ertyu » Fri Jan 02, 2015 3:05 am

I'm using mono 3.10.0 on FreeBSD. I'll give mono v2 a try.

Here's a sample of the errors if you wanted to look.

Code: Select all

Unhandled Exception Caught
Exception {System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus} caught during request for {/VirtualRadar/images/File-C013FB/HiDpi/Type.png} - see inner exception for details
No stack trace
-- INNER EXCEPTION --
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Unhandled Exception Caught
Exception {System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus} caught during request for {/VirtualRadar/images/File-C013FB/HiDpi/OpFlag.png} - see inner exception for details
No stack trace
-- INNER EXCEPTION --
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Unhandled Exception Caught
Exception {System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus} caught during request for {/VirtualRadar/images/File-C05C86/HiDpi/Type.png} - see inner exception for details
No stack trace
-- INNER EXCEPTION --
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Unhandled Exception Caught
Exception {System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus} caught during request for {/VirtualRadar/images/File-C05C86/HiDpi/OpFlag.png} - see inner exception for details
No stack trace
-- INNER EXCEPTION --
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Unhandled Exception Caught
Exception {System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus} caught during request for {/VirtualRadar/images/File-C01393/HiDpi/Type.png} - see inner exception for details
No stack trace
-- INNER EXCEPTION --
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Unhandled Exception Caught
Exception {System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus} caught during request for {/VirtualRadar/images/File-C01393/HiDpi/OpFlag.png} - see inner exception for details
No stack trace
-- INNER EXCEPTION --
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Shutting down Database Writer plugin
Shutting down connection logger
Shutting down UPnP
Shutting down web server
Shutting down rebroadcast servers
Saving receiver range plots
Unhandled Exception Caught
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Closing connection to data feed
Unhandled Exception Caught
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Unhandled Exception Caught
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Unhandled Exception Caught
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Closing BaseStation database
Unhandled Exception Caught
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

Shutting down user manager
Unhandled Exception Caught
An exception was thrown by the type initializer for System.Drawing.GDIPlus
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
  at VirtualRadar.WebSite.ImagePage.CreateBlankImage (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.CreateLogoImage (System.String logo, System.String folder) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.BuildInitialImage (VirtualRadar.WebSite.ImageRequest imageRequest, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args, System.Drawing.Image& stockImage, System.Drawing.Image& tempImage) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.ImagePage.DoHandleRequest (IWebServer server, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.Page.HandleRequest (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.RequestContent (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebSite.WebSite.Server_RequestReceived (System.Object sender, VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.EventHandler`1<VirtualRadar.Interface.WebServer.RequestReceivedEventArgs>:invoke_void_object_TEventArgs (object,VirtualRadar.Interface.WebServer.RequestReceivedEventArgs)
  at VirtualRadar.WebServer.WebServer.OnRequestReceived (VirtualRadar.Interface.WebServer.RequestReceivedEventArgs args) [0x00000] in <filename unknown>:0 
  at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
-- INNER EXCEPTION --
libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 

ianhind
Posts: 19
Joined: Mon Apr 30, 2012 10:40 pm

Re: Command line without X

Post by ianhind » Sat Jan 03, 2015 10:58 pm

I have got version 2.1 running on Linux - where are the configuration files I need to copy to the headless version? Or do I need to run the Windows version to get the config files?

Headless version seems to runs ok (shows map on client) but without config info it obviously doesn't connect to the receiver.

ertyu
Posts: 12
Joined: Fri Nov 14, 2014 8:30 pm

Re: Command line without X

Post by ertyu » Sat Jan 03, 2015 11:17 pm

The configuration files are stored in ~/.local/share/VirtualRadar
Primarily Configuration.xml
I mostly copied over my Windows configuration and edited the settings that needed to change.

ianhind
Posts: 19
Joined: Mon Apr 30, 2012 10:40 pm

Re: Command line without X

Post by ianhind » Sun Jan 04, 2015 11:24 am

Thank you for the quick response.

I just needed to copy "Configuration.xml" to the same directory on the headless setup and it worked.

Ian

jonfear
Posts: 365
Joined: Sat Feb 09, 2013 12:15 pm
Location: Wick St Lawrence
Contact:

Re: Command line without X

Post by jonfear » Wed Jan 07, 2015 5:36 pm

OK, So I have installed this package on a Linux machine which was running Apache. This forced VRS to use port 8080. I have since disabled Apache but VRS still defaults to port 8080. I cannot find where the Install configuration file is located to. This is where I would change the http port number on a Windows machine.

Does anyone know where I should be looking? I am really scratching my head on this. It is delaying experiments with merging feeds under Linux.

Thanks

Jon
http://www.360radar.co.uk, the new name for MLAT Radar in the UK and Western Europe.

Former PP feeder Bm. No longer feeding. I do not have time to sort out imaginary problems with NTP
when it has been working fine for 2+ Years.

ertyu
Posts: 12
Joined: Fri Nov 14, 2014 8:30 pm

Re: Command line without X

Post by ertyu » Wed Jan 07, 2015 5:42 pm

Covered on the Linux page at the very bottom http://www.virtualradarserver.co.uk/Mono.aspx

jonfear
Posts: 365
Joined: Sat Feb 09, 2013 12:15 pm
Location: Wick St Lawrence
Contact:

Re: Command line without X

Post by jonfear » Thu Jan 08, 2015 10:15 pm

Thank you for the link.

Overcame the permissions issues initially by running as root. That needs to be sorted.

All we need is a web configuration front end...!

Thank you everyone

Jon
http://www.360radar.co.uk, the new name for MLAT Radar in the UK and Western Europe.

Former PP feeder Bm. No longer feeding. I do not have time to sort out imaginary problems with NTP
when it has been working fine for 2+ Years.

agw
Posts: 2241
Joined: Fri Feb 17, 2012 3:20 am

Re: Command line without X

Post by agw » Sat Jan 10, 2015 3:17 pm

The web configuration is coming, you can download the source for the start of it from Codeplex. However, I'd only just started on the configuration pages when I left it last week, you can't use it to configure anything. The configuration pages are going to be a right pain.

emg
Posts: 4
Joined: Sun Mar 08, 2015 1:48 am
Contact:

Re: Command line without X

Post by emg » Sun Mar 08, 2015 1:54 am

I've just installed this version of VRS on my Mint 17.1 PC, and I've noticed something odd. When I run with the GUI, it uses around 6% of one core. When I add the -nogui switch on the command line, it uses 100% of the core.

Any ideas? Looks like it's Mono 3.2.8, if that's any help.

agw
Posts: 2241
Joined: Fri Feb 17, 2012 3:20 am

Re: Command line without X

Post by agw » Sun Mar 08, 2015 12:51 pm

emg wrote: When I add the -nogui switch on the command line, it uses 100% of the core.
The only thing that the nogui version is doing that the GUI version isn't is that it's calling Mono to fetch the next keypress from the console in a loop. Perhaps Mono is returning straight away on your machine instead of waiting for a keypress. If that were the case then it would run the CPU at 100%.

Are you running "mono virtualradar.exe" via a shell script that is redirecting something to stdin?

I've uploaded a new preview to http://www.virtualradarserver.co.uk/Preview.aspx. This one relinquishes the timeslice in the loop so that if Mono is returning straight away instead of waiting for a keypress then VRS shouldn't end up consuming 100% of the CPU. That should hopefully rule that one out. If you could have a go with that version and let me know if it's still doing the 100% CPU thing then I'd appreciate it.

Post Reply