Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675130 - media-sound/gpodder-3.10.5 should depend on x11-libs/gtk+[introspection] - ValueError: Namespace Gdk not available
Summary: media-sound/gpodder-3.10.5 should depend on x11-libs/gtk+[introspection] - Va...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-10 18:35 UTC by Marko Djordjevic
Modified: 2020-08-30 09:38 UTC (History)
1 user (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 Marko Djordjevic 2019-01-10 18:35:04 UTC
This is error when starting gpodder without +introspection:

________________

1547091537.804213 [gpodder.log] ERROR: Uncaught exception: Traceback (most recent call last):
  File "/usr/bin/gpodder", line 158, in <module>
    main()
  File "/usr/bin/gpodder", line 150, in main
    from gpodder.gtkui import main
  File "/usr/lib64/python3.6/site-packages/gpodder/gtkui/main.py", line 47, in <module>
    from gpodder.gtkui import shownotes
  File "/usr/lib64/python3.6/site-packages/gpodder/gtkui/shownotes.py", line 25, in <module>
    from gpodder.gtkui.draw import (draw_text_box_centered, get_background_color,
  File "/usr/lib64/python3.6/site-packages/gpodder/gtkui/draw.py", line 34, in <module>
    gi.require_version('Gdk', '3.0')  # isort:skip
  File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available

Traceback (most recent call last):
  File "/usr/bin/gpodder", line 158, in <module>
    main()
  File "/usr/bin/gpodder", line 150, in main
    from gpodder.gtkui import main
  File "/usr/lib64/python3.6/site-packages/gpodder/gtkui/main.py", line 47, in <module>
    from gpodder.gtkui import shownotes
  File "/usr/lib64/python3.6/site-packages/gpodder/gtkui/shownotes.py", line 25, in <module>
    from gpodder.gtkui.draw import (draw_text_box_centered, get_background_color,
  File "/usr/lib64/python3.6/site-packages/gpodder/gtkui/draw.py", line 34, in <module>
    gi.require_version('Gdk', '3.0')  # isort:skip
  File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available


________________

And is working nicely after adding x11-libs/gtk+[introspection].
Comment 1 Brand Huntsman 2020-07-05 20:14:49 UTC
This is no longer valid now that dev-python/pygobject requires instrospection on its dependencies.
Comment 2 Miroslav Šulc gentoo-dev 2020-08-30 09:38:01 UTC
thanks, closing