Skip to content
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

KNOWN ISSUE: Plugins no longer working after upgrading to V24 #186

Open
MRobi1 opened this issue Oct 18, 2023 · 9 comments
Open

KNOWN ISSUE: Plugins no longer working after upgrading to V24 #186

MRobi1 opened this issue Oct 18, 2023 · 9 comments
Assignees

Comments

@MRobi1
Copy link

MRobi1 commented Oct 18, 2023

v0.23.1-23-g2b871810
Updated to latest this development channel this morning. Seems like both plugins have stopped working.

23-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate] ConnectionError: GraphQL query failed: 422 - b'{"errors":[{"message":"Cannot query field \\"oshash\\" on type \\"Scene\\".","locations":[{"line":9,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"checksum\\" on type \\"Scene\\".","locations":[{"line":10,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"rating\\" on type \\"Scene\\". Did you mean \\"rating100\\"?","locations":[{"line":13,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"rating\\" on type \\"Performer\\". Did you mean \\"rating100\\"?","locations":[{"line":51,"column":13}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"oshash\\" on type \\"Scene\\".","locations":[{"line":9,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"checksum\\" on type \\"Scene\\".","locations":[{"line":10,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"rating\\" on type \\"Scene\\". Did you mean \\"rating100\\"?","locations":[{"line":13,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"rating\\" on type \\"Performer\\". Did you mean \\"rating100\\"?","locations":[{"line":51,"column":13}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}],"data":null}'
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]     raise ConnectionError(f"GraphQL query failed: {response.status_code} - {response.content}")
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]   File "/root/.stash/plugins/renamerOnUpdate/renamerOnUpdate.py", line 97, in callGraphQL
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]     result = callGraphQL(query, variables)
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]   File "/root/.stash/plugins/renamerOnUpdate/renamerOnUpdate.py", line 154, in graphql_getScene
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]     stash_scene = graphql_getScene(scene_id)
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]   File "/root/.stash/plugins/renamerOnUpdate/renamerOnUpdate.py", line 1033, in renamer
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]     renamer(FRAGMENT_SCENE_ID)
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate]   File "/root/.stash/plugins/renamerOnUpdate/renamerOnUpdate.py", line 1355, in <module>
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate] Traceback (most recent call last):
2023-10-18 10:27:28
Error   
[Plugin / renamerOnUpdate] main function error: GraphQL query failed: 422 - b'{"errors":[{"message":"Cannot query field \\"oshash\\" on type \\"Scene\\".","locations":[{"line":9,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"checksum\\" on type \\"Scene\\".","locations":[{"line":10,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"rating\\" on type \\"Scene\\". Did you mean \\"rating100\\"?","locations":[{"line":13,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"rating\\" on type \\"Performer\\". Did you mean \\"rating100\\"?","locations":[{"line":51,"column":13}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"oshash\\" on type \\"Scene\\".","locations":[{"line":9,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"checksum\\" on type \\"Scene\\".","locations":[{"line":10,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"rating\\" on type \\"Scene\\". Did you mean \\"rating100\\"?","locations":[{"line":13,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Cannot query field \\"rating\\" on type \\"Performer\\". Did you mean \\"rating100\\"?","locations":[{"line":51,"column":13}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}],"data":null}'
2023-10-18 10:27:28
Error   
Scene.Update.Post [Stash NFO Exporter for Kodi]: returned error: exit status 1
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]     . Variables: {'id': 9095}
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]     }
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         weight
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         hair_color
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         death_date
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         details
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         rating
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         }
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]             endpoint
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]             stash_id
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         stash_ids {
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         }
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]             ...SlimTagData
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         tags {
2023-10-18 10:27:28
Error   
[Plugin / Stash NFO Exporter for Kodi]         movie_count

Reverting back to latest channel and v0.23.1 solves the issue.

@scruffynerf
Copy link
Contributor

Yes, known issue, development has the breaking schema changes (very extensively changes). Many scripts will break, so they'll need to be changed. Hopefully the plugin improvement rolled out at the same time will help ease the pain.

The upcoming schema changes have been public for a while but nobody was being proactive.

RoU and SNEK will get full revamps soon.

@scruffynerf scruffynerf self-assigned this Oct 20, 2023
@scruffynerf scruffynerf changed the title [RenamerOnUpdate] [Stash NFO Exporter for Kodi] Plugins no longer working after latest development channel update KNOWN ISSUE: Plugins no longer working after latest development channel update Oct 20, 2023
@scruffynerf scruffynerf pinned this issue Oct 20, 2023
@Tscherno
Copy link
Contributor

I guess the same happened to the Stash-Plugin for Plex right? It still matches, but only gets Title and puts the date into the title.

@ofpcode
Copy link
Contributor

ofpcode commented Nov 21, 2023

@scruffynerf I started working through updates on RoU to work against my local development instance of Stash. Anything I can do to help with this plugin in particular? I'm happy to publish a pull request if it's helpful.

@MRobi1
Copy link
Author

MRobi1 commented Dec 30, 2023

Now that v24 has hit the stable branch, is there a fix in the works for this or is the plugin unmaintained?

@scruffynerf
Copy link
Contributor

Now that v24 has hit the stable branch, is there a fix in the works for this or is the plugin unmaintained?

Working on v3.0, there are hacky shortcut fixes that basically remove items currently broken, but I'm not recommending those... I'm working on a rewrite that remove the use of sqlite direct access, and makes it easier to use, adds Plugin settings the new way, etc.

If you must have a quick fix, I can provide a link to someone's mod for it, but... At your own risk.

@gendi
Copy link

gendi commented Dec 31, 2023

If you must have a quick fix, I can provide a link to someone's mod for it, but... At your own risk.

Yes please, the link to a temporary fix would be great.

@Ashkaan
Copy link

Ashkaan commented Jan 3, 2024

v2.5 is working without issue for me.

@scruffynerf
Copy link
Contributor

yes, RoU 2.5 is my stopgap fix until I get v3 out the door.

@scruffynerf scruffynerf changed the title KNOWN ISSUE: Plugins no longer working after latest development channel update KNOWN ISSUE: Plugins no longer working after upgrading to V24 Jan 4, 2024
@rustyinfinity
Copy link

scruffynerf

You can use this for meanwhile https://github.com/rustyinfinity/StashNfoExporter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants