python3 auto_rx.py

103 views
Skip to first unread message

Kees Van Oosbree

unread,
Apr 23, 2023, 12:55:40 PM4/23/23
to radiosonde_auto_rx
Hello,

I am having issues with getting my Raspberry Pi working with auto_rx. I am not the most familiar with a Pi, just to let everyone know. After following the steps in the setup and configuration on the "Native" part of https://github.com/projecthorus/radiosonde_auto_rx/wiki, I ran the command
     $ python3 auto_rx.py
within  radiosonde_auto_rx/auto_rx, and I got this error message back:

File "auto_rx.py", line 474
    logging.warning(f"Task Manager - Invalid entry found in always_decode list, skipping.")
                                                                                         ^
SyntaxError: invalid syntax


I am sure this has happened many times to many people on this Group, but I have found no such question on this particular issue.

Any help would be of great significance.

Thanks,

73 de W0AAE

Michael Hojnowski

unread,
Apr 23, 2023, 2:12:28 PM4/23/23
to Kees Van Oosbree, radiosonde_auto_rx
It looks like it's having problems parsing the "always_decode" section of your station.cfg file.  The sample config looks like this:

# always_decode - Always-running decoders. Only possible in a multi-SDR (or network-based SDR) system.
# List must be in the form: [[401.5,"RS41"], [402.5,"DFM"], [400.5,"M10"], [400.5,"IMET"]]
# Valid sonde types: RS41, RS92, DFM, M10, M20, IMET, IMET5, MK2LMS, LMS6, MEISEI, MRZ, MTS01
always_decode = []


Did you maybe mess with that section, or forget to set up your station.cfg file?

Mike/KD2EAT
--
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 on the web visit https://groups.google.com/d/msgid/radiosonde_auto_rx/97fe5770-9ba5-4094-9f49-1cd2a592005fn%40googlegroups.com.

Kees Van Oosbree

unread,
Apr 23, 2023, 2:58:50 PM4/23/23
to radiosonde_auto_rx
Hello Mike,

Thanks for the reply.

I just made some adjustments in the station.cfg file. No such luck. I looked at the section that you described, and it is written exactly like that.

73 de W0AAE

Mike Luckham

unread,
Apr 23, 2023, 4:50:59 PM4/23/23
to Kees Van Oosbree, radiosonde_auto_rx
Does auto_rx keep running and do scans?  Or does it stop?


--

Joe Geller

unread,
Apr 23, 2023, 4:53:28 PM4/23/23
to radiosonde_auto_rx
I had some trouble with manual steps (I was also inexperienced with Rp).  Then I reinstalled Rp OS to get a fresh start and did the Docker install at the top of the page, and all worked well from there.

Mike Luckham

unread,
Apr 23, 2023, 4:56:09 PM4/23/23
to Kees Van Oosbree, radiosonde_auto_rx
I think you are seeing a warning,  but then there is a real problem after that in the .cfg file. 

Did you set your lat/lon in the section immediately following, maybe you used an incorrect format. 

You can include -v option in the python command

Mark Jessop

unread,
Apr 23, 2023, 6:10:54 PM4/23/23
to Mike Luckham, Kees Van Oosbree, radiosonde_auto_rx
The error shown is not actually an error in the station.cfg file, it's indicating that the python interpreter doesn't like something about the auto_rx.py file.

A likely reason is that an old version of Python (older than Python 3.6) is in use, which does not support the 'f-strings' string formatting method that I use throughout auto_rx.

73
Mark VK5QI

Kees Van Oosbree

unread,
Apr 23, 2023, 7:42:14 PM4/23/23
to radiosonde_auto_rx
Hello,

Well, I just took out the SD card, reinstalled the OS, then went through the instructions again, and that seemed to solve it.

I guess when in doubt, update the OS!

Thanks everyone!

73 de W0AAE

Mark Jessop

unread,
Apr 23, 2023, 7:43:04 PM4/23/23
to Kees Van Oosbree, radiosonde_auto_rx
Yep, my guess this was an old raspbian install, with Python 3.5.

73
Mark VK5QI

Reply all
Reply to author
Forward
0 new messages