|
Post by lbrutti on Dec 20, 2017 8:50:07 GMT -8
Hello, i got this error too. Any news about bug fixing? I empirically removed the led blinkning part in def sampleSunAirPlus(): # blink GPIO LED when it's run # GPIO.setup(SUNAIRLED, GPIO.OUT) # GPIO.output(SUNAIRLED, True) # time.sleep(0.2) # GPIO.output(SUNAIRLED, False)
and somehow the exception has gone... Magic?
|
|
|
Post by SDL on Dec 22, 2017 10:20:31 GMT -8
Interesting! That changes the timing. I'll have to take a look at that. Doesn't mean it won occur again it if is the problem we think it is (thread issue).
BP
|
|
|
Post by lbrutti on Dec 27, 2017 3:16:52 GMT -8
hello, FYI the exception hasn't occurred so far... have nice holidays!
|
|
|
Post by doxidad on Dec 28, 2017 10:16:46 GMT -8
Just for a point of reference - I made the changes above (commenting out) and I still get the errors. I would assume this timing (Pi being used, number of devices being polled, etc.) with Ibrutti's setup that clears up the problem. I do agree that this is thread related.
I'm not entirely familiar with the python environment to understand how it accomplishes threading and what APIs are available for threading control (and don't have the time right now to delve into it!).
Happy New Year to all!
TR
|
|
|
Post by buckwestern on May 11, 2018 5:13:40 GMT -8
Good morning - any word about all of these thread errors? I experience this error and the AM2315 error and they all seem to be classified as 'thread errors'.
|
|
|
Post by SDL on May 13, 2018 9:38:50 GMT -8
|
|