Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910598 - sys-apps/system-monitoring-center should depend on gui-libs/libadwaita
Summary: sys-apps/system-monitoring-center should depend on gui-libs/libadwaita
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 20:19 UTC by Brandon
Modified: 2023-07-24 17:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info sys-apps/system-monitoring-center (emerge--info.txt,19.58 KB, text/plain)
2023-07-20 20:19 UTC, Brandon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon 2023-07-20 20:19:00 UTC
Created attachment 865835 [details]
emerge --info sys-apps/system-monitoring-center

This one should be a simple fix. On my system, gui-libs/libadwaita was not already installed causing system-monitoring-center to crash with the following:

Traceback (most recent call last):
  File "/usr/share/system-monitoring-center/systemmonitoringcenter/Main.py", line 18, in on_activate
    from .MainWindow import MainWindow
  File "/usr/share/system-monitoring-center/systemmonitoringcenter/MainWindow.py", line 6, in <module>
    gi.require_version('Adw', '1')
  File "/usr/lib/python3.11/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Adw not available


Installing the missing package fixed the issue, so this should probably be added as a dependency of system-monitoring-center. I am on Wayland (Hyprland) if that matters at all.
Comment 1 Larry the Git Cow gentoo-dev 2023-07-24 17:57:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0f7eb99cb58fc48a5b701947e624646f2567159

commit c0f7eb99cb58fc48a5b701947e624646f2567159
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-07-24 17:56:05 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-07-24 17:57:10 +0000

    sys-apps/system-monitoring-center: add libadwaita dependency
    
    Closes: https://bugs.gentoo.org/910598
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 ...ng-center-2.14.0.ebuild => system-monitoring-center-2.14.0-r1.ebuild} | 1 +
 ...ng-center-2.16.1.ebuild => system-monitoring-center-2.16.1-r1.ebuild} | 1 +
 ...ng-center-2.17.2.ebuild => system-monitoring-center-2.17.2-r1.ebuild} | 1 +
 ...ng-center-2.18.3.ebuild => system-monitoring-center-2.18.3-r1.ebuild} | 1 +
 sys-apps/system-monitoring-center/system-monitoring-center-9999.ebuild   | 1 +
 5 files changed, 5 insertions(+)