Vince Skahan schrieb am Samstag, 25. November 2023 um 19:02:15 UTC+1: On Saturday, November 25, 2023 at 8:30:15 AM UTC-8 Karen K wrote:
If I insert print(sys.path) into /usr/share/weewx/weecfg/__init__.py I get: ['/usr/share/weewx', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/etc/weewx/bin'] The last item in the path tells me it's looking for /etc/weewx/bin/user/MQTTSubscribe.py Yes. And there the file is indeed located. I seem to recall there was a bug at one point in time for the betas related to where weewx looked for bin/user things and the fix was to copy the file into the expected location. Find where your installation put MQTTSubscribe.py and copy it to /etc/weewx/bin/user and see if that works for you. The file is there and was always there: *user@weewx*:*~*$ ls /etc/weewx/bin/user/ *installer* MQTTSubscribe.py *user@weewx*:*~*$ But there is the error. -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/e8557e16-db9d-48e1-97e5-79fc485deb66n%40googlegroups.com.
