And, what does it look like after the upgrade? Did the upgrade leave you
with a later version of Python? Perhaps 3.9?

Don't know why you're worrying about this. Why not just reinstall and be
done with it?

On Tue, Dec 28, 2021 at 3:46 PM Eric K <eric.koes...@gmail.com> wrote:

> 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
> <https://groups.google.com/d/msgid/weewx-user/e5370695-16af-4cb9-b47a-21a0259db6d8n%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/CAPq0zEAx_-DQZ%3D5BxzTv7s940HrOjJ%2B2kwHpvQna8_7CYoKJTw%40mail.gmail.com.

Reply via email to