You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a port issue - problem in format of JSON data, which comes to frontend. Correct JSON data is like
[{"foo": "bar"}]
but now a Dash module return something like
[{\"foo\": \"bar\"}]
So JSON parser on front cant "read" data like that and nothing can be displayed. (And you can get some errors aout it in developer sonsole of your browser)
As an ad hoc solution you can simple rewrite function "_parseAndPrint" in app/server/linux_json_api.sh to
_parseAndPrint() {
while read data; do
echo -n "$data"
done;
}
Why this function needed existed escaping - IDK. But it's added by Author (at 37419dc), so may be it's realy needed (and it's why i dont send PR with it). But, after function edit all charts on my Dash started display data fine.
My system is cent os 7. I use "python index.py --port 900" to start the service.But there is no data display on the web UI.
The text was updated successfully, but these errors were encountered: