Skip to content

Conversation

@guochunxi8-collab
Copy link

Attempt to recover from plugin outputs containing invalid backslash escapes by fixing and retrying JSON unmarshal in pkg/plugin/raw.go and pkg/javascript/gql.go.

@guochunxi8-collab
Copy link
Author

Hello, after pulling the fix branch, I compiled the executable file. However, the issue persists after running it. Could you help compile it into a Windows executable file.

@DogmaDragon
Copy link
Collaborator

Hello, after pulling the fix branch, I compiled the executable file. However, the issue persists after running it. Could you help compile it into a Windows executable file.

It's available from https://github.com/stashapp/stash/actions/runs/20627718550

@WithoutPants
Copy link
Collaborator

This is an invalid fix for a problem that should be addressed on the plugin side. It's the plugins responsibility to ensure that the output is valid JSON. This PR is filled with duplicated code and tries to address this issue across all instances of json decoding.

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

Successfully merging this pull request may close these issues.

在win新版本30.1 在运行有些插件和刮削器时,总有json格式错误,

3 participants