-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blocksat-cli standalone monitor --report crashes #94
Comments
Sample CLI output after a crash: Lock = True; Level = -55.00dBm; SNR = 14.10dB; BER = 8.94e-2023-01-26 04:00:43 Lock = True; Level = -55.00 During handling of the above exception, another exception occurred: Traceback (most recent call last): Traceback (most recent call last): |
I've never done any exception handling in python, but I'm gonna try to add these three lines to catch any uncaught errors: except Exception as e: to line 147 of /usr/local/lib/python3.10/dist-packages/blocksatcli/monitoring.py and I'll see what happens...i'm hypothesizing the error is just not handled (there is handling for requests.exceptions.ConnectionError ). I'll report back in a day or three. |
...and apparently python cares about spaces vs tabs...yeesh. Picky picky picky. Anyhow, I got it running. Should take a day or so to run into trouble naturally...maybe I can provoke it by pulling the network cable... |
https://github.com/bg002h/satellite_AmateurBugFix/blob/master/blocksatcli/monitoring.py I totally don't grok git, but, even with doing the whole secret service git authentication thing, I can't create a pull request. See link above for my trivial addition (lines 147-149) |
Hi @bg002h , We released a new CLI version today. Could you try it and see if the new version fixes your problem? Thanks |
Looking forward to it. I’m on call in the hospital but I’ll try to upgrade
before bed tonight & get reporting running again.
…On Fri, Mar 3, 2023 at 12:19 Blockstream Satellite ***@***.***> wrote:
Hi @bg002h <https://github.com/bg002h> ,
We released a new CLI version
<https://github.com/Blockstream/satellite/releases/tag/v2.4.5> today.
Could you try it and see if the new version fixes your problem?
Thanks
—
Reply to this email directly, view it on GitHub
<#94 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4LXL75BBH26PPO6VJU233W2I737ANCNFSM6AAAAAAUHA7GSA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
latest update to 0.4.5 doesn't exactly fix the crash...the program seems to simply hang and stop producing output after no apparent error... |
blocksat-cli crashes after a day or three when reporting satellite receiver stats...seems to be triggered by network/destination connectivity issues. Probably needs some exception handling around network commands.
The text was updated successfully, but these errors were encountered: