I'm rolled back into my working snapshot of Ubuntu 20.10. Python3 is/was installed and running. I did a locate to see where the files are, so I can look for them after another upgrade attempt: weewx@Ubuntu20-WEEWX:~$ locate paho /usr/local/lib/python3.8/dist-packages/paho /usr/local/lib/python3.8/dist-packages/paho_mqtt-1.5.1.dist-info /usr/local/lib/python3.8/dist-packages/paho/__init__.py /usr/local/lib/python3.8/dist-packages/paho/__pycache__ /usr/local/lib/python3.8/dist-packages/paho/mqtt /usr/local/lib/python3.8/dist-packages/paho/__pycache__/__init__.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__init__.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__ /usr/local/lib/python3.8/dist-packages/paho/mqtt/client.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/matcher.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/packettypes.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/properties.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/publish.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/reasoncodes.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/subscribe.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/subscribeoptions.py /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/__init__.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/client.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/matcher.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/packettypes.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/properties.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/publish.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/reasoncodes.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/subscribe.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho/mqtt/__pycache__/subscribeoptions.cpython-38.pyc /usr/local/lib/python3.8/dist-packages/paho_mqtt-1.5.1.dist-info/INSTALLER /usr/local/lib/python3.8/dist-packages/paho_mqtt-1.5.1.dist-info/LICENSE.txt /usr/local/lib/python3.8/dist-packages/paho_mqtt-1.5.1.dist-info/METADATA /usr/local/lib/python3.8/dist-packages/paho_mqtt-1.5.1.dist-info/RECORD /usr/local/lib/python3.8/dist-packages/paho_mqtt-1.5.1.dist-info/WHEEL /usr/local/lib/python3.8/dist-packages/paho_mqtt-1.5.1.dist-info/top_level.txt On Tuesday, December 28, 2021 at 5:38:19 PM UTC-6 tke...@gmail.com wrote:
> I very much doubt the update deleted anything. More likely, the default > version of Python changed from 2 to 3. Were you using Python 2 before? > > In any case, the fix is pretty easy: just install paho for whatever > version of Python you are using. > > On Tue, Dec 28, 2021 at 3:31 PM Eric K <eric.k...@gmail.com> wrote: > >> I saw this thread and the symptoms are VERY similar if not the same: >> https://groups.google.com/g/weewx-user/c/LS5QyRlJNU4/m/UtBjwkssAgAJ >> >> I've had a working weewx 4.5.1 system running inside Ubuntu 20.10 virtual >> machine for about 9 months. I'm running the user.sdr driver and >> MQTTsubscribe. >> >> I just tried to update from Ubuntu 20.10 to Ubuntu 21.04 and upon restart >> weewx generated errors. >> (I made a snapshot of the virtual machine before the upgrade so I just >> rolled back after I saw the errors.) >> [image: errors after Ubuntu 21.04 update.JPG] >> Does it look like the Ubuntu update removed the paho.mqtt.client software >> that I installed as a dependency for MQTTsubscribe? >> >> Thanks for any pointers. >> Eric >> >> -- >> 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/e519bcc3-9b08-409a-83ea-389981d58446n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/e519bcc3-9b08-409a-83ea-389981d58446n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/e5370695-16af-4cb9-b47a-21a0259db6d8n%40googlegroups.com.