|
Post by Powderjockey on Mar 12, 2019 18:20:13 GMT -8
After many months of not having the SDL_DataLogger not working due to freeze ups etc., I'm trying to restart the logger and I'm presented with the following error.
sudo python DataLogger.py
SDL_Pi_Datalogger
Will work with the INA3221 SwitchDoc Labs Breakout Board Will work with the ADS1115 SwitchDoc Labs Breakout Board Will work with OurWeather - Complete Weather Kit Will work with SwitchDoc Labs WxLink Wireless LInk Program Started at:2019-03-11 19:18:13
readOURWEATHERData - The time is: 2019-03-11 19:18:13.941130 -----Can't read from OurWeather Traceback (most recent call last): File "DataLogger.py", line 158, in <module> OURWEATHERFunctions.readOURWEATHERData(password) File "/home/scott/SDL_Pi_DataLogger/OURWEATHERFunctions.py", line 85, in readOURWEATHERData preSplitData = data['FullDataString'] UnboundLocalError: local variable 'data' referenced before assignment OURWeatherFunction.py was run without any errors.
Any thoughts on my problem?
|
|
|
Post by SDL on Mar 13, 2019 7:20:28 GMT -8
PJ, I'll get on this starting on Monday. I'm on vacation and I don't have an OurWeather system down here. Just a GroveWeatherPi! BP
|
|