Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

dash-renderer issue when loading python dash #171

Closed
wsebastiangroves opened this issue May 10, 2019 · 5 comments
Closed

dash-renderer issue when loading python dash #171

wsebastiangroves opened this issue May 10, 2019 · 5 comments

Comments

@wsebastiangroves
Copy link

wsebastiangroves commented May 10, 2019

After initializing my dash code in python and receiving no errors, I open Chrome to my local Dash page and it's blank white with the following error:

(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser's console.)
Error: dash_table_experiments was not found.
at Object.resolve (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:41843:15)

at isLoadingComponent (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:37471:21)

at getLoadingState (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:37508:15)

at http://127.0.0.1:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:37554:36

at computeMergedProps (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:33212:25)

at Connect.updateMergedPropsIfNeeded (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:33326:31)

at Connect.render (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/dash_renderer.dev.js?v=0.23.0&m=1557503513:33450:41)

at ce (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557503513:98:136)

at qg (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557503513:97:440)

at hi (http://127.0.0.1:8050/_dash-component-suites/dash_renderer/react-dom@16.8.6.min.js?v=0.23.0&m=1557503513:104:285)

My library list:
import pandas as pd
import dash_core_components as dcc
import dash_html_components as html
import dash_table_experiments as dt
import dash.dependencies
from dash.dependencies import Input, Output, State
import plotly

dash_table_experiments loads in python just fine, but doesn't seem to outside of that.

The full stack trace seems to include only references to dash_renderer, so that's why my question is: What is happening to dash_renderer/dash_table_experiments, and how can I fix it?

@wsebastiangroves wsebastiangroves changed the title dash-renderer issue when loading python dash in Chrome dash-renderer issue when loading python dash May 10, 2019
@alexcjohnson
Copy link
Collaborator

Before we dig into debugging (for which we'd want to see versions of all these packages plus python itself, and a complete runnable code example), I should point out that dash_table_experiments has been deprecated and hasn't been updated for a year now, in favor of dash_table. The last major feature we're aware of that experiments did better is filtering. Updated filtering capabilities will be part of the next dash_table release, due out next week. Other than that, is there anything dash_table_experiments does for you that dash_table doesn't match?

@wsebastiangroves
Copy link
Author

Before we dig into debugging (for which we'd want to see versions of all these packages plus python itself, and a complete runnable code example), I should point out that dash_table_experiments has been deprecated and hasn't been updated for a year now, in favor of dash_table. The last major feature we're aware of that experiments did better is filtering. Updated filtering capabilities will be part of the next dash_table release, due out next week. Other than that, is there anything dash_table_experiments does for you that dash_table doesn't match?

I read your comment when you posted and worked on it over the weekend. I managed to replace dash_table_experiments with dash_table, rework my script as needed, and, voilà, I have my first dash up and running. Thank you for letting me know that dash_table_experiments is deprecated and that dash_table is the current favorite.

For any future reference, this is the link to the guide I followed that helped me get started with dash_table:
https://dash.plot.ly/datatable/interactivity

@Aprilhuu
Copy link

Aprilhuu commented Sep 6, 2019

dash_table_experiment enables having components other than plain text in each cell. This is something dash_table does not support. I ran into the same issue 'dash_table_experiment not found' when I was trying to use it for adding hyperlinks in table cells.

@Chiragasourabh
Copy link

Chiragasourabh commented Apr 27, 2023

why is it referring to dash_renderer.dev.js instead of dash_renderer.min.js

@alexcjohnson
Copy link
Collaborator

@Chiragasourabh this repo is obsolete, dash-renderer is part of the main dash repo now. Anyway, you get the dev bundle when you run the app in debug mode, as it includes extra devtools.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants