|
Post by Jason on Mar 15, 2021 14:16:28 GMT -8
From a fresh SD card:
sudo apt install git python3-pip git clone https://github.com/switchdoclabs/SDL_Pi_SkyWeather.git sudo apt install mariadb-server python3-mysqldb python3-pandas sudo pip3 install dash dash_bootstrap_components dash_daq psutil
cd SDL_Pi_SkyWeather
sudo mariadb < SkyWeather2.sql sudo mariadb < WeatherSenseWireless.sql
cd dash_app
sudo python3 index.py YouTube video that begins during the flashing of the SD card -
Jason
P.S. I did cheat and install MariaDB a bit differently than SwitchDoc Labs documentation. Fortunately, it doesn't affect how the Dash app functions.
|
|
tecronin
Junior Member
Posts: 91
Raspberry Pi: Yes
|
Post by tecronin on Mar 19, 2021 22:45:59 GMT -8
|
|
|
Post by peter41751 on Mar 20, 2021 3:50:23 GMT -8
Hi to the forum... I have installed skyweather2 on an 32gb micro sd card and having problem with the sql acess
on the dash it says "page not implemented"
pi@SwitchDocLabs:~/SDL_Pi_SkyWeather2 $ sudo mysql -u root -p < WeatherSenseWireless.sql Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I tried the password to access the pi 4b with 8gb but no answer... any hint what to do? thanks and best regards from a sunny day
|
|
|
Post by truefinn on Mar 20, 2021 5:37:04 GMT -8
insert code here Page not implemented has also annoyed me. So I did some customization in non_impl.py code. Changes made are in attached file Page_Implemented. Page_Implemented (1.12 KB) The file is an output of "diff non_impl.py.orig non_impl.py" command. Line 25a26, 28 means that I added following three lines after line 25. Line 35, 42d37 means that I deleted 8 lines 35, 42 after line 37 Line 53c48, 54 means that I changed code " html.H1(children="Page Not Implemented") " with the 7 lines after --- separator line. And so on ...
|
|
|
Post by SDL on Mar 20, 2021 11:05:03 GMT -8
I just fixed this in our code (still a mystery on why it started in the first place) and it will be in the next release.
BP
|
|
|
Post by peter41751 on Mar 21, 2021 12:40:00 GMT -8
insert code here Page not implemented has also annoyed me. So I did some customization in non_impl.py code. Changes made are in attached file Page_Implemented. View AttachmentThe file is an output of "diff non_impl.py.orig non_impl.py" command. Line 25a26, 28 means that I added following three lines after line 25. Line 35, 42d37 means that I deleted 8 lines 35, 42 after line 37 Line 53c48, 54 means that I changed code " html.H1(children="Page Not Implemented") " with the 7 lines after --- separator line. And so on ...
|
|
|
Post by peter41751 on Mar 21, 2021 12:42:56 GMT -8
Hi truefin, I got mixed up with the changes - can you pls post the corrected file non_imply.py? tks and best rgds
|
|