Unable to retrieve queue and history items from Sabnzbd

Sonarr version (exact version): 2.0.0.3953
Mono version (if Sonarr is not running on Windows): 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016)
OS:
((Debug logs)) (posted to hastebin or similar): http://hastebin.com/idosuqelil.xml
Description of issue:

I’m getting a message with an attached exception very frequently. Please let me know if you need additional information. If this is not a Sonarr issue, please ignore this so I can seek help from the Sabnzbd forums. Thanks in advance for your help.

Message:
Unable to retrieve queue and history items from Sabnzbd: Error converting value “Deleted” to type ‘NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdDownloadStatus’. Path ‘slots[0].status’, line 23, position 26.

Exception:
Newtonsoft.Json.JsonSerializationException: Error converting value “Deleted” to type ‘NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdDownloadStatus’. Path ‘slots[0].status’, line 23, position 26. —> System.ArgumentException: Requested value ‘Deleted’ was not found.
at System.Enum+EnumResult.SetFailure (ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) <0x7fd12eb79010 + 0x0007a> in :0
at System.Enum.TryParseEnum (System.Type enumType, System.String value, Boolean ignoreCase, System.EnumResult& parseResult) <0x7fd12eb76820 + 0x004fa> in :0
at System.Enum.Parse (System.Type enumType, System.String value, Boolean ignoreCase) <0x7fd12eb76780 + 0x00072> in :0
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) <0x4146d2f0 + 0x0026b> in :0
— End of inner exception stack trace —
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) <0x4146d2f0 + 0x003eb> in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) <0x412c5ac0 + 0x001b1> in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) <0x412baa40 + 0x00137> in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) <0x412b7e80 + 0x0089f> in :0

Updating to SAB 1.0.1 should fix this, they added a new internal status and then exposed it on the API, but 1.0.1 keeps it internal only. Sonarr’s develop build will also fix this.

Thanks for the reply. I just updated my SABnzbd to 1.0.1 [c257b1b] from 1.0.1 RC1 per your suggestion, however the issue persists. I am not particularly worried about getting this 100% fixed on my end, however I figured for the sake of keeping you updated here are the current logs after updating SABnzbd. Personally, I think I will avoid the deleloper branch of Sonarr, unless you think it is safe/worth it.

Here is some updated info:

Same Versions as above for Sonarr/Mono

Debug logs: http://hastebin.com/ekizinakuk.xml

Main Message:
Unable to retrieve queue and history items from Sabnzbd: Error converting value “Deleted” to type ‘NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdDownloadStatus’. Path ‘slots[0].status’, line 23, position 26.

Exception:
Newtonsoft.Json.JsonSerializationException: Error converting value “Deleted” to type ‘NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdDownloadStatus’. Path ‘slots[0].status’, line 23, position 26. —> System.ArgumentException: Requested value ‘Deleted’ was not found.
at System.Enum+EnumResult.SetFailure (ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) <0x7f273cb79010 + 0x0007a> in :0
at System.Enum.TryParseEnum (System.Type enumType, System.String value, Boolean ignoreCase, System.EnumResult& parseResult) <0x7f273cb76820 + 0x004fa> in :0
at System.Enum.Parse (System.Type enumType, System.String value, Boolean ignoreCase) <0x7f273cb76780 + 0x00072> in :0
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) <0x405469c0 + 0x0026b> in :0
— End of inner exception stack trace —
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) <0x405469c0 + 0x003eb> in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) <0x404cf2a0 + 0x001b1> in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) <0x404adce0 + 0x00137> in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) <0x404aaf30 + 0x0089f> in :0

:unamused: Well it was supposed to at least.

Its pretty safe (5k+ on it right now), but no need at the moment if you remove the first history item (in this case at least) it should start working again.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.