For me :
sudo pip3 install paho-mqtt
eliminated my error after the upgrade of ubuntu from 20.04 to 22.04.1

On Friday, September 2, 2022 at 8:43:06 PM UTC-7 purc...@maladomini.com 
wrote:

> Hi all,
>
> I updated Ubuntu to the latest version (22.04.01), and since then, I 
> haven't been able to get it to update. So in troubleshooting it, I thought 
> I would update everything else while I was at it. 
>
> I did an update to Weewx 4.8
> I updated the GW1000 driver to gw1000-0.5.0b5
>
> This is the error I am getting, and Weewx isn't running. Any suggestions 
> on getting it back up and running? Thanks!
>
>     Process: 807 ExecStart=/home/weewx/bin/weewxd /home/weewx/weewx.conf 
> (code=exited, status=1/FAILURE)
>    Main PID: 807 (code=exited, status=1/FAILURE)
>         CPU: 787ms
>
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     
> ****    File "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     
> ****      obj = weeutil.weeutil.get_object(svc)(self, config_dict)
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     
> ****    File "/home/weewx/bin/weeutil/weeutil.py", line 1150, in get_object
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     
> ****      mod = __import__(module)
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     
> ****    File "/home/weewx/bin/user/mqtt.py", line 100, in <module>
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     
> ****      import paho.mqtt.client as mqtt
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     
> ****  ModuleNotFoundError: No module named 'paho'
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     
> ****  Exiting.
> Sep 02 18:49:26 weewx-pi systemd[1]: weewx.service: Main process exited, 
> code=exited, status=1/FAILURE
>

-- 
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/5cc1c196-4165-4a40-ae8c-f330814a0409n%40googlegroups.com.

Reply via email to