[virt-tools-list] Dependency of virt-manager on Ubuntu 13.10

Peng Yu pengyu.ut at gmail.com
Thu Mar 13 17:12:15 UTC 2014


Hi,

I still see the following error when I try to open vnc. Does anybody
know what is wrong?

Error launching details: cannot import name GtkVnc

Traceback (most recent call last):
  File "/home/pengy/dvcs/virt-manager/virtManager/engine.py", line
803, in _show_vm_helper
    details = self._get_details_dialog(uri, uuid)
  File "/home/pengy/dvcs/virt-manager/virtManager/engine.py", line
760, in _get_details_dialog
    obj = vmmDetails(con.get_vm(uuid))
  File "/home/pengy/dvcs/virt-manager/virtManager/details.py", line
488, in __init__
    from virtManager.console import vmmConsolePages
  File "/home/pengy/dvcs/virt-manager/virtManager/console.py", line
27, in <module>
    from gi.repository import GtkVnc
ImportError: cannot import name GtkVnc

On Thu, Mar 13, 2014 at 11:27 AM, Peng Yu <pengyu.ut at gmail.com> wrote:
> Hi,
>
> I finally figured out that I need the following packages installed to
> use virt-manager from the git repository. I hope that this is helpful
> to others who use Ubuntu.
>
> sudo apt-fast -y -q install libglib2.0-bin
> sudo apt-fast -y -q install intltool
> sudo apt-fast -q -y install python-gi
> sudo apt-fast -q -y install libvirt-glib-1.0-dev
> sudo apt-fast -y -q install libgtk-3-dev
> sudo apt-fast -y -q install python-ipaddr
>
> On Thu, Mar 13, 2014 at 11:15 AM, Peng Yu <pengyu.ut at gmail.com> wrote:
>> On Thu, Mar 13, 2014 at 11:03 AM, Cole Robinson <crobinso at redhat.com> wrote:
>>> On 03/13/2014 12:02 PM, Peng Yu wrote:
>>>>> git clone git://fedorahosted.org/virt-manager.git
>>>>> cd virt-manager
>>>>> ./virt-install ...
>>>>
>>>> I get the following error. Do I need something installed?
>>>>
>>>> $ ./virt-install --version
>>>> Traceback (most recent call last):
>>>>   File "./virt-install", line 29, in <module>
>>>>     import virtinst
>>>>   File "/home/pengy/dvcs/virt-manager/virtinst/__init__.py", line 18,
>>>> in <module>
>>>>     from virtcli import cliconfig, cliutils
>>>>   File "/home/pengy/dvcs/virt-manager/virtcli/cliconfig.py", line 78,
>>>> in <module>
>>>>     _setup_gsettings_path(icon_dir)
>>>>   File "/home/pengy/dvcs/virt-manager/virtcli/cliconfig.py", line 58,
>>>> in _setup_gsettings_path
>>>>     ret = subprocess.call(["glib-compile-schemas", "--strict", schemadir])
>>>>   File "/usr/lib/python2.7/subprocess.py", line 522, in call
>>>>     return Popen(*popenargs, **kwargs).wait()
>>>>   File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
>>>>     errread, errwrite)
>>>>   File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
>>>>     raise child_exception
>>>> OSError: [Errno 2] No such file or directory
>>>>
>>>
>>> You need to install glib-compile-schemas, I don't know what the package is
>>> called on ubuntu.
>>
>> I installed libglib2.0-bin on ubuntu.
>>
>> Now, I see the following error. Do you know what else is missing?
>>
>> pengy at hydrogen:~/dvcs/virt-manager$ sudo     python setup.py install
>> running install
>> running build
>> Generating /home/pengy/dvcs/virt-manager/build/virt-manager
>> Generating /home/pengy/dvcs/virt-manager/build/virt-install
>> Generating /home/pengy/dvcs/virt-manager/build/virt-clone
>> Generating /home/pengy/dvcs/virt-manager/build/virt-image
>> Generating /home/pengy/dvcs/virt-manager/build/virt-convert
>> Generating /home/pengy/dvcs/virt-manager/build/virt-xml
>> Generating man/virt-xml.1
>> Generating man/virt-image.1
>> Generating man/virt-manager.1
>> Generating man/virt-clone.1
>> Generating man/virt-install.1
>> Generating man/virt-image.5
>> Generating man/virt-convert.1
>> running build_i18n
>> Writing po/POTFILES.in
>> intltool-update -p -g virt-manager
>> unable to execute intltool-update: No such file or directory
>> Removing po/POTFILES.in
>> error: po/POTFILES.in: No such file or directory
>>
>> --
>> Regards,
>> Peng
>
>
>
> --
> Regards,
> Peng



-- 
Regards,
Peng




More information about the virt-tools-list mailing list