linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.55k stars 740 forks source link

cinnamon-settings : Can't update the list of extensions, applets, actions and themes #12354

Closed pzim-devdata closed 1 month ago

pzim-devdata commented 2 months ago

Distribution

Debian GNU/Linux trixie/sid

Package version

6.0.4

Graphics hardware in use

Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics]

Frequency

Always

Bug description

when I run cinnamon-settings themes or cinnamon-settings applets or cinnamon-settings actions or cinnamon-settings extensions when I click on the download/update tab nothing happen.

Steps to reproduce

neptune@Neptune:~$ cinnamon-settings themes
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:445: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)
Loading Themes module
Downloading from https://cinnamon-spices.linuxmint.com/json/themes.json?time=1723705112
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 842, in _ui_error_message
    markup += _("\n\nDetails:  %s") % (str(detail))
              ^
UnboundLocalError: cannot access local variable '_' where it is not associated with a value
Downloading from https://cinnamon-spices.linuxmint.com/json/themes.json?time=1723705514
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 842, in _ui_error_message
    markup += _("\n\nDetails:  %s") % (str(detail))
              ^
UnboundLocalError: cannot access local variable '_' where it is not associated with a value
Downloading from https://cinnamon-spices.linuxmint.com/json/themes.json?time=1723705523
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 842, in _ui_error_message
    markup += _("\n\nDetails:  %s") % (str(detail))
              ^
UnboundLocalError: cannot access local variable '_' where it is not associated with a value

neptune@Neptune:~$ cinnamon-settings applets
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:445: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)
Loading Applets module
Downloading from https://cinnamon-spices.linuxmint.com/json/applets.json?time=1723706872
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 842, in _ui_error_message
    markup += _("\n\nDetails:  %s") % (str(detail))
              ^
UnboundLocalError: cannot access local variable '_' where it is not associated with a value

neptune@Neptune:~$ cinnamon-settings actions
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:445: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)
Loading Actions module
/usr/share/gnome/nemo/actions/ does not exist! Skipping
/usr/local/share//nemo/actions/ does not exist! Skipping
[Errno 2] Aucun fichier ou dossier de ce nom: '/usr/share//nemo/actions/__pycache__/metadata.json'
Skipping __pycache__: there was a problem trying to read metadata.json
Downloading from https://cinnamon-spices.linuxmint.com/json/actions.json?time=1723706914
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 842, in _ui_error_message
    markup += _("\n\nDetails:  %s") % (str(detail))
              ^
UnboundLocalError: cannot access local variable '_' where it is not associated with a value
/usr/share/gnome/nemo/actions/ does not exist! Skipping
/usr/local/share//nemo/actions/ does not exist! Skipping
[Errno 2] Aucun fichier ou dossier de ce nom: '/usr/share//nemo/actions/__pycache__/metadata.json'
Skipping __pycache__: there was a problem trying to read metadata.json

neptune@Neptune:~$ cinnamon-settings extensions
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:445: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)
Loading Extensions module
Downloading from https://cinnamon-spices.linuxmint.com/json/extensions.json?time=1723706941
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/Spices.py", line 842, in _ui_error_message
    markup += _("\n\nDetails:  %s") % (str(detail))
              ^
UnboundLocalError: cannot access local variable '_' where it is not associated with a value

Expected behavior

I would like to see all available extensions, applets, actions or themes in the tab

Additional information

No response

rcalixte commented 2 months ago

@pzim-devdata There are a few possibilities of the root cause here but it should be resolved once Cinnamon 6.2 lands in Debian's repositories. These unexpected compatibility issues are the reasons that Debian Testing/Sid are not recommended for daily use.

pzim-devdata commented 2 months ago

Ok thank you. I will wait an update of Cinnamon

EarldridgeJazzedPineda commented 1 month ago

It's because the python3-requests package isn't installed.

pzim-devdata commented 1 month ago

It's working now, thanks :-)

leigh123linux commented 1 month ago

@pzim-devdata You will need to file the issue at the debian bug tracker so they can fix their packaging issue.