Skip to content

UserWarning: Message serialization failed with: Out of range float values are not JSON compliant #81

Open
@antonioalegria

Description

@antonioalegria

I'm constantly getting this message in stderr when displaying a pandas dataframe. This pollutes what the agent sees and may even impact our ability to getting the displayed dataframe data.

/usr/local/lib/python3.10/site-packages/jupyter_client/session.py:721: UserWarning: Message serialization failed with:
Out of range float values are not JSON compliant
Supporting this message is deprecated in jupyter-client 7, please make sure your message is JSON-compliant
  content = self.pack(content)

This is probably in your serialization code, perhaps? Can you check this and see if you or us can mitigate this warning?

This happens with a e2b sandbox template created today with the latest version of e2b.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions