raspishake / rsudp

Continuous visual display, sudden motion monitoring, and historical replay of Raspberry Shake data
https://raspishake.github.io/rsudp/
GNU General Public License v3.0
55 stars 32 forks source link

Divide by zero encountered in matplotlib #63

Open ajball2001 opened 5 months ago

ajball2001 commented 5 months ago

I have an issue that throws "/home/pi/berryconda3/envs/rsudp/lib/python3.6/site-packages/matplotlib/axes/_axes.py:7747: RuntimeWarning: divide by zero encountered in log10 Z = 10. * np.log10(spec)" I am unsure how to proceed. I am running the software as Daemon and it isn't restarting when this error is thrown. It usually will run for around 10-20 minutes before this error is encountered but sometimes it is seconds after start, never errorless for more than 30 minutes. Interestingly, when running with "rs-client", the error still occurs but it is not interrupting the process.

dmitryint commented 4 months ago

Hello. Thanks for your feedback. This warning appears to occur in matplotlib library. Can you tell me which matplotlib version you are using? In any case, if this does not cause the client (or daemon process) to stop, then it can be treated as a warning and ignored.

ajball2001 commented 4 months ago

Hi, I am using the version of matplotlib installed by the installer, however, it seems that there is an error which is causing the process to crash, however, the raspberry pi does not recognize that the daemon process has stopped working and thus it cannot be restarted without a complete restart. This is a raspberry pi 3B.

On Tue, May 28, 2024 at 6:47 AM dmitryint @.***> wrote:

Hello. Thanks for your feedback. This warning appears to occur in matplotlib library. Can you tell me which matplotlib version you are using? In any case, if this does not cause the client (or daemon process) to stop, then it can be treated as a warning and ignored.

— Reply to this email directly, view it on GitHub https://github.com/raspishake/rsudp/issues/63#issuecomment-2135018948, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALP3EILOEYVLSWOSQ4ZFT7DZERVEBAVCNFSM6AAAAABGVIY7FGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGAYTQOJUHA . You are receiving this because you authored the thread.Message ID: @.***>

dmitryint commented 1 week ago

Hi, We did a major code update that should fix this bug, but we had to switch to a new version of python, which made it impossible for us to automatically install new versions on old arm.

We used berriconda for this, but it is no longer developed. And it seems we have no alternatives for older versions of arm architecture. https://github.com/jjhelmus/berryconda https://github.com/jjhelmus/berryconda/issues/83