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

load_flow_from_json("path/to/flow.json") returns UnicodeDecodeError #165

Merged
merged 4 commits into from
Apr 20, 2023
Merged

load_flow_from_json("path/to/flow.json") returns UnicodeDecodeError #165

merged 4 commits into from
Apr 20, 2023

Conversation

bigKeter
Copy link
Contributor

Using an exported Flow JSON file with load_flow_from_json("path/to/flow.json") returns
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 9465: character maps to
"undefined".

Specifying the encoding type in the function helps to fix that error.

…ow.json") returns

"UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 9465: character maps to
<undefined>".

Specifying the encodint type in the function helps to fix that error.
Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ogabrielluiz ogabrielluiz merged commit 801ff57 into langflow-ai:dev Apr 20, 2023
@bigKeter bigKeter deleted the jsonUnicodeError branch April 20, 2023 19:21
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.

2 participants