Skip to content

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

@iinsertNameHere

Description

@iinsertNameHere

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:
linuxmint/cinnamon@02977f1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions