Re: virt-manager GtkVnc Error

2014-10-21 Thread Jasper Lievisse Adriaanse
On Thu, Oct 16, 2014 at 11:28:20PM -0400, Predrag Punosevac wrote:
 I am trying to use virt-manager on a snapshot both OS and ports from
 10th of August (should be very close to November 1st release).
 
 predrag@oko$ uname -a
 OpenBSD oko.bagdala2.net 5.6 GENERIC.MP#333 amd64
 
 virt-manager compiles and runs fine. I can see the status of all KVM
 hosts on the remote location (btw I am using openconnect to connect to
 that location and it works like a charm). However trying to open vnc for
 a particular machine gives error 
 
 
 Error launching details: cannot import name GtkVnc
 
 Traceback (most recent call last):
   File /usr/local/share/virt-manager/virtManager/engine.py, line 803,
 in _show_vm_helper
 details = self._get_details_dialog(uri, uuid)
   File /usr/local/share/virt-manager/virtManager/engine.py, line 760,
 in _get_details_dialog
 obj = vmmDetails(con.get_vm(uuid))
   File /usr/local/share/virt-manager/virtManager/details.py, line 488,
 in __init__
 from virtManager.console import vmmConsolePages
   File /usr/local/share/virt-manager/virtManager/console.py, line 27,
 in module
 from gi.repository import GtkVnc
 
 
 Since this is a new port has anybody managed Vnc to work.
 
 Most Kind Regards,
 Predrag Punosevac
This has been fixed, thanks for the report.
 
 P.S. I also notice that memory, disk, and network can't be displayed.
 CPU usage both guest and host works fine.
You need to enable that via Edit - Preferences - Poll $item



Re: virt-manager GtkVnc Error

2014-10-17 Thread Antoine Jacoutot
On Thu, Oct 16, 2014 at 11:28:20PM -0400, Predrag Punosevac wrote:
 I am trying to use virt-manager on a snapshot both OS and ports from
 10th of August (should be very close to November 1st release).
 
 predrag@oko$ uname -a
 OpenBSD oko.bagdala2.net 5.6 GENERIC.MP#333 amd64
 
 virt-manager compiles and runs fine. I can see the status of all KVM
 hosts on the remote location (btw I am using openconnect to connect to
 that location and it works like a charm). However trying to open vnc for
 a particular machine gives error 
 
 
 Error launching details: cannot import name GtkVnc

$ pkglocate GtkVnc 
gtk-vnc-0.5.3p2:x11/gtk-vnc:/usr/local/lib/girepository-1.0/GtkVnc-2.0.typelib
gtk-vnc-0.5.3p2:x11/gtk-vnc:/usr/local/share/gir-1.0/GtkVnc-2.0.gir

Did you try installing that?

-- 
Antoine



Re: virt-manager GtkVnc Error

2014-10-17 Thread Predrag Punosevac
Antoine Jacoutot ajacou...@bsdfrog.org wrote:

 On Thu, Oct 16, 2014 at 11:28:20PM -0400, Predrag Punosevac wrote:
  I am trying to use virt-manager on a snapshot both OS and ports from
  10th of August (should be very close to November 1st release).
  
  predrag@oko$ uname -a
  OpenBSD oko.bagdala2.net 5.6 GENERIC.MP#333 amd64
  
  virt-manager compiles and runs fine. I can see the status of all KVM
  hosts on the remote location (btw I am using openconnect to connect to
  that location and it works like a charm). However trying to open vnc for
  a particular machine gives error 
  
  
  Error launching details: cannot import name GtkVnc
 
 $ pkglocate GtkVnc 
 gtk-vnc-0.5.3p2:x11/gtk-vnc:/usr/local/lib/girepository-1.0/GtkVnc-2.0.typelib
 gtk-vnc-0.5.3p2:x11/gtk-vnc:/usr/local/share/gir-1.0/GtkVnc-2.0.gir
 
 Did you try installing that?

It was missing. I would think that thouse packages should have been
pulled as a running dependency for virt-manager. No?

Predrag
 
 -- 
 Antoine



Re: virt-manager GtkVnc Error

2014-10-17 Thread Antoine Jacoutot
On Fri, Oct 17, 2014 at 11:17:10AM -0400, Predrag Punosevac wrote:
 Antoine Jacoutot ajacou...@bsdfrog.org wrote:
 
  On Thu, Oct 16, 2014 at 11:28:20PM -0400, Predrag Punosevac wrote:
   I am trying to use virt-manager on a snapshot both OS and ports from
   10th of August (should be very close to November 1st release).
   
   predrag@oko$ uname -a
   OpenBSD oko.bagdala2.net 5.6 GENERIC.MP#333 amd64
   
   virt-manager compiles and runs fine. I can see the status of all KVM
   hosts on the remote location (btw I am using openconnect to connect to
   that location and it works like a charm). However trying to open vnc for
   a particular machine gives error 
   
   
   Error launching details: cannot import name GtkVnc
  
  $ pkglocate GtkVnc 
  gtk-vnc-0.5.3p2:x11/gtk-vnc:/usr/local/lib/girepository-1.0/GtkVnc-2.0.typelib
  gtk-vnc-0.5.3p2:x11/gtk-vnc:/usr/local/share/gir-1.0/GtkVnc-2.0.gir
  
  Did you try installing that?
 
 It was missing. I would think that thouse packages should have been
 pulled as a running dependency for virt-manager. No?

I don't know, why don't you ask MAINTAINER?

-- 
Antoine



virt-manager GtkVnc Error

2014-10-16 Thread Predrag Punosevac
I am trying to use virt-manager on a snapshot both OS and ports from
10th of August (should be very close to November 1st release).

predrag@oko$ uname -a
OpenBSD oko.bagdala2.net 5.6 GENERIC.MP#333 amd64

virt-manager compiles and runs fine. I can see the status of all KVM
hosts on the remote location (btw I am using openconnect to connect to
that location and it works like a charm). However trying to open vnc for
a particular machine gives error 


Error launching details: cannot import name GtkVnc

Traceback (most recent call last):
  File /usr/local/share/virt-manager/virtManager/engine.py, line 803,
in _show_vm_helper
details = self._get_details_dialog(uri, uuid)
  File /usr/local/share/virt-manager/virtManager/engine.py, line 760,
in _get_details_dialog
obj = vmmDetails(con.get_vm(uuid))
  File /usr/local/share/virt-manager/virtManager/details.py, line 488,
in __init__
from virtManager.console import vmmConsolePages
  File /usr/local/share/virt-manager/virtManager/console.py, line 27,
in module
from gi.repository import GtkVnc


Since this is a new port has anybody managed Vnc to work.

Most Kind Regards,
Predrag Punosevac

P.S. I also notice that memory, disk, and network can't be displayed.
CPU usage both guest and host works fine.