[hardy] /usr/share/virt-manager/virt-manager.py python traceback

Bug #214240 reported by Sol Jerome
2
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: virt-manager

Description: Ubuntu hardy (development branch)
Release: 8.04

virt-manager:
  Installed: 0.5.3-0ubuntu8
  Candidate: 0.5.3-0ubuntu8
  Version table:
 *** 0.5.3-0ubuntu8 0
        500 http://ftp.utexas.edu hardy/universe Packages
        100 /var/lib/dpkg/status

The virt-manager.py script fails apparently because it is looking in the wrong place:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 304, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 214, in main
    setup_pypath()
  File "/usr/share/virt-manager/virt-manager.py", line 60, in setup_pypath
    if os.path.exists(os.getcwd() + "../gnome/help/virt-manager/C/virt-manager.xml"):
  File "/usr/lib/python2.5/posixpath.py", line 171, in exists
    st = os.stat(path)
KeyboardInterrupt

Commenting out lines 60/61 of virt-manager.py and adding:

data_dir = "/usr/share"

Gets rid of the above traceback.

Revision history for this message
Soren Hansen (soren) wrote :

You're supposed to run it as just "virt-manager", not run virt-manager.py directly.

Changed in virt-manager:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.