Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My Weather indicator stopped working in Ubuntu 22.04 #136

Closed
freewee opened this issue Sep 8, 2024 · 2 comments
Closed

My Weather indicator stopped working in Ubuntu 22.04 #136

freewee opened this issue Sep 8, 2024 · 2 comments
Assignees

Comments

@freewee
Copy link

freewee commented Sep 8, 2024

Hi
I get My-weather-indicator working on Ubuntu 24.04 after some problems, but it stopped working on a laptop with Ubuntu 22.04 after an update, with this error:

/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 35, in
from myweatherindicator import main
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 29, in
from datetime import datetime, UTC
ImportError: cannot import name 'UTC' from 'datetime' (/usr/lib/python3.10/datetime.py)
What can I do ? Thank you!

@adefaria
Copy link

adefaria commented Sep 8, 2024

Me too! I've been working on this trying to resolve it but apparently this is a known issue.

I also have a problem of whenever I reboot and my-weather-indicator comes up it colors the background oddly and if I restart it it comes out OK.

@freewee
Copy link
Author

freewee commented Sep 9, 2024

Solved with the last update for me Thank you!

@atareao atareao closed this as completed Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants