-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
linux dash widgets aren't loading [Ubuntu + Python] #453
Comments
Try this: edit linux_json_api.sh and replace I tried it in go version and it's working. |
Thanks @duckzito , it solved my problem! |
Thanks @duckzito, also worked for me on korora running it with python. |
just confirming that this is still an issue with the latest release of this repo. I encountered it today and the above suggested fix solved the problem for me. |
you can replace |
Hello, I have the same problem here, on Ubuntu + PHP
But the solution of @duckzito didn't work |
@TwanoO67 , this error is because linux-dash try to get docker information, and if you dont have docker ("type -P docker" return nothing) arguments pass to top command, not for "docker top". Solution of @duckzito is for fixing json formatter, it's another issue. Do you have errors in browser developer console? |
Hi @alozovskoy , |
this solved my problem too! |
Fix #453 - Linux Dash Python widget loading problem
FWIW, I just cloned the repo today to try it out, and none of the boxes were loading for me (Ubuntu 19.10, running using the NodeJS
Here's the patch:
|
Same here - in my case, I just migrated a bunch of stuff from a Raspi 3 to a 4, linux-dash one of them. On the 3 I was running Raspian strech, while the 4 is running buster... |
@AnotherDaniel Hi, I have the same bug in Debian 10 and Your solution help me. Thank You. |
Thank you! Tried it on ElementaryOS 5.1.7, worked like a charm |
How come this issue is closed given that the bug is still there? I had the same exact problem and had to manually update the |
Agreed |
FYI. This change fails for node.js, If you intend to use node.js, don't apply this patch. |
The Problem
I tried to install linux dash but it isn't working: The widgets loading the hole time:
The widgets "CPU Avg Load" and "CPU Utilization" seem to work:
Steps to reproduce
Cloning the git repository and starting linux dash using python:
I also tried running python with sudo or download the master.zip file using curl, but I run into the same problem
After starting the Server with
sudo python index.ph --port 8500
I got:Starting server, use <Ctrl-C> to stop
If a open Linux Dash in my Chrome browser, I get the following console output on my server:
The Chrome console also shows some errors:
My System
The text was updated successfully, but these errors were encountered: