void-linux / void-linux/void-packages

cinnamon 6.4.13_2 Applets/Desklets/Themes Download tab crashes with TypeError

Open Beginner friendly
#61,088 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 7.1.0_1 x86_64 GenuineIntel notuptodate r

Package(s) Affected

cinnamon-6.4.13_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

This appears to be the same issue as Ubuntu bug #2152641:
https://www.mail-archive.com/ubuntu-bugs%40lists.ubuntu.com/msg6276796.html

The Ubuntu bug references an upstream Cinnamon fix:
https://github.com/linuxmint/cinnamon/commit/02977f15dbb0ffc55ae28b3f52d955cd7c63a84e

Expected behaviour

Opening Cinnamon Settings -> Applets, Desklets, Extensions, or Themes and selecting the Download tab should display the list of available items from the Cinnamon Spices repository.

The download page should populate normally and allow browsing and installation of applets, desklets, extensions, and themes without errors.

Actual behaviour

The Download tab in Cinnamon Settings does not display any available Applets, Desklets, Extensions, or Themes.

When opening the Applets/Desklets/Themes download section, the list remains empty. Running cinnamon-settings from a terminal shows an exception:

Loading Applets module
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py", line 1060, in on_page_shown
    self.build_list()
    ~~~~~~~~~~~~~~~^^
  File "/usr/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py", line 1034, in build_list
    row = DownloadSpicesRow(uuid, data, self.spices, size_groups)
  File "/usr/share/cinnamon/cinnamon-settings/bin/ExtensionCore.py", line 770, in __init__
    score_label = Gtk.Label(self.score)
  File "/usr/lib/python3.14/site-packages/gi/overrides/__init__.py", line 357, in new_init
    return super_init_func(self, **new_kwargs)
TypeError: Must be string, not int

The issue appears to be caused by the Spice metadata "score" value being returned as an integer while cinnamon-settings expects a string.

Steps to reproduce
  1. Install Cinnamon 6.4.13.
  2. Open Cinnamon Settings from the terminal: cinnamon-settings applets
  3. Select the "Download" tab.
  4. Wait for the list of available items from Cinnamon Spices to load.

The Download tab fails to populate and an exception is raised:
TypeError: Must be string, not int

The same issue also occurs with Desklets, Extensions, and Themes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ExtensionCore.py traceback, especially DownloadSpicesRow and the Gtk.Label call, then compare the referenced upstream Cinnamon commit 02977f15dbb0ffc55ae28b3f52d955cd7c63a84e. Reproduce with cinnamon-settings applets and verify that the Download tabs for applets, desklets, extensions, and themes populate without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.