CommunityScripts icon indicating copy to clipboard operation
CommunityScripts copied to clipboard

[TPDBMarkers] GRAPHQL_VALIDATION_FAILED

Open ToniToba opened this issue 1 year ago • 2 comments

Hello I have an issue when I try to run theporndbmarkers sync.

Here is my log:

025-02-05 13:45:52
Error   
Plugin returned error: exit status 1
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     raise Exception(error_msg)
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/.local/lib/python3.12/site-packages/stashapi/classes.py", line 271, in _handle_GQL_response
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     return self._handle_GQL_response(response)
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/.local/lib/python3.12/site-packages/stashapi/classes.py", line 228, in _GQL
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers] Exception: 422 Unprocessable Entity query failed. v0.27.2-0
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/.local/lib/python3.12/site-packages/stashapi/stashapp.py", line 239, in call_GQL
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     return self._GQL(query, variables)
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     result = self.call_GQL(query, variables)
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     return self.create_group(*args, **kwargs)
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/.local/lib/python3.12/site-packages/stashapi/stashapp.py", line 1258, in create_movie
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     mov=stash.create_movie(new_movie)
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/stashapp/plugins/community/TPDBMarkers/tpdbMarkers.py", line 141, in processMovie
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]           ^^^^^^^^^^^^^^^
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     movie=processMovie(m)
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/stashapp/plugins/community/TPDBMarkers/tpdbMarkers.py", line 44, in processScene
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     processScene(s)
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/stashapp/plugins/community/TPDBMarkers/tpdbMarkers.py", line 100, in processAll
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]     processAll()
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/.local/lib/python3.12/site-packages/stashapi/stashapp.py", line 1170, in create_group
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers] Traceback (most recent call last):
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers]   File "/home/tobi/stashapp/plugins/community/TPDBMarkers/tpdbMarkers.py", line 178, in <module>
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers] d
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers] 422 Unprocessable Entity query failed. v0.27.2-0
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers] 422 Unprocessable Entity GQL data response is null
2025-02-05 13:45:52
Error   
[Plugin / The Porn DB Markers] GRAPHQL_VALIDATION_FAILED:['variable', 'input', 'url'] unknown field
2025-02-05 13:45:52
Warning 
[Plugin / The Porn DB Markers] create_movie() is depracated use create_group()
2025-02-05 13:45:52
Warning 
[Plugin / The Porn DB Markers] find_movies() is depracated use find_gruops()
2025-02-05 13:45:52
Warning 
[Plugin / The Porn DB Markers] find_movies() is depracated use find_gruops()
2025-02-05 13:45:39
Info    
[Plugin / The Porn DB Markers] fetching data: 0 - 100 0.0%
2025-02-05 13:45:39
Info    
[Plugin / The Porn DB Markers] 45 scenes to submit.
2025-02-05 13:45:39
Info    
[Plugin / The Porn DB Markers] Getting scene count

ToniToba avatar Feb 05 '25 12:02 ToniToba

Try installing v0.2.55 of stashapp-tools.

pip install stashapp-tools==0.2.55

DogmaDragon avatar Feb 15 '25 02:02 DogmaDragon

Can confirm upgrading from stashapp-tools 0.2.42 to 0.2.55 also fixed my issue, thanks @DogmaDragon.

Maybe there's some better way this could be surfaced? Maybe the TPDBMarkers plugin can specify min version of the dependency?

anonymous-ants avatar Mar 19 '25 04:03 anonymous-ants