-
Notifications
You must be signed in to change notification settings - Fork 64
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
UUID's in a smart cell chart do not work #192
Comments
Notice this happens both on Kino.VegaLite but also on Kino.DataTable. |
@josevalim we can't serialize arbitrary binaries into JSON, so isn't this expect for UUIDs in the raw binary format? |
@jonatanklosko we can actually encode, but I think the client really dislikes it:
|
|
Oh, I see. And because of #180 the error only happens later, so it is a bit harder to provide earlier feedback? |
I think #180 doesn't change much in this specific case as there is no struct involved, so we would get the same error on either side. If we want a more specific error message we would need to match on |
With #180 I was thinking we would at least get an error from Kino and have it show up with stacktrace? |
In any case, this can be closed. We might improve things with #180. |
Note that the serialization happens on demand, when someone connects to the component and it would be inside the Kino.JS.Live server, so I'm not sure if the stacktrace will be helpful. But maybe there's a way to show more relevant information, we can revisit :) |
@the-destro did you manage to work around this issue? This is practically the only page that comes up when searching for this error message so for anyone interested I solved this by explicitly casting the UUID to Hope this helps. |
Current behavior
Failed to serialize initial widget data, invalid byte 0xC0 in <<uuid binary redacted>>
Expected behavior
No Error
The text was updated successfully, but these errors were encountered: