Sorry, I don't know.  Perhaps copy it to the same place the Vantage driver 
is in and just reference it similarly as a workaround.

On Saturday, November 25, 2023 at 10:12:25 AM UTC-8 Karen K wrote:

> 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/002e1519-a98f-491b-a06c-71e42ae92cb2n%40googlegroups.com.

Reply via email to