Open cjdaly opened 8 years ago
I get the bs_serial error about 80% (approximate estimate) of calls 😞
Is there any solution for this? I have the same issue. Once it starts, a reboot is the only recourse.
The only thing I´ve found is a solution approach in the reference link above: https://github.com/cjdaly/CompuCanvas-code/issues/1
I have a Java program running on several raspberry Pis (models 2 and 3) with blinksticks (Nanos, Squares and Strips). The java program spawns a process with a blinkstick command line invocation (random change) once every 5-10 seconds.
This program has been running for 5+ days now on 4 similar systems. In that time, one of the systems has accumulated 6 errors. There are 2 kinds of errors. In one case I issued a command like:
and got this to stdout:
[Errno 32] Pipe error
and this to stderr:
For an example of the other error, I issued a very similar command:
and in this case nothing comes to stdout, and I get this stack trace from stderr:
Also, all 6 errors that I've seen so far have been from the same blinkstick (4471).
This doesn't prevent the blinkstick from working on subsequent calls, but I want to report it in case anyone else sees it too. Also maybe some change can be made to the python to better handle these errors?
I have also opened an issue about this in my repo: https://github.com/cjdaly/CompuCanvas-code/issues/1