[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#955594: cinnamon-common: System info looks for non-existant attribute 'linux_distribution', not allowing info to show

Package: cinnamon-common
Version: 4.4.8-2
Severity: normal
Tags: upstream

Dear Maintainer,

Was testing my Ubuntu Cinnamon Remix. Testers reported "System Info" not
working. Ran 'cinnamon-settings' in terminal and SystemInfo returned: "moduel
'platform' has no attribtue 'linux-distribution'. I reported the bug on
Ubuntu's Launchpad (bugs.launchpad.net/ubuntu/+source/cinnamon/+bug/1869565)
and people have found this to be in all Ubuntu, and I have found in unstable
(bullseye) debian. Basically, system info is looking for 'linux_distribution'
but doesn't exist, not allowing it to work. Here is some additional info, you
can find the whole scoop on the launchpad:

Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 670,
in button_press
    self.side_view_nav(widget, None, category)
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 174,
in side_view_nav
    self.go_to_sidepage(cat, filtered_path, user_action=True)
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 189,
in go_to_sidepage
  File "/usr/share/cinnamon/cinnamon-settings/bin/SettingsWidgets.py", line
213, in build
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py", line 149, in
    infos = createSystemInfos()
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py", line 108, in
    s = '%s (%s)' % (' '.join(platform.linux_distribution()), arch)
AttributeError: module 'platform' has no attribute 'linux_distribution'

ProblemType: crash
DistroRelease: Found on Debian and on Ubuntu 20.04.
Package: cinnamon-common 4.4.8-2
Arch: amd64
File: /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py
Source Package: Cinnamon
Kernel: 5.0.4-4
Lang/Locale: English (US)

Can't find any other information that'd be somewhat helpful except cinnamon is
base-and these link to cinnamon-control-center and cinnamon-settings-daemon.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cinnamon-common depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.36.0-1
ii  gettext                            
ii  gir1.2-cinnamondesktop-3.0                   4.4.1-3
ii  gir1.2-meta-muffin-0.0                       4.4.2-3
ii  libglib2.0-bin                               2.64.1-1
ii  python3                                      3.8.2-2
ii  python3-xapp                                 1.8.1-2
ii  xdg-utils                                    1.1.3-2

cinnamon-common recommends no packages.

cinnamon-common suggests no packages.

-- no debconf information

Reply to: