|
Post by pj9753 on Jan 23, 2021 13:34:05 GMT -8
Finally got the hardware built, software installed and somehow configured to be working. Even got the weatherstem forwarding working too. Then assigned a DHCP reseveration on wifi router to give it a fixed ip address, rebooted and....nothing
does not appear on wifi router, tried connecting keyboard and monitor to pi , nothing. any ideas? thanks in advance
|
|
|
Post by SDL on Jan 23, 2021 14:35:47 GMT -8
Nothing with a monitor or Keyboard? Sounds like the Pi or the SD Card has died. Do the lights on the Raspberry Pi do anything on power up?
BP
|
|
|
Post by pj9753 on Jan 24, 2021 10:52:02 GMT -8
Pi board red led lights up, so do blue lights on the Sky boards
|
|
|
Post by pj9753 on Jan 24, 2021 13:48:34 GMT -8
Since tried the SD in another Pi, does not boot. So now working on rebuilding the SD card. Following the steps on Git hub page, just tried the following: git clone github.com/adafruit/Adafruit_Python_PureIO.gitcd Adafruit_Python_PureIO sudo python setup.py install the output from setup.py is: Traceback (most recent call last): File "setup.py", line 8, in <module> from setuptools import setup ImportError: No module named setuptools
|
|
|
Post by pj9753 on Jan 24, 2021 18:15:33 GMT -8
thansks to google and stackoverflow managed to solve that bug, there is a big difference between pip install requests and sudo pip install requests
that got me to the next error. MySQLdb is not enabled in either conflocal.py or config.py (enable_MySQL_Logging = False) Traceback (most recent call last): File "SkyWeather.py", line 66, in <module> import doAllGraphs File "/home/pi/SDL_Pi_SkyWeather/doAllGraphs.py", line 16, in <module> import TemperatureHumidityGraph File "./graphs/TemperatureHumidityGraph.py", line 25, in <module> import MySQLdb as mdb ImportError: No module named MySQLdb
|
|
|
Post by pj9753 on Jan 25, 2021 8:36:09 GMT -8
so found the errors and fixed SkyWeather.py, see attached. If mysql not enabled then script will run Attachments:SkyWeather.py (59.05 KB)
|
|
|
Post by SDL on Jan 26, 2021 10:13:20 GMT -8
Now that looks like a real bug! Thanks for finding and fixing that. We call this a "test escape" as we did not run the software in this exact configuration and missed it.
BP
|
|