[Pkg-utopia-maintainers] Bug#896303: Bug#896303: python3-blockdev: gi.overrides.BlockDev fails to import

Michael Biebl biebl at debian.org
Sat Apr 21 07:41:26 BST 2018


Control: tags -1 + moreinfo

Am 20.04.2018 um 22:01 schrieb Helmut Grohne:
> Package: python3-blockdev
> Version: 2.16-2
> Severity: serious
> User: helmutg at debian.org
> Usertags: python-import
> 
> After installing python3-blockdev importing the module gi.overrides.BlockDev
> into a python interpreter fails with the following error:
> 
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python3/dist-packages/gi/overrides/BlockDev.py", line 34, in <module>
>     from gi.importer import modules
> ModuleNotFoundError: No module named 'gi.importer'
> 

gi overrides are not supposed to be imported directly.
Those overrides are in effect if the GObject Introspection machinery is
in use, in which case the necessary python packages are already installed.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20180421/b33fe991/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list