-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected character encountered while parsing value: [. Path '[0].required', line 5, position 17 #16
Comments
Thanks for letting me know about this one. After investigating a bit, I see that they made a backward-breaking API change. I'm currently working on a fix for this. I intend to keep compatibility with older versions of Sonarr if possible. Thank you for the detailed bug report. The links and stack trace are greatly appreciated!! |
hi, just quickly adding on to this - I just got the following as well:
However, I do not know how to tell you which json this is from. Just came across this amazing tool and hoping to use it very soon :-) Have a great day! |
Thanks for the update @sardinemaster. I'm close to finishing up the fix for this. I haven't had much free time later, which is why this is taking a while. It's also been a challenge to try to make this backward compatible client-side. Should have a fix in by this weekend, but I'll keep you all posted. Thanks again for the continued feedback. |
There is absolutely no problem! I'm just glad this project exists and I'm happy to help in any way I can. Take your time and have a great weekend! |
The Sonarr developers made a backward-breaking API change resulting in Trash Updater being unable to obtain, create, or update release profiles. This fix keeps backward compatibility with the previous and current schema at the cost of additional code complexity. The specific breakage was in the Ignored and Required properties of the Release Profile JSON schema. They were converted from string type to array. Offending change: https://github.com/Sonarr/Sonarr/blob/deed85d2f9147e6180014507ef4f5af3695b0c61/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs Fixes #16
Hello, However, even with this error it is creating one release profile. In this case, the first sonarr release profile is being created, however nothing else (sonarr or radarr). I will provide you with the most recent error log (the previous one is in my first post) and 2 print screens showing you the release profile it created as well as the files I have in my trash-updater folder. If you need anything else to help you, don't hesitate in asking. Here is the current error log provided to me by unraid:
|
Hey, sorry for the misunderstanding but this fix is not released yet. The one-liner you're running pulls the latest release. I have not yet released the fix. If you want an interim build, you can download the artifact directly from the build pipeline here (scroll down to the "Artifacts" section, download the ZIP, which contains every platform in it. Pick the one you care for). This isn't designed to be easy, as the artifacts serve as only a mechanism to publish a release later. They're not intended for mainstream distribution. But this should unblock you and I'd appreciate the testing anyhow! |
Sorry to jump the gun! However, it's working perfectly! Obviously, ignore the warnings since that's on me. I'm also still trying to get everything customized as I want it on the YAML (need to change some scores manually etc). I also need to look through the anime section a bit more carefully to see what I want to keep. Anyway, it's working exactly as it should. Thank you VERY much for this :-)
|
@rcdailey I have tested the artifact Linux x64 and it is working as intended. If you have anything specific you want me to test; let me know. |
Is there a fix for this yet? |
Hey there!
I think this error started happening in the last week after a Sonarr update.
Confirmation received from a Discord user that Sonarr changes their release profiles from strings to lists:
https://github.com/Sonarr/Sonarr/blob/deed85d2f9147e6180014507ef4f5af3695b0c61/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs
JSON for row 5
Not clue how to fix this from my side.
The text was updated successfully, but these errors were encountered: