darklinkpower / PlayniteExtensionsCollection

Collection of extensions made for Playnite.
MIT License
331 stars 29 forks source link

[NVidia GeForceNow Enabler] Game not found #498

Closed Graveen closed 9 months ago

Graveen commented 9 months ago

Extension name

Geforce Now Enabler

Bug Description

When i update catalog, there is not Overwatch2 game. There is also an error - not sure if linked - when i do Nvidia Geforce Now Enabler -> Update game status "Error converting the value XBOX to type. NVidiaGeForceNowEnabler.Models.AppStore Path data.apps.items[10].variants[2].appstore, line 1, position 4059."

To Reproduce

Nvidia Geforce Now Enabler -> Update game status

Logs

05-02 14:23:45.547|DEBUG|NVIDIAGeForceNowEnabler#GeforceNowService:Get GeForce Now database start 05-02 14:23:45.547|DEBUG|NVIDIAGeForceNowEnabler#Downloader:Downloading string from https://public.games.geforce.com/graphql?query={apps(vpcId:"NP-SEA-01",language:"en_US",first:1300,after:"MA=="){numberReturned,pageInfo{hasNextPage,endCursor},items{id,cmsId,title,type,variants{id,title,appStore,gfn{status,releaseDate}osType,storeId}}}} with method GET 05-02 14:23:45.697|ERROR|NVIDIAGeForceNowEnabler#NVIDIAGeForceNowEnabler:Error downloading database. Newtonsoft.Json.JsonSerializationException: Error converting value "XBOX" to type 'NVIDIAGeForceNowEnabler.Models.AppStore'. Path 'data.apps.items[10].variants[2].appStore', line 1, position 4059. ---> System.ArgumentException: La valeur demandée 'XBOX' est introuvable. à System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument) à System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult) à System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- Fin de la trace de la pile d'exception interne --- à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) à Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) à Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) à Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) à Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) à Playnite.Common.Serialization.FromJson[T](String json) dans C:\projects\playnite\source\Playnite\Common\Serialization.cs:ligne 336 à Playnite.Common.DataSerializer.FromJson[T](String json) dans C:\projects\playnite\source\Playnite\Common\Serialization.cs:ligne 80 à Playnite.SDK.Data.Serialization.FromJson[T](String json) dans C:\projects\playnite\source\PlayniteSDK\Data\DataSerialization.cs:ligne 406 à NVIDIAGeForceNowEnabler.Services.GeforceNowService.GetGeforceNowDatabase() dans C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Library\NVIDIAGeForceNowLibrary\Services\GeforceNowService.cs:ligne 49 à NVIDIAGeForceNowEnabler.NVIDIAGeForceNowEnabler.<>c__DisplayClass32_0.b__0(GlobalProgressActionArgs a) dans C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Library\NVIDIAGeForceNowLibrary\NVIDIAGeForceNowEnabler.cs:ligne 214

Screenshots

No response

Graveen commented 9 months ago

Fixed in 2.48. Thank you