Jump to content

Worrom

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Worrom

  1. I've been running the server on my Raspberry Pi, so far so good. However, when I try to go to the website for the server in a browser I get the following error, and the server exits and stays down regardless of Auto-Restart. Some other problems i'm having: * Screenshot sharing doesn't seem to work, I can see my own screenshot but no one elses (Fixed through modifying code, read edit at bottom) * Sharing craft doesn't seem to work, I continously get craft not found, I made a craft called "testshare" and typed /sharecraft testshare, and still got the error. (Fixed through modifying code, read edit #2 at bottom) Log System.ArgumentOutOfRangeException: Argument is out of range. at System.Globalization.DateTimeFormatInfo.GetAbbreviatedDayName (DayOfWeek dayofweek) [0x00000] in <filename unknown>:0 at System.DateTimeUtils.ToString (DateTime dt, Nullable`1 utc_offset, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in <filename unknown>:0 at System.DateTimeUtils.ToString (DateTime dt, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in <filename unknown>:0 at System.DateTime.ToString (System.String format, IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Net.HttpListenerResponse.SendHeaders (Boolean closing, System.IO.MemoryStream ms) [0x00000] in <filename unknown>:0 at System.Net.ResponseStream.GetHeaders (Boolean closing) [0x00000] in <filename unknown>:0 at System.Net.ResponseStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at KLFServer.Server.asyncHTTPCallback (IAsyncResult result) [0x00000] in <filename unknown>:0 Stacktrace: at System.Globalization.DateTimeFormatInfo.GetAbbreviatedDayName (DayOfWeek dayofweek) [0x00000] in <filename unknown>:0 at System.DateTimeUtils.ToString (DateTime dt, Nullable`1 utc_offset, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in <filename unknown>:0 at System.DateTimeUtils.ToString (DateTime dt, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in <filename unknown>:0 at System.DateTime.ToString (System.String format, IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Net.HttpListenerResponse.SendHeaders (Boolean closing, System.IO.MemoryStream ms) [0x00000] in <filename unknown>:0 at System.Net.ResponseStream.GetHeaders (Boolean closing) [0x00000] in <filename unknown>:0 at System.Net.ResponseStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at KLFServer.Server.asyncHTTPCallback (IAsyncResult result) [0x00000] in <filename unknown>:0 EDIT I jumped into the code and found out why screenshots weren't working on Rasbian. The screenshot size was often using Math.round(), which for some reason, on linux was returning 0, while windows was returning a correct valid number. So I removed the Math.round(), and modified the SH command to allow the user to select from a preset selection of valid resolutions. Fix : https://github.com/Worrom36/KerbalLiveFeed I might dive into my other issues later, great plugin!! EDIT #2 Added additional error communication should /sharecraft not work. Turns out I had a situation where my Space Program's name didn't match up with the name in my persistant.sfs ... Added to my github
×
×
  • Create New...