jpgimenez/craftbeerpi3

Error on Mqtt read thread

lalo-uy opened this issue · 0 comments

After clean git clone install on raspian buster got this:

`pi@paleale:~/craftbeerpi3 $ sudo ./run.py
INIT DB
EXCEPT
no such table: schema_info
MQTT Connected code=0
/home/pi/craftbeerpi3/modules/buzzer/init.py:19: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.gpio, GPIO.OUT)
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/craftbeerpi3/modules/plugins/MQTTPlugin/init.py", line 274, in mqtt_reader
message = q.get(timeout=0.1)
File "/usr/local/lib/python3.7/dist-packages/eventlet/queue.py", line 322, in get
return waiter.wait()
File "/usr/local/lib/python3.7/dist-packages/eventlet/queue.py", line 141, in wait
return get_hub().switch()
File "/usr/local/lib/python3.7/dist-packages/eventlet/hubs/hub.py", line 298, in switch
return self.greenlet.switch()
_queue.Empty

`
It keep runing but mqtt sensors dont get processed.