If you look in your log, you'll see that the rtl_433 process failed to run because of permissions problems. The log also suggests fixing the problem by installing the udev rules file "rtl-sir:rules". You can find this rules file in the rtl-sdr repository: https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules
V4.10 ran as user "root". Fresh V5 installs run as user "weewx", which may not have the permissions necessary to access your device. The rules file gives it these permissions. Alternatively, you could change your install to run under "root". On Tue, Feb 6, 2024 at 1:29 AM Mks Mk <mksm1...@gmail.com> wrote: > The system was running weewx v5.0.0 with no issue then we did the upgrade > to v5.0.1 (sudo apt update) and weewx failed to run. > we downgraded weewx to v5.0.0 but it did not work this time, so we went > back to v4.10.2 and it run just fine. > did the upgrade again and got the same error.so we are back to v4.10.2 > we tested the sdr hardware using rtl_433 and it is working fine. > we are not sure of what to do next! > > log: > weewxd[2386]: INFO __main__: Starting up weewx version 5.0.1 > weewxd[2386]: INFO weewx.engine: Using binding 'wx_binding' to database > 'weewx.sdb' > weewxd[2386]: INFO weewx.manager: Starting backfill of daily summaries > weewxd[2386]: INFO weewx.manager: Daily summaries up to date > weewxd[2386]: INFO weewx.engine: Starting main packet loop. > weewxd[2386]: ERROR user.sdr: rtl_433 version 23.11-41-g06b03b7a branch > master at 202402051043 inputs file rtl_tcp RTL-SDR > weewxd[2386]: ERROR user.sdr: Use "-F log" if you want any messages, > warnings, and errors in the console. > weewxd[2386]: ERROR user.sdr: usb_open error -3 > weewxd[2386]: ERROR user.sdr: Please fix the device permissions, e.g. by > installing the udev rules file rtl-sdr.rules > weewxd[2386]: INFO weewx.engine: Main loop exiting. Shutting engine down. > weewxd[2386]: INFO user.sdr: shutdown process rtl_433 -f 433.7M -s 1024k > -R 40 > weewxd[2386]: Exception in thread stdout-thread: > weewxd[2386]: Traceback (most recent call last): > weewxd[2386]: File "/usr/lib/python3.9/threading.py", line 954, in > _bootstrap_inner > weewxd[2386]: Exception in thread stderr-thread: > weewxd[2386]: Traceback (most recent call last): > weewxd[2386]: File "/usr/lib/python3.9/threading.py", line 954, in > _bootstrap_inner > weewxd[2386]: self.run() > weewxd[2386]: File "/etc/weewx/bin/user/sdr.py", line 197, in run > weewxd[2386]: for line in iter(self._fd.readline, ''): > weewxd[2386]: ValueError: PyMemoryView_FromBuffer(): info->buf must not be > NULL > weewxd[2386]: self.run() > weewxd[2386]: File "/etc/weewx/bin/user/sdr.py", line 197, in run > weewxd[2386]: for line in iter(self._fd.readline, ''): > weewxd[2386]: ValueError: PyMemoryView_FromBuffer(): info->buf must not be > NULL > weewxd[2386]: INFO user.sdr: shutdown complete > weewxd[2386]: CRITICAL __main__: Caught WeeWxIOError: rtl_433 process is > not running > weewxd[2386]: CRITICAL __main__: **** Waiting 60.0 seconds then > retrying... > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/4c62d6c3-d690-49e8-8151-8b9af8dd5b43n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/4c62d6c3-d690-49e8-8151-8b9af8dd5b43n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDiCDBds_YEHWc_HvxOB%2B4C1mnke3XG41mzt%3DKqwX2sqg%40mail.gmail.com.