adrianmteo / Luna

Automatic dark mode for Windows 10
MIT License
279 stars 12 forks source link

.NET Runtime Error on scheduled task - Luna doesn't change back to light theme #37

Closed Kilbourne closed 4 years ago

Kilbourne commented 4 years ago
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
  <Provider Name=".NET Runtime" /> 
  <EventID Qualifiers="0">1026</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2020-06-09T08:18:03.8643828Z" /> 
  <EventRecordID>4270</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="0" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>DESKTOP-2L960R5</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>Applicazione: Luna.exe Versione framework: v4.0.30319 Descrizione: il processo è stato terminato a causa di un'eccezione non gestita. Informazioni sull'eccezione: System.FormatException in System.Text.StringBuilder.AppendFormatHelper(System.IFormatProvider, System.String, System.ParamsArray) in System.String.FormatHelper(System.IFormatProvider, System.String, System.ParamsArray) in System.IO.TextWriter.WriteLine(System.String, System.Object) in System.IO.TextWriter+SyncTextWriter.WriteLine(System.String, System.Object) in System.Console.WriteLine(System.String, System.Object) in Luna.Utils.Logger.FileLogger.WriteMessage(System.String) in Luna.Utils.Logger.AbstractLogger.Log(Luna.Utils.Logger.LogLevel, System.String, System.Object[]) in Luna.Utils.Logger.AbstractLogger.Info(System.String, System.Object[]) in Luna.Utils.Logger.MultiLogger.Info(System.String, System.Object[]) in Luna.App.Main(System.String[])</Data> 
  </EventData>
  </Event>
adrianmteo commented 4 years ago

@Kilbourne Did you install it elsewhere than the default location?

Kilbourne commented 4 years ago

Hi, it is in default location (although my users folder is relocated on D:) Anyway i didn't experienced the issue after that time, and the app is working well..closing