| Miremos el error con detenimiento:
WARNING Kazam - Failed to correctly detect operating system.
Traceback (most recent call last):
File "/usr/bin/kazam", line 148, in <module>
from kazam.app import KazamApp
File "/usr/lib/python3/dist-packages/kazam/app.py", line 35, in <module>
from kazam.backend.prefs import *
File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 478, in <module>
prefs = Prefs()
File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 121, in __init__
self.read_config()
File "/usr/lib/python3/dist-packages/kazam/backend/prefs.py", line 199, in read_config
self.audio_source = int(self.config.get("main", "audio_source"))
File "/usr/lib/python3/dist-packages/kazam/backend/config.py", line 106, in get
self.set(section, key, default)
File "/usr/lib/python3/dist-packages/kazam/backend/config.py", line 125, in set
super().set(section, option, str(value))
File "/usr/lib/python3.9/configparser.py", line 1204, in set
super().set(section, option, value)
File "/usr/lib/python3.9/configparser.py", line 902, in set
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'main'
| Al editar el archivo: /usr/lib/python3.9/configparser.py" - line 902
def set(self, section, option, value=None):
"""Set an option."""
if value:
value = self._interpolation.before_set(self, section, option,
value)
if not section or section == self.default_section:
sectdict = self._defaults
else:
try: # TRY THIS -->
sectdict = self._sections[section] # <-- ESTO PROVOCA EL ERROR. [section='main']
except KeyError:
raise NoSectionError(section) from None ### <--ERROR
sectdict[self.optionxform(option)] = value
| Intentemos reinstalar configparser
sudo pip3 uninstall configparser
sudo pip3 install configparser
Mi problema se solucionó con reinstalar configparser, si no te funciona intenta reinstalar la versión de python que usas:
| Reinstalar python3
sudo apt reinstall python3
| Reinstalar kazam
apt reinstall kazam
kazam
| Luego corre kazam y configura en preferencias el sonido.
WARNING: No purges python3 por que se podría eliminar la versión por defecto del sistema, si esto sucede tendrás que seguir estos datos:
sudo apt update && upgrade
sudo apt --fix-broken install
sudo apt install python