You are not logged in.

#1 2019-09-21 03:06:34

darthpenguin
Member
Registered: 2011-09-16
Posts: 113

[Solved] cinnamon-control-center Preferred Applications will not load.

when I type

cinnamon-settings default

in the terminal I get this data back. The setting panel to set default applications does not launch. It looks like a bug in the python code for that module. Is this something I can fix on my computer? If not where do I file bug reports for cinnamon applications?

[user@computer ~]$ cinnamon-settings default
True
Using pam module (python3-pampy)
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:423: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)
Loading Default module
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 724, in <module>
    window = MainWindow()
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 428, in __init__
    self.go_to_sidepage(cat, path, user_action=False)
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 185, in go_to_sidepage
    sidePage.build()
  File "/usr/share/cinnamon/cinnamon-settings/bin/SettingsWidgets.py", line 123, in build
    self.module.on_module_selected()
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py", line 520, in on_module_selected
    self.other_type_dialog = OtherTypeDialog(self.media_settings, self.sidePage.window)
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py", line 419, in __init__
    list_store.append([self.getDescription(content_type), content_type])
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py", line 455, in getDescription
    if description == None:
UnboundLocalError: local variable 'description' referenced before assignment

Last edited by darthpenguin (2019-09-22 03:38:07)

Offline

#2 2019-09-21 20:15:14

fijit
Member
Registered: 2012-07-06
Posts: 24

Re: [Solved] cinnamon-control-center Preferred Applications will not load.

I don't know whether this has been reported upstream but fedora has included a one-line patch that fixes this: https://src.fedoraproject.org/rpms/cinn … ault.patch

Offline

#3 2019-09-22 03:37:47

darthpenguin
Member
Registered: 2011-09-16
Posts: 113

Re: [Solved] cinnamon-control-center Preferred Applications will not load.

That is the fix. Thanks. I hope it gets reported upstream and is fixed in the next version. I just added the missing line to the python file myself.

Offline

#4 2019-09-22 15:55:52

fijit
Member
Registered: 2012-07-06
Posts: 24

Re: [Solved] cinnamon-control-center Preferred Applications will not load.

For the record, it looks like the cinnamon upstream bugtracker is on github, and it has been fixed there. https://github.com/linuxmint/cinnamon/issues/8853

Offline

Board footer

Powered by FluxBB