virt-manager blank list, wont connect

Bug #331835 reported by Eric Butler
2
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: virt-manager

virt-manager 0.6.1-1ubuntu1 isn't working. Running with "--no-fork --debug" shows the following error:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/manager.py", line 1135, in _add_connection
    self._append_connection(vmlist.get_model(), conn)
  File "/usr/share/virt-manager/virtManager/manager.py", line 512, in _append_connection
    row.insert(ROW_NAME, conn.get_short_hostname())
  File "/usr/share/virt-manager/virtManager/connection.py", line 257, in get_short_hostname
    elif sys.getuid() == 0:
AttributeError: 'module' object has no attribute 'getuid'

Replacing line 257 with os.getuid() instead of sys.getuid() fixes the problem.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virt-manager - 0.6.1-1ubuntu2

---------------
virt-manager (0.6.1-1ubuntu2) jaunty; urgency=low

  * getuid() is in the os module, not the sys module (LP: #331835)
  * Update bzr reference in debian/control.

 -- Soren Hansen <email address hidden> Fri, 20 Feb 2009 16:34:08 +0100

Changed in virt-manager:
status: New → Fix Released
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.