Post by dougstrickland on May 26, 2017 9:23:19 GMT -8
When I press the button the display updates with black text on a white background stating "water filled". After a second, the text reverses to white text on a black background, then halts execution of the program, and exits. I get the following error message:
Traceback (most recent call last): File "SmartPlantPi.py", line 948, in <module> saveState() File "SmartPlantPi.py", line 468, in saveState output = open('SPPState.pkl', 'wb') IOError: [Errno 13] Permission denied: 'SPPState.pkl' [email protected]:~/Adafruit_Python_GPIO/SDL_Pi_SmartPlantPi $
Any suggestions as to what might be causing this error? Up until I press the button everything seems to be working correctly, at least it is updating the display every 10 seconds...
Post by dougstrickland on May 26, 2017 11:01:16 GMT -8
I'm apparently having problems during watering? i just saw this:
Tick! The time is: 2017-05-26 11:30:22.405293 checkandWater: 65.00 Threshold / 58.01 Current Watering Plant [Errno 13] Permission denied: 'SPPState.pkl' File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "SmartPlantPi.py", line 468, in saveState output = open('SPPState.pkl', 'wb')