Running Rpi B with arduino uno Rev c. Brewpi v.0.2.10
Posted on homebrewtalk as well but no one has been able to help.
Ive been running brewpi on my chamber for about a year and a half with no issues. After my last brew I stopped my script and temperature control. Its been about 5 weeks since. I brewed last weekend and went to open a new script and temperature profile and found that it would not open a new script. My temperature profile for my last brew still shows below the graph. In the top left it says cannot get text from python script. Since then, I have updated the brewpi software and arduino from the rpi terminal but still nothing. when I reboot the Rpi I get this error that pops up:
GDBus. Errorrg.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject.
I click ok and everything seems to work.
I manually started the brewpi script from the LXTerminal and got this:
pi@raspberrypi ~ $ sudo -u brewpi python /home/brewpi/brewpi.py
Apr 05 2016 21:28:00 Opening serial port
Apr 05 2016 21:28:00 Notification: Script started for beer 'Citra ipa/PA’
Apr 05 2016 21:28:10 Checking software version on controller…
Apr 05 2016 21:28:11 Found BrewPi v0.2.10 build unknown, running on an Arduino Uno with a revC shield on port /dev/ttyACM0
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 415, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 287, in startBeer
setFiles()
File “/home/brewpi/brewpi.py”, line 273, in setFiles
brewpiJson.newEmptyFile(localJsonFileName)
File “/home/brewpi/brewpiJson.py”, line 109, in newEmptyFile
jsonFile = open(jsonFileName, “w”)
IOError: [Errno 2] No such file or directory: '/home/brewpi/data/Citra ipa/PA/Citra ipa/PA-2016-04-05.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 72, in __listenThread
File “/usr/local/lib/python2.7/dist-packages/serial/serialutil.py”, line 538, in inWaiting
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
<type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute 'ioctl’
pi@raspberrypi ~ $
Also ran : python /home/brewpi/brewpi.py --kill
Killing all brewpi processes
Restarted and still would not run
Any sugguestions?