| Summary: | app-emulation/virt-manager-2.0.0 fails to start due to circular import of virt-manager.config with python3.4.8 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Phil Turmel <philip-gbz> |
| Component: | Current packages | Assignee: | Virtualization Team <virtualization> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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. Wit the demise of python-3.4 this became obsolete. |
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 ~