I've had weewx 4.5.1 running fine in a Ubuntu 20.10 virtual machine, with 
mqtt-subscribe and the usr.sdr driver for about 9 months.

I just tried to update my Ubuntu virtual machine from 20.10 to 21.04.
(I took a snapshot of the VM before I updated, so I could revert back to a 
working system.)
Upon restart, weewx bomed out with errors.

Does it look like the same as above - missing python3-paho-mqtt package?
Maybe the Ubuntu update removed the python3-paho-mqtt package?
Are the errors with config_dict related or a different broken package?

Pointers appreciated.
Eric
On Saturday, November 13, 2021 at 3:42:45 PM UTC-6 [email protected] 
wrote:

> You're missing a paho package for python, and need to install it. if you 
> installation is using python3, "sudo apt-get install python3-paho-mqtt" 
> should do the trick.
>
> On Sun, 14 Nov 2021 at 05:17, miso k <[email protected]> wrote:
>
>> Hello together,
>> I have installed latest OS to my raspberry - Bullseye.
>> during the WeeWX start I get this message:
>>
>> Nov 13 19:14:46 WeeWX weewx[2941] INFO user.interceptor: shutting down 
>> server thread
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__: Caught unrecoverable 
>> exception:
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****  No module 
>> named 'paho'
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****  Traceback 
>> (most recent call last):
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/weewxd", line 151, in main
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      engine 
>> = weewx.engine.StdEngine(config_dict)
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      
>> self.loadServices(config_dict)
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      obj = 
>> weeutil.weeutil.get_object(svc)(self, config_dict)
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      mod = 
>> __import__(module)
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File 
>> "/usr/share/weewx/user/MQTTSubscribe.py", line 300, in <module>
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      import 
>> paho.mqtt.client as mqtt
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****  
>> ModuleNotFoundError: No module named 'paho'
>> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****  Exiting.
>>
>> what is wrong? do I need to change something?
>>
>> thanks
>> Michal
>>
>> -- 
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/29ced556-10b5-431a-a3b5-37641afb9a6cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/29ced556-10b5-431a-a3b5-37641afb9a6cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
>
>   "I and the public know
>   what all schoolchildren learn
>   Those to whom evil is done
>   Do evil in return"          W.H. Auden, "September 1, 1939"
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d1b3b8be-ee7c-4264-88da-25f7e9a296c6n%40googlegroups.com.

Reply via email to