Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670492 - app-emulation/virt-manager-2.0.0 fails to start due to circular import of virt-manager.config with python3.4.8
Summary: app-emulation/virt-manager-2.0.0 fails to start due to circular import of vir...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-06 15:07 UTC by Phil Turmel
Modified: 2019-07-01 16:23 UTC (History)
0 users

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 Phil Turmel 2018-11-06 15:07:27 UTC
Works with python 3.5 and 3.6. Seems a python version check is in order.  Fails with python 3.4 like so:

$ virt-manager --debug
[Tue, 06 Nov 2018 09:44:48 virt-manager 15354] DEBUG (cli:200) Launched with command line: /usr/share/virt-manager/virt-manager --debug
[Tue, 06 Nov 2018 09:44:48 virt-manager 15354] DEBUG (virt-manager:176) virt-manager version: 2.0.0
[Tue, 06 Nov 2018 09:44:48 virt-manager 15354] DEBUG (virt-manager:177) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.py'>
[Tue, 06 Nov 2018 09:44:48 virt-manager 15354] DEBUG (virt-manager:84) Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 74, in _import_gtk
    import virtManager.config
  File "/usr/share/virt-manager/virtManager/config.py", line 16, in <module>
    from .inspection import vmmInspection
  File "/usr/share/virt-manager/virtManager/inspection.py", line 11, in <module>
    from .baseclass import vmmGObject
  File "/usr/share/virt-manager/virtManager/baseclass.py", line 19, in <module>
    from . import config
ImportError: cannot import name 'config'

cannot import name 'config': Could not open display: :0
corvus philip ~
Comment 1 Th 2019-01-08 20:32:04 UTC
As this ticket is still in state UNCONFIRMED: I had the same issue, python3.4 was my first preferred version in 'eselect python'

Switching to a newer version solved it for me.
Comment 2 Matthias Maier gentoo-dev 2019-07-01 16:23:36 UTC
Wit the demise of python-3.4 this became obsolete.