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

Value Renderer encountered an error #2254

Closed
fbertsch opened this issue Sep 16, 2019 · 1 comment
Closed

Value Renderer encountered an error #2254

fbertsch opened this issue Sep 16, 2019 · 1 comment

Comments

@fbertsch
Copy link

Short summary of the bug. Please include the IODIDE version number where you found the bug - if you are just running locally (building for dev or prod) you can put MASTER

What I Did

Import some data from re:dash, use Python, run pd.DataFrame.from_records([dict(r) for r in dataset.query_result.data.rows]).dtypes in the console, and try and expand the resulting array

What I Expected

An array of the schema

What Happened

A value renderer encountered an error.

TypeError: l is null

    in LM (created by XU)
    in XU (created by o)
    in o (created by mj)
    in div (created by Context.Consumer)
    in MessageBody (created by ej)
    in div (created by Context.Consumer)
    in MessageContainer (created by ej)
    in ej (created by mj)
    in mj (created by h)
    in h (created by Ej)
    in div (created by Ej)
    in div (created by Ej)
    in div (created by Ej)
    in Ej (created by h)
    in h (created by qj)
    in div (created by c)
    in c (created by h)
    in h (created by qj)
    in qj (created by h)
    in h
    in h
    in t (created by h)
    in h

Top level rep summary:

{"repType":"DEFAULT_REP","valueSummary":{"objType":"Array","size":4,"stringValue":"Array","isTruncated":false,"isExpandable":true,"DESC_TYPE":"ValueSummary"}}

(if applicable) notebook that reproduces bug

%% fetch
// Download the data from Redash and save it to a variable called "dataset"
json: dataset = https://sql.telemetry.mozilla.org/api/queries/64838/results.json?api_key=sdFEi2sErXflEDmuXlK8k6wArTE15z5cK1mBIO2r
js: https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.33.1/plotly-basic.min.js

%% py
# You can use Python, too! Just uncomment the code below.

from js import dataset
import pandas as pd

pd.DataFrame.from_records(
    [dict(r) for r in dataset.query_result.data.rows]
).dtypes
@bcolloran
Copy link
Contributor

almost certainly the same as #1748

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

No branches or pull requests

2 participants