auto_rx 1.8.0 – Email notifications are not being sent

70 views
Skip to first unread message

Zdenek OK2SZ

unread,
Feb 7, 2025, 3:30:23 AMFeb 7
to radiosonde_auto_rx

Hello everyone, I've encountered an issue. I've been using Radiosonde auto_rx in versions 1.7.x for over a year. Recently, I updated to version 1.8.0. I didn't notice any changes (since no sondes had landed in my area) until I decided to start testing another auto_rx installation with an Airspy R2 instead of RTL dongles.

I noticed that although my configuration file is set correctly—identical to previous versions—notification emails are not being sent. At first, I thought there was an error during the auto_rx installation. However, I tried several fresh installations following the instructions in the auto_rx wiki carefully, but with no success.

During my last test, I tried running the email_notification script directly, and the following result occurred:

(venv) pi@raspberrypi:~/radiosonde_auto_rx/auto_rx/autorx $ python3 email_notification.py
Traceback (most recent call last):
  File "/home/pi/radiosonde_auto_rx/auto_rx/autorx/email_notification.py", line 16, in <module>
    from .config import read_auto_rx_config
ImportError: attempted relative import with no known parent package


  Could someone please advise me on what I'm doing wrong or what the issue might be? Thanks!  

73!

Zdenek OK2SZ

Mark Jessop

unread,
Feb 7, 2025, 3:33:33 AMFeb 7
to Zdenek OK2SZ, radiosonde_auto_rx
You won't be able to run the e-mail notification test like that.


Let us know of any errors you find.

73
Mark VK5QI

--
You received this message because you are subscribed to the Google Groups "radiosonde_auto_rx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to radiosonde_auto...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/radiosonde_auto_rx/ca96a284-1ae6-4509-a142-1a4cb2f6ab3bn%40googlegroups.com.

Zdenek OK2SZ

unread,
Feb 7, 2025, 3:48:17 AMFeb 7
to radiosonde_auto_rx
  Hello Mark, and thank you for the lightning-fast response. 
I have now started the test according to your instructions:


pi@raspberrypi:~ $ cd ~/radiosonde_auto_rx/auto_rx/
pi@raspberrypi:~/radiosonde_auto_rx/auto_rx $ python3 -m autorx.email_notification

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code

  File "/home/pi/radiosonde_auto_rx/auto_rx/autorx/email_notification.py", line 16, in <module>
    from .config import read_auto_rx_config
  File "/home/pi/radiosonde_auto_rx/auto_rx/autorx/config.py", line 15, in <module>
    from .sdr_wrappers import test_sdr
  File "/home/pi/radiosonde_auto_rx/auto_rx/autorx/sdr_wrappers.py", line 15, in <module>
    from .utils import rtlsdr_test, reset_rtlsdr_by_serial, reset_all_rtlsdrs, timeout_cmd
  File "/home/pi/radiosonde_auto_rx/auto_rx/autorx/utils.py", line 21, in <module>
    import semver
ModuleNotFoundError: No module named 'semver'

Zdenek OK2SZ

Dne pátek 7. února 2025 v 9:33:33 UTC+1 uživatel Mark Jessop napsal:

Mark Jessop

unread,
Feb 7, 2025, 3:50:54 AMFeb 7
to Zdenek OK2SZ, radiosonde_auto_rx
You will need to enter the python venv first, which you had done previously when trying to run the script.
e.g. source venv/bin/activate

Cheers,
Mark

Zdenek OK2SZ

unread,
Feb 7, 2025, 5:43:09 AMFeb 7
to radiosonde_auto_rx
  Hello Mark, 
thank you very much for your quick help. Based on your advice, I managed to detect the problem, which was between the keyboard and the chair :-) . I didn’t see the error in one line of the configuration file. 
Thanks again!  

73
Zdenek OK2SZ

Dne pátek 7. února 2025 v 9:50:54 UTC+1 uživatel Mark Jessop napsal:
Reply all
Reply to author
Forward
0 new messages