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

When dealing with JSON in Python, not doing json.dumps at the end may fail #360

Open
frikky opened this issue Nov 2, 2023 · 0 comments
Open
Assignees
Labels
1.4.0 bug Something isn't working

Comments

@frikky
Copy link
Member

frikky commented Nov 2, 2023

In the "Execute Python" function, when JSON-like data is sent out, it is added to the "message" field. This leads it to LOOKING like it's valid JSON on the Javascript (frontend) side, but it is not valid on the Python side due to... something.

Find out what that something is.

Node 1 (execute python):
print([{"hello": "there"}])

Node 2 (repeater):
$node_1.#.hello

This may look good in the UI, but will fail in Python. This is most likely an App SDK issue.

@frikky frikky transferred this issue from Shuffle/Shuffle-docs Nov 2, 2023
@frikky frikky assigned 0x0elliot and dhaval055 and unassigned 0x0elliot Nov 2, 2023
@frikky frikky added 1.4.0 bug Something isn't working labels Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.4.0 bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants