Error after ugrade debian 10 to debian 11

52 views
Skip to first unread message

didier....@gmail.com

unread,
Feb 28, 2022, 5:56:33 AM2/28/22
to weewx-user
Hi everybody

I have upgraded my debian 10 (buster) to debian 11 (bullseye) following this procedure: 

  1. During first step (10.4 to 10.11) it's ok but I have to replace weewx.conf by the copy (before upgrade)
  2. During second step (10.11 to 11) the upgrade seems to be OK but I have this error:

Traceback (most recent call last):
  File "/usr/share/weewx/wee_reports", line 102, in <module>
    main()
  File "/usr/share/weewx/wee_reports", line 66, in main
    engine = weewx.engine.DummyEngine(config_dict)
  File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
    self.loadServices(config_dict)
  File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
    obj = weeutil.weeutil.get_object(svc)(self, config_dict)
  File "/usr/share/weewx/weeutil/weeutil.py", line 1150, in get_object
    mod = __import__(module)
  File "/usr/share/weewx/user/mqtt.py", line 100, in <module>
    import paho.mqtt.client as mqtt
ModuleNotFoundError: No module named 'paho'

Could you help me
Thank's

Tom Keffer

unread,
Feb 28, 2022, 8:49:50 AM2/28/22
to weewx-user
You need to install paho-mqtt. See the README file for the MQTT extension.

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/fc6e209e-90df-4626-9163-0ff2689b4932n%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages