Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940355 - [guru] gui-apps/nwg-panel-0.9.38: should depend on gui-libs/gtk-layer-shell[introspection]
Summary: [guru] gui-apps/nwg-panel-0.9.38: should depend on gui-libs/gtk-layer-shell[i...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pascal Jäger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-28 02:49 UTC by dev
Modified: 2024-10-09 05:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dev 2024-09-28 02:49:30 UTC
nwg-panel crashes on startup with the following error when gtk-layer-shell is installed without the introspection use flag enabled:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/nwg_panel/main.py", line 22, in <module>
    gi.require_version('GtkLayerShell', '0.1')
  File "/usr/lib/python3.12/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GtkLayerShell not available

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/nwg-panel", line 5, in <module>
    from nwg_panel.main import main
  File "/usr/lib/python3.12/site-packages/nwg_panel/main.py", line 25, in <module>
    raise RuntimeError('\n\n' +
RuntimeError: 

If you haven't installed GTK Layer Shell, you need to point Python to the
library by setting GI_TYPELIB_PATH and LD_LIBRARY_PATH to <build-dir>/src/.
For example you might need to run:

GI_TYPELIB_PATH=build/src LD_LIBRARY_PATH=build/src python3 /usr/lib/python-exec/python3.12/nwg-panel



To resolve, nwg-panel should depend on gtk-layer-shell[introspection]. See also bug 933285, which is the same issue on another app within this project.
Comment 1 Pascal Jäger 2024-10-08 12:05:40 UTC
fixed with 0.9.39 and in 9999

thanks
Comment 2 Larry the Git Cow gentoo-dev 2024-10-08 14:36:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3200f4e4e3b1afe1a755b3a206841c90800cbc55

commit 3200f4e4e3b1afe1a755b3a206841c90800cbc55
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2024-10-08 11:47:47 +0000
Commit:     Pascal Jäger <pascal.jaeger@leimstift.de>
CommitDate: 2024-10-08 11:47:47 +0000

    gui-apps/nwg-panel: add 0.9.39
    
    Closes: https://bugs.gentoo.org/940355
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>

 gui-apps/nwg-panel/Manifest                |  1 +
 gui-apps/nwg-panel/nwg-panel-0.9.39.ebuild | 53 ++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
Comment 3 dev 2024-10-09 05:05:27 UTC
(In reply to Pascal Jäger from comment #1)
> fixed with 0.9.39 and in 9999
> 
> thanks

Thank you!