Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#26784 - [virt-manager] virt-manager-tui crashes

Attached to Project: Community Packages
Opened by frits (frots) - Monday, 07 November 2011, 19:02 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 31 January 2012, 11:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When starting the virt-manager-tui binary, it instantly crashes. It appears the python module 'newt_syrup' is unavailable.

Additional info:
virt-manager 0.9.0-1

Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager-tui.py", line 20, in <module>
from newt_syrup.dialogscreen import DialogScreen
ImportError: No module named newt_syrup.dialogscreen



Steps to reproduce:
run virt-manager-tui
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 31 January 2012, 11:48 GMT
Reason for closing:  Fixed
Comment by frits (frots) - Saturday, 31 December 2011, 18:18 GMT
  • Field changed: Percent Complete (100% → 0%)
Hi,

Thanks for the quick fix. I just installed this version, but it still crashes upon start:


Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager-tui.py", line 20, in <module>
from newt_syrup.dialogscreen import DialogScreen
File "/usr/lib/python2.7/site-packages/newt_syrup/dialogscreen.py", line 19, in <module>
from snack import *
ImportError: No module named snack
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 24 January 2012, 12:46 GMT
Able to reproduce. This is what I get when running virt-manager-tui:

Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager-tui.py", line 20, in <module>
from newt_syrup.dialogscreen import DialogScreen
ImportError: No module named newt_syrup.dialogscreen

virt-manager 0.9.0-3

x86_64.
Comment by Sergej Pupykin (sergej) - Wednesday, 25 January 2012, 09:22 GMT
which version of newt-syrup package do you use?
Comment by Alexander F. Rødseth (xyproto) - Thursday, 26 January 2012, 15:58 GMT
newt-syrup 0.1.2-2
libnewt 0.52.12-3

When using running virt-manager-tui now, I get:

│ No module named libuser ▒ │
│ ▒ │
│ Traceback (most recent call last): ▒ │
│ File ▒ │
│ "/usr/share/virt-manager/virt-manager- ▒ │
│ tui.py", line 92, in <module> ▒ │
│ main() ▒ │
│ File ▒ │
│ "/usr/share/virt-manager/virt-manager- ▒ │
│ tui.py", line 87, in main ▒ │
│ from virtManagerTui.mainmenu ▒ │
│ import MainMenu ▒ │
│ File ▒ │
│ "/usr/share/virt-manager/virtManagerTu ▒ │
│ i/__init__.py", line 19, in <module> ▒ │
│ from nodeadmin import NodeAdmin ▒ │
│ File ▒ │
│ "/usr/share/virt-manager/virtManagerTu ▒ │
│ i/nodeadmin.py", line 23, in <module> ▒ │
│ from mainmenu import MainMenu ▒ │
│ File ▒ │
│ "/usr/share/virt-manager/virtManagerTu ▒ │
│ i/mainmenu.py", line 21, in <module> ▒ │
│ from nodemenu import NodeMenu ▒ │
│ File ▒ │
│ "/usr/share/virt-manager/virtManagerTu ▒ │
│ i/nodemenu.py", line 28, in <module> ▒ │
│ from createuser import ▒ │
│ CreateUser ▒ │
│ File ▒ │
│ "/usr/share/virt-manager/virtManagerTu ▒ │
│ i/createuser.py", line 23, in <module> ▒ │
│ from userworker import UserWorker ▒ │
│ File ▒ │
│ "/usr/share/virt-manager/virtManagerTu ▒ │
│ i/userworker.py", line 19, in <module> ▒ │
│ import libuser ▒ │
│ ImportError: No module named libuser ▒ │
Comment by Sergej Pupykin (sergej) - Thursday, 26 January 2012, 16:01 GMT
you need optdepends:
libuser: for virt-manager-tui
python2-ipy: for virt-manager-tui
newt-syrup: for virt-manager-tui
it works for me. At least I can start it.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 26 January 2012, 17:49 GMT
Works here now. It needs python-ipy. Perhaps one or more of the optional dependencies should be regular dependencies?

Loading...