Closed skymaker-c2is closed 5 months ago
Yes, right now auto_rx expects the working directory to be writable. The rtl_power outputs are only considered temporary files, so I didn't want to put them into the log directory. However, moving them to the log directory looks to be fairly trivial, so I'll look at doing that in the testing branch soon.
Ok, this was pretty simple. I've made the change in the testing branch.
I haven't yet looked to see if there's any other files auto_rx saves into the working directory.
Thank you for the quick fix! I patched the stable release locally and it's working.
Hi,
I'm trying to log the decoder outputs to /var/tmp with
auto_rx.py -c /etc/default/radiosondeautorx -l /var/tmp/radiosondeautorx -t 0
Unfortunately, the output of the scanner (rtl_power) is not logged to the directory given with -l. auto_rx is trying to log the output to the working directory, which isn't writeable for the user running auto_rx:
When the user has write access to the working directory, everything works fine. I don't know if this is intended, but it would be nice if auto_rx would either log the output of rtl_power to the directory given by -l or to another directory given by another parameter.