Abdelrhman-AK / WinPaletter

Advanced Windows Appearance Editor
Other
1.37k stars 57 forks source link

12,12,12 expection error #232

Open star-blob opened 6 months ago

star-blob commented 6 months ago

:x: Error report

*12,12,12 is not valid value for int32

How to reproduce the error

WinPaletter Log

star-blob commented 6 months ago

also other than that the application works tottaly fine

Abdelrhman-AK commented 6 months ago

What did you do exactly to make this error happen?

You can try using both WinPaletter-Debug.exe and WinPaletter.pdb to make WinPaletter show extended error details.

And take screenshots to errors if you can't copy and paste them.

krisjyr commented 6 months ago

Here's a picture of the error code: image

Code is not copyable via the buttons, nor can one save it on .txt file. It seems to happen to me once i open WinPaletter and go into the themes shop/store.

Abdelrhman-AK commented 6 months ago

I'll fix this error.

Abdelrhman-AK commented 6 months ago
Abdelrhman-AK commented 6 months ago

If possible, please record a screen capture of all the issues you are encountering starting from WinPaletter's launch, including the problem with parsing the color 12, 12, 12 and the problem of pressing copy log and save log, by using Windows Snipping Tool or another tool.

star-blob commented 5 months ago
//General information
//...........................................................
   Report.Date = "2024. április 22., hétfő 21:28:27";
   OS = "Windows 11, 10.0.22631.3447, 64-bit";
   WinPaletter.Version = "1.0.9.2, Build: Release";
   WinPaletter.Language = "English";
   WinPaletter.Debugging = false;

//Error details
//...........................................................
   Exception.message = "12, 12, 12 is not a valid value for Int32.";
   Exception.type = "System.Exception";
   Exception.stack.trace =
   {
      at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
      at System.Drawing.ColorConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
      at System.Drawing.ColorTranslator.FromHtml(String htmlColor)
      at WinPaletter.WinTerminal.Types.ColorConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
      at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
      at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
      at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType)
      at Newtonsoft.Json.Linq.JToken.ToObject[T]()
      at WinPaletter.Theme.Manager.ExtendTerminalComptability(JObject& json)
      at WinPaletter.Theme.Manager..ctor(Source Source, String File, Boolean ignoreExtractionThemePack, Boolean ignoreErrors)
   };
   Exception.target.void_function = "System.ConvertFrom()";
   Exception.assembly = "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
   Exception.assembly.file = "C:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System\\v4.0_4.0.0.0__b77a5c561934e089\\System.dll";
   Exception.HRESULT = -2146233088;
   Inner.exception.message = "Input string was not in a correct format.";
   Exception.type = "System.FormatException";
   Inner.exception.stack.trace =
   {
      at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
      at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
      at System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo)
      at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   };
   Inner.exception.target.void_function = "mscorlib.StringToNumber()";
   Inner.exception.assembly = "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
   Inner.exception.assembly.file = "C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorlib.dll";
   Inner.exception.HRESULT = -2146233033;