Created attachment 727020 [details] runtime error for pympress The minimal code to reproduce this bug is: >>> import gi >>> gi.require_version('Poppler', '0.18') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.9/site-packages/gi/__init__.py", line 126, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Poppler not available Background: I wrote an ebuild for pympress[1]. When I run pympress, the attached error appears. The author of pympress says[2], "Introspection bindings for poppler may be shipped separately, ensure you have those as well (typelib-1_0-Poppler-0_18 on OpenSUSE, gir1.2-poppler-0.18 on Ubuntu)". [1]: https://github.com/Cimbali/pympress [2]: https://github.com/Cimbali/pympress#dependencies
Do you have poppler[introspection]?
Enabling introspection do solve this problem. Thanks.