Closed poschi3 closed 3 weeks ago
I found out that importlib.metadata
was introduced in Python 3.8 and is no longer provisional from 3.10.
I found out, that python in snap environment is to old:
poschi@bart-nb:~$ snap run --shell indicator-sound-switcher
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
poschi@bart-nb:/home/poschi$ python3 --version
Python 3.6.9
From snapcraft.yaml I can see that the package is based on core18 https://github.com/yktoo/indicator-sound-switcher/blob/01018d288999683c5ab8bd47b65e7b5ee4aff219/snap/snapcraft.yaml#L2 which means Ubuntu 18.04 LTS (Bionic Beaver).
May be it is possible to update core version?
I have the same issue on 22.04.4 with snap package so I decided to remove snap and install indicator-sound-switcher from PPA.
$ snap remove indicator-sound-switcher
$ sudo apt-add-repository ppa:yktooo/ppa
$ sudo apt-get update
$ sudo apt-get install indicator-sound-switcher
It works fine as my Python version is 3.10.12
$ python3 --version
Python 3.10.12
You may consider this as workaround :-)
Yes I'm aware of the problem and looking for a solution. Unfortunately, switching base in a snap is a hassle (mildly put), because the differences between different bases are huge and poorly documented.
Thank you! It is working fine now :-)
Describe the bug I updated to version 2.3.10 (snap) and indicator-sound-switcher is not starting anymore.
To Reproduce Steps to reproduce the behavior:
Expected behavior Indicator is in top bar
Console output
Desktop (please complete the following information):
Indicator config: I have no
~/.config/indicator-sound-switcher.json
or~/snap/indicator-sound-switcher/current/.config/indicator-sound-switcher.json
(folder~/snap/indicator-sound-switcher/current/.config
exists)Indicator log:
Additional context Add any other context about the problem here.