Coder Social home page Coder Social logo

homebrew-virt-manager's Introduction

homebrew-virt-manager

A set of homebrew formulae to install virt-manager and virt-viewer on Mac OSX.

Update

The formulae for virt-manager and several of its dependencies have since been integrated into homebrew-core, many thanks! Only virt-viewer remains...

Usage

brew tap jeffreywildman/homebrew-virt-manager
brew install virt-viewer
virt-viewer --version

FAQs

homebrew-virt-manager's People

Contributors

66ton99 avatar biox avatar jaghaimo avatar jeffreywildman avatar jouve avatar leafi avatar lunixbochs avatar mafischer avatar mariusbertram avatar ruria avatar swivelgames avatar theranger avatar toddpfaff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-virt-manager's Issues

Missing /usr/share/libvirt/cpu_map.xml

When trying a qemu+ssh://.. URI I get the following error:

[Errno 2] No such file or directory: '/usr/share/libvirt/cpu_map.xml'

Symlinking this file from /usr/local/Cellar/libvirt/1.2.16/share/libvirt/cpu_map.xml to /usr/share/libvirt/cpu_map.xml does fix this. I wonder how anyone used Virt manager without this symlink. Did I miss something during installation?

The path of this file is hard coded in /usr/local/Cellar/virt-manager/1.2.0/libexec/share/virt-manager/virtinst/capabilities.py:55. May be it should be patched during installation?

Error installing spice-gtk: No package 'spice-client-glib-2.0' found

So, here it is:
==> Installing jeffreywildman/virt-manager/virt-viewer dependency: spice-gtk ==> Downloading http://www.spice-space.org/download/gtk/spice-gtk-0.31.tar.bz2 Already downloaded: /Users/giomac/Library/Caches/Homebrew/spice-gtk-0.31.tar.bz2 ==> ./configure --disable-silent-rules --with-gtk=3.0 --enable-introspection --enable-vala --with-audio=no --with-coroutine=gthread --prefix=/usr/local/Cellar/spice-gtk/0.31 ==> make install Last 15 lines from /Users/giomac/Library/Logs/Homebrew/spice-gtk/02.make: CPPFLAGS="" CFLAGS="-g -O2" LDFLAGS="" CC="clang" PKG_CONFIG="/usr/local/opt/pkg-config/bin/pkg-config" DLLTOOL="false" /usr/local/Cellar/gobject-introspection/1.48.0/bin/g-ir-scanner --warn-all --accept-unprefixed --add-include-path=. --symbol-prefix=spice --identifier-prefix=Spice --namespace=SpiceClientGtk --nsversion=3.0 --libtool="/bin/sh ../libtool" --include=GObject-2.0 --include=Gtk-3.0 --include=SpiceClientGLib-2.0 --pkg-export=spice-client-gtk-3.0 --library=libspice-client-gtk-3.0.la --library=libspice-client-glib-2.0.la --c-include="spice-widget.h" --cflags-begin -DSPICE_COMPILATION -DG_LOG_DOMAIN=\"GSpice\" -DSPICE_NO_DEPRECATED -DSPICE_GTK_LOCALEDIR=\"/usr/local/Cellar/spice-gtk/0.31/share/locale\" -DPNP_IDS=\""/pnp.ids"\" -DUSB_IDS=\"""\" -DSPICE_DISABLE_ABORT -I.. -I ../spice-common/ -I/usr/local/Cellar/spice-protocol/0.12.12/include/spice-1 -I/usr/local/Cellar/pixman/0.34.0/include/pixman-1 -D_REENTRANT -I/usr/local/Cellar/libpng/1.6.24/include/libpng16 -I/usr/local/Cellar/freetype/2.6.5/include/freetype2 -I/usr/local/Cellar/fontconfig/2.12.1/include -I/usr/local/Cellar/freetype/2.6.5/include/freetype2 -I/usr/local/Cellar/pixman/0.34.0/include/pixman-1 -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.48.1/include/gio-unix-2.0/ -I/usr/local/Cellar/glib/2.48.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.48.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/cairo/1.14.6_1/include/cairo -I/usr/local/Cellar/gdk-pixbuf/2.34.0/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/atk/2.20.0/include/atk-1.0 -I/usr/local/Cellar/libepoxy/1.3.1/include -I/usr/local/Cellar/harfbuzz/1.3.0/include/harfbuzz -I/usr/local/Cellar/pango/1.40.2/include/pango-1.0 -I/usr/local/Cellar/gtk+3/3.20.6/include/gtk-3.0 -I/usr/local/Cellar/libpng/1.6.24/include/libpng16 -I/usr/local/Cellar/freetype/2.6.5/include/freetype2 -I/usr/local/Cellar/fontconfig/2.12.1/include -I/usr/local/Cellar/freetype/2.6.5/include/freetype2 -I/usr/local/Cellar/pixman/0.34.0/include/pixman-1 -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.48.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.48.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/cairo/1.14.6_1/include/cairo -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.48.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.48.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -D_REENTRANT -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.48.1/include/gio-unix-2.0/ -I/usr/local/Cellar/glib/2.48.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.48.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.39/include -I/usr/local/Cellar/glib/2.48.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.48.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/openssl/1.0.2h_1/include -I/usr/local/Cellar/libusb/1.0.20/include/libusb-1.0 -I/usr/local/Cellar/usbredir/0.7.1/include --cflags-end spice-client-gtk.h spice-gtk-session.h spice-widget.h spice-grabsequence.h usb-device-widget.h spice-widget-enums.h spice-gtk-session.c spice-widget.c spice-grabsequence.c usb-device-widget.c libspice-client-gtk-3.0.la SpiceClientGLib-2.0.gir --output SpiceClientGtk-3.0.gir Package spice-client-glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containingspice-client-glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'spice-client-glib-2.0' found
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC clang -o /private/tmp/spice-gtk-20160903-88323-vnd9c9/spice-gtk-0.31/src/tmp-introspectsxrRWK/SpiceClientGtk-3.0 -export-dynamic -g -O2 tmp-introspectsxrRWK/private/tmp/spice-gtk-20160903-88323-vnd9c9/spice-gtk-0.31/src/tmp-introspectsxrRWK/SpiceClientGtk-3.0.o -L. libspice-client-gtk-3.0.la libspice-client-glib-2.0.la -L/usr/local/Cellar/glib/2.48.1/lib -L/usr/local/opt/gettext/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
libtool: link: clang -o /private/tmp/spice-gtk-20160903-88323-vnd9c9/spice-gtk-0.31/src/tmp-introspectsxrRWK/.libs/SpiceClientGtk-3.0 -g -O2 tmp-introspectsxrRWK/private/tmp/spice-gtk-20160903-88323-vnd9c9/spice-gtk-0.31/src/tmp-introspectsxrRWK/SpiceClientGtk-3.0.o -L. ./.libs/libspice-client-gtk-3.0.dylib -L/usr/local/Cellar/pixman/0.34.0/lib -L/usr/local/Cellar/glib/2.48.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/openssl/1.0.2h_1/lib -L/usr/local/Cellar/libusb/1.0.20/lib -L/usr/local/Cellar/usbredir/0.7.1/lib -L/usr/local/Cellar/cairo/1.14.6_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.34.0/lib -L/usr/local/Cellar/atk/2.20.0/lib -L/usr/local/Cellar/pango/1.40.2/lib -L/usr/local/Cellar/gtk+3/3.20.6/lib -L/usr/local/Cellar/libepoxy/1.3.1/lib /private/tmp/spice-gtk-20160903-88323-vnd9c9/spice-gtk-0.31/src/.libs/libspice-client-glib-2.0.dylib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lcairo -lepoxy ./.libs/libspice-client-glib-2.0.dylib -ljpeg -lz -lpixman-1 -lssl -lcrypto -lusb-1.0 -lusbredirhost -lusbredirparser -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
/usr/local/Cellar/gobject-introspection/1.48.0/bin/g-ir-compiler --includedir=. --includedir=. SpiceClientGtk-3.0.gir -o SpiceClientGtk-3.0.typelib
Could not find GIR file 'Gtk-3.0.gir'; check XDG_DATA_DIRS or use --includedir
error parsing file SpiceClientGtk-3.0.gir: Failed to parse included gir Gtk-3.0
make[4]: *** [SpiceClientGtk-3.0.typelib] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2`

Error: undefined method `desc' for VirtManager:Class

Error: undefined method `desc' for VirtManager:Class
Please report this bug:
    http://git.io/brew-troubleshooting
/usr/local/Library/Taps/jeffreywildman/homebrew-virt-manager/virt-manager.rb:2:in `<class:VirtManager>'
/usr/local/Library/Taps/jeffreywildman/homebrew-virt-manager/virt-manager.rb:1:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/Homebrew/formulary.rb:77:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:63:in `klass'
/usr/local/Library/Homebrew/formulary.rb:50:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:185:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:42:in `install'
/usr/local/Library/brew.rb:136:in `<main>'

Install hangs at make install for libvirt-glib

Hi - the installation hangs on OS 10.10 at this stage of the install:

brew install virt-manager virt-viewer
==> Installing virt-manager from jeffreywildman/homebrew-virt-manager
==> Installing dependencies for jeffreywildman/virt-manager/virt-manager: libvirt-glib, vala, vte3, d-bus, check, xz, glib-networking
==> Installing jeffreywildman/virt-manager/virt-manager dependency: libvirt-glib
==> Downloading https://libvirt.org/sources/glib/libvirt-glib-0.2.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/libvirt-glib-0.2.2.tar.gz
==> Patching
patching file libvirt-gconfig/Makefile.am
Hunk #1 succeeded at 215 (offset 2 lines).
patching file libvirt-gconfig/Makefile.in
Hunk #1 succeeded at 759 (offset 12 lines).
patching file libvirt-glib/Makefile.am
patching file libvirt-glib/Makefile.in
Hunk #1 succeeded at 446 (offset 10 lines).
patching file libvirt-gobject/Makefile.am
Hunk #1 succeeded at 93 (offset 3 lines).
patching file libvirt-gobject/Makefile.in
Hunk #1 succeeded at 533 (offset 13 lines).
==> ./configure --disable-silent-rules --enable-introspection --prefix=/usr/local/Cellar/libvirt-glib/0.2.2
==> make install

El Capitan fresh install trouble

[xxxxxxx@mac-os ~]$ brew install virt-manager virt-viewer
==> Installing virt-manager from jeffreywildman/homebrew-virt-manager
==> Installing dependencies for jeffreywildman/virt-manager/virt-manager: libsoup-with-gnome
==> Installing jeffreywildman/virt-manager/virt-manager dependency: libsoup-with-gnome
==> Downloading https://download.gnome.org/sources/libsoup/2.52/libsoup-2.52.0.tar.xz
Already downloaded: /Library/Caches/Homebrew/libsoup-with-gnome-2.52.0.tar.xz
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/libsoup-with-gnome/2.52.0 --disable-tls-check
==> make install
🍺  /usr/local/Cellar/libsoup-with-gnome/2.52.0: 195 files, 5.5M, built in 29 seconds
==> Installing jeffreywildman/virt-manager/virt-manager
==> Downloading https://virt-manager.org/download/sources/virt-manager/virt-manager-1.2.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/virt-manager-1.2.1.tar.gz
==> Patching
patching file virt-clone
patching file virt-convert
patching file virt-install
patching file virt-manager
patching file virt-xml
==> Downloading https://libvirt.org/sources/python/libvirt-python-1.2.19.tar.gz
Already downloaded: /Library/Caches/Homebrew/virt-manager--libvirt-python-1.2.19.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/virt-manager/1.2.1/libexec/vendor --single-version-externally-managed --record=installed.txt
Last 15 lines from /Users/justinas/Library/Logs/Homebrew/virt-manager/01.python:
Traceback (most recent call last):
  File "generator.py", line 2126, in <module>
    if buildStubs(sys.argv[1], sys.argv[2]) < 0:
  File "generator.py", line 887, in buildStubs
    parser.feed(data)
  File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "generator.py", line 139, in start
    if "string" in attrs:
  File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/xmlreader.py", line 316, in __getitem__
    return self._attrs[name]
KeyError: 0
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/jeffreywildman/homebrew-virt-manager/issues

Error: configure: error: libjpeg not found

I was trying to install virt-manager on a new Mac OS X 10.11.5 but it fails:

$ brew install virt-manager

==> Installing virt-manager from jeffreywildman/virt-manager
==> Installing dependencies for jeffreywildman/virt-manager/virt-manager: spice-gtk, vte3
==> Installing jeffreywildman/virt-manager/virt-manager dependency: spice-gtk
==> Downloading http://www.spice-space.org/download/gtk/spice-gtk-0.31.tar.bz2
Already downloaded: /Users/pmarques/Library/Caches/Homebrew/spice-gtk-0.31.tar.bz2
==> ./configure --disable-silent-rules --with-gtk=3.0 --enable-introspection --enable-vala --with-audio=no --with-coroutine=gthread --prefix=/usr/local/Cellar/spice-gtk/
Last 15 lines from /Users/pmarques/Library/Logs/Homebrew/spice-gtk/01.configure:
checking What rendering backend to use..... cairo
checking for clearenv... no
checking for strtok_r... yes
checking for GLIB2... yes
checking for GOBJECT2... yes
checking for GIO... yes
checking for CAIRO... yes
checking for GTHREAD... yes
checking for PHODAV... no
checking for EPOXY... yes
checking epoxy/egl.h usability... no
checking epoxy/egl.h presence... no
checking for epoxy/egl.h... no
checking for jpeg_destroy_decompress in -ljpeg... no
configure: error: libjpeg not found

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/jeffreywildman/homebrew-virt-manager/issues

$ brew install libjpeg

Warning: jpeg-8d already installed

pycurl issue

With Yosemite I get this issue with pycurl

athena:~ josh$ brew install virt-manager
==> Installing virt-manager from jeffreywildman/homebrew-virt-manager
==> Installing dependencies for virt-manager: sqlite, openssl, python, intltool, xz, gettext, glib, libpng, freetype, cairo, py2cairo, pygob
==> Installing virt-manager dependency: sqlite
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/sqlite-3.8.7.4.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring sqlite-3.8.7.4.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

OS X provides an older sqlite3.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/sqlite/lib
    CPPFLAGS: -I/usr/local/opt/sqlite/include

==> Summary
🍺  /usr/local/Cellar/sqlite/3.8.7.4: 9 files, 2.1M
==> Installing virt-manager dependency: openssl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1j_1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.1j_1.yosemite.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.1j_1: 431 files, 15M
==> Installing virt-manager dependency: python
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/python-2.7.9.yosemite.bottle.8.tar.gz
######################################################################## 100.0%
==> Pouring python-2.7.9.yosemite.bottle.8.tar.gz
==> Caveats
Setuptools and Pip have been installed. To update them
  pip install --upgrade setuptools
  pip install --upgrade pip

You can install Python packages with
  pip install <package>

They will install into the site-package directory
  /usr/local/lib/python2.7/site-packages

See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md

.app bundles were installed.
Run `brew linkapps python` to symlink these to /Applications.
==> /usr/local/Cellar/python/2.7.9/bin/python -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/2.7.9/
==> /usr/local/Cellar/python/2.7.9/bin/python -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/2.7.9/
==> Summary
🍺  /usr/local/Cellar/python/2.7.9: 4808 files, 78M
==> Installing virt-manager dependency: intltool
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/intltool-0.50.2.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring intltool-0.50.2.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/intltool/0.50.2: 19 files, 388K
==> Installing virt-manager dependency: xz
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/xz-5.2.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring xz-5.2.0.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.0: 59 files, 1.7M
==> Installing virt-manager dependency: gettext
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gettext-0.19.4.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gettext-0.19.4.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X provides similar software, and installing this software in
parallel can cause all kinds of trouble.

OS X provides the BSD gettext library and some software gets confused if both are in the library path.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/gettext/lib
    CPPFLAGS: -I/usr/local/opt/gettext/include

==> Summary
🍺  /usr/local/Cellar/gettext/0.19.4: 1920 files, 21M
==> Installing virt-manager dependency: glib
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/glib-2.42.1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.42.1.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/glib/2.42.1: 410 files, 17M
==> Installing virt-manager dependency: libpng
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.16.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.6.16.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.16: 17 files, 1.3M
==> Installing virt-manager dependency: freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.5.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring freetype-2.5.5.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/freetype/2.5.5: 60 files, 2.6M
==> Installing virt-manager dependency: cairo
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cairo-1.14.0.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring cairo-1.14.0.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/cairo/1.14.0: 106 files, 6.4M
==> Installing virt-manager dependency: py2cairo
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/py2cairo-1.10.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring py2cairo-1.10.0.yosemite.bottle.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/josh/.local/lib/python2.7/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/josh/.local/lib/python2.7/site-packages/homebrew.pth
==> Summary
🍺  /usr/local/Cellar/py2cairo/1.10.0: 9 files, 144K
==> Installing virt-manager dependency: pygobject3
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.14/pygobject-3.14.0.tar.xz
######################################################################## 100.0%
==> Patching
==> ./configure --prefix=/usr/local/Cellar/pygobject3/3.14.0 PYTHON=python
==> make install
==> make clean
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/josh/.local/lib/python2.7/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/josh/.local/lib/python2.7/site-packages/homebrew.pth
==> Summary
🍺  /usr/local/Cellar/pygobject3/3.14.0: 86 files, 2.5M, built in 16 seconds
==> Installing virt-manager dependency: harfbuzz
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/harfbuzz-0.9.37.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring harfbuzz-0.9.37.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/harfbuzz/0.9.37: 72 files, 2.9M
==> Installing virt-manager dependency: d-bus
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/d-bus-1.8.12.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring d-bus-1.8.12.yosemite.bottle.tar.gz
==> Caveats
To have launchd start d-bus at login:
    ln -sfv /usr/local/opt/d-bus/*.plist ~/Library/LaunchAgents
Then to load d-bus now:
    launchctl load ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
==> /usr/local/Cellar/d-bus/1.8.12/bin/dbus-uuidgen --ensure=/usr/local/var/lib/dbus/machine-id
==> Summary
🍺  /usr/local/Cellar/d-bus/1.8.12: 39 files, 2.0M
==> Installing virt-manager dependency: at-spi2-core
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/at-spi2-core-2.14.1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring at-spi2-core-2.14.1.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/at-spi2-core/2.14.1: 152 files, 1.9M
==> Installing virt-manager dependency: at-spi2-atk
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/at-spi2-atk-2.14.1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring at-spi2-atk-2.14.1.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/at-spi2-atk/2.14.1: 10 files, 272K
==> Installing virt-manager dependency: gsettings-desktop-schemas
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gsettings-desktop-schemas-3.14.0.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring gsettings-desktop-schemas-3.14.0.yosemite.bottle.1.tar.gz
==> /usr/local/opt/glib/bin/glib-compile-schemas /usr/local/Cellar/gsettings-desktop-schemas/3.14.0/share/glib-2.0/schemas
🍺  /usr/local/Cellar/gsettings-desktop-schemas/3.14.0: 85 files, 3.2M
==> Installing virt-manager dependency: gtk+3
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gtk+3-3.14.6.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gtk+3-3.14.6.yosemite.bottle.tar.gz
==> /usr/local/opt/glib/bin/glib-compile-schemas /usr/local/share/glib-2.0/schemas
🍺  /usr/local/Cellar/gtk+3/3.14.6: 1271 files, 66M
==> Installing virt-manager dependency: libxml2
==> Downloading http://xmlsoft.org/sources/libxml2-2.9.2.tar.gz
######################################################################## 100.0%
==> Patching
==> ./configure --prefix=/usr/local/Cellar/libxml2/2.9.2 --without-python --without-lzma
==> make
==> make install
==> python setup.py install --prefix=/usr/local/Cellar/libxml2/2.9.2
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/libxml2/lib
    CPPFLAGS: -I/usr/local/opt/libxml2/include


If you need Python to find bindings for this keg-only formula, run:
  echo /usr/local/opt/libxml2/lib/python2.7/site-packages >> /usr/local/lib/python2.7/site-packages/libxml2.pth
  mkdir -p /Users/josh/.local/lib/python2.7/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/josh/.local/lib/python2.7/site-packages/homebrew.pth
Warning: Could not fix libz.1.dylib in /usr/local/Cellar/libxml2/2.9.2/lib/python2.7/site-packages/libxml2mod.so
==> Summary
🍺  /usr/local/Cellar/libxml2/2.9.2: 281 files, 12M, built in 37 seconds
==> Installing virt-manager dependency: libtasn1
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libtasn1-4.2.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtasn1-4.2.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libtasn1/4.2: 55 files, 568K
==> Installing virt-manager dependency: nettle
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/nettle-2.7.1.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring nettle-2.7.1.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/nettle/2.7.1: 66 files, 1.7M
==> Installing virt-manager dependency: gnutls
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gnutls-3.3.11.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gnutls-3.3.11.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/gnutls/3.3.11: 1021 files, 9.0M
==> Installing virt-manager dependency: libgpg-error
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libgpg-error-1.17.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libgpg-error-1.17.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libgpg-error/1.17: 17 files, 332K
==> Installing virt-manager dependency: libgcrypt
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libgcrypt-1.6.2.yosemite.bottle.3.tar.gz
######################################################################## 100.0%
==> Pouring libgcrypt-1.6.2.yosemite.bottle.3.tar.gz
🍺  /usr/local/Cellar/libgcrypt/1.6.2: 18 files, 1.3M
==> Installing virt-manager dependency: yajl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/yajl-2.1.0.yosemite.bottle.3.tar.gz
######################################################################## 100.0%
==> Pouring yajl-2.1.0.yosemite.bottle.3.tar.gz
🍺  /usr/local/Cellar/yajl/2.1.0: 15 files, 232K
==> Installing virt-manager dependency: libvirt
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libvirt-1.2.10.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libvirt-1.2.10.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libvirt/1.2.10: 197 files, 18M
==> Installing virt-manager dependency: libvirt-glib
==> Downloading ftp://ftp.libvirt.org/libvirt/glib/libvirt-glib-0.1.9.tar.gz
######################################################################## 100.0%
==> Patching
patching file libvirt-gconfig/Makefile.am
patching file libvirt-gconfig/Makefile.in
patching file libvirt-glib/Makefile.am
patching file libvirt-glib/Makefile.in
patching file libvirt-gobject/Makefile.am
patching file libvirt-gobject/Makefile.in
==> ./configure --disable-silent-rules --enable-introspection --prefix=/usr/local/Cellar/libvirt-glib/0.1.9
==> make install
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/josh/.local/lib/python2.7/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/josh/.local/lib/python2.7/site-packages/homebrew.pth
==> Summary
🍺  /usr/local/Cellar/libvirt-glib/0.1.9: 300 files, 3.5M, built in 32 seconds
==> Installing virt-manager dependency: gtk+
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gtk+-2.24.25.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gtk+-2.24.25.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/gtk+/2.24.25: 1199 files, 59M
==> Installing virt-manager dependency: pygobject
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pygobject-2.28.6.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pygobject-2.28.6.yosemite.bottle.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/josh/.local/lib/python2.7/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/josh/.local/lib/python2.7/site-packages/homebrew.pth
==> Summary
🍺  /usr/local/Cellar/pygobject/2.28.6: 153 files, 3.7M
==> Installing virt-manager dependency: pygtk
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pygtk-2.24.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pygtk-2.24.0.yosemite.bottle.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/josh/.local/lib/python2.7/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/josh/.local/lib/python2.7/site-packages/homebrew.pth
==> Summary
🍺  /usr/local/Cellar/pygtk/2.24.0: 624 files, 17M
==> Installing virt-manager dependency: vte3
==> Downloading http://ftp.gnome.org/pub/gnome/sources/vte/0.36/vte-0.36.3.tar.xz
######################################################################## 100.0%
==> Patching
==> ./configure --prefix=/usr/local/Cellar/vte3/0.36.3 --disable-Bsymbolic --enable-introspection=yes
==> make install
🍺  /usr/local/Cellar/vte3/0.36.3: 147 files, 4.3M, built in 34 seconds
==> Installing virt-manager dependency: check
==> Downloading https://downloads.sourceforge.net/project/check/check/0.9.14/check-0.9.14.tar.gz
######################################################################## 100.0%
==> Patching
==> ./configure --prefix=/usr/local/Cellar/check/0.9.14
==> make install
🍺  /usr/local/Cellar/check/0.9.14: 42 files, 940K, built in 22 seconds
==> Installing virt-manager dependency: glib-networking
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.42/glib-networking-2.42.0.tar.xz
######################################################################## 100.0%
==> Patching
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/glib-networking/2.42.0 --with-ca-certificates=/usr/local/etc/openssl/cert.pem
==> make install
🍺  /usr/local/Cellar/glib-networking/2.42.0: 68 files, 360K, built in 12 seconds
==> Installing virt-manager dependency: libsoup-with-gnome
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.46/libsoup-2.46.0.tar.xz
######################################################################## 100.0%
==> Patching
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/libsoup-with-gnome/2.46.0 --disable-tls-check --enable-introspection
==> make install
🍺  /usr/local/Cellar/libsoup-with-gnome/2.46.0: 188 files, 5.3M, built in 19 seconds
==> Installing virt-manager dependency: libosinfo
==> Downloading https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-0.2.11.tar.gz
######################################################################## 100.0%
==> Patching
patching file configure
==> ./configure --disable-silent-rules --enable-introspection --prefix=/usr/local/Cellar/libosinfo/0.2.11
==> make install
🍺  /usr/local/Cellar/libosinfo/0.2.11: 158 files, 4.3M, built in 21 seconds
==> Installing virt-manager dependency: icon-naming-utils
==> Downloading http://tango.freedesktop.org/releases/icon-naming-utils-0.8.90.tar.gz
######################################################################## 100.0%
==> Patching
==> ./configure --prefix=/usr/local/Cellar/icon-naming-utils/0.8.90
==> make install
🍺  /usr/local/Cellar/icon-naming-utils/0.8.90: 10 files, 104K, built in 2 seconds
==> Installing virt-manager dependency: gnome-icon-theme
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz
######################################################################## 100.0%
==> Patching
==> ./configure --prefix=/usr/local/Cellar/gnome-icon-theme/3.12.0_1 --enable-icon-mapping GTK_UPDATE_ICON_CACHE=/usr/local/opt/gtk+3/bin/gtk3-upda
==> make install
🍺  /usr/local/Cellar/gnome-icon-theme/3.12.0_1: 2085 files, 30M, built in 71 seconds
==> Installing virt-manager
==> Downloading http://virt-manager.org/download/sources/virt-manager/virt-manager-1.1.0.tar.gz
######################################################################## 100.0%
==> Patching
patching file virt-clone
patching file virt-convert
patching file virt-install
patching file virt-manager
patching file virt-xml
patching file virt-manager.spec
patching file virt-manager.spec.in
==> Downloading http://libvirt.org/sources/python/libvirt-python-1.2.10.tar.gz
######################################################################## 100.0%
==> python -c import setuptools... install --prefix=/usr/local/Cellar/virt-manager/1.1.0/libexec/vendor --single-version-externally-managed --recor
==> Downloading https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.5.tar.gz
######################################################################## 100.0%
==> python -c import setuptools... install --prefix=/usr/local/Cellar/virt-manager/1.1.0/libexec/vendor --single-version-externally-managed --recor
==> Downloading https://pypi.python.org/packages/source/u/urlgrabber/urlgrabber-3.9.1.tar.gz
######################################################################## 100.0%
==> python -c import setuptools... install --prefix=/usr/local/Cellar/virt-manager/1.1.0/libexec/vendor --single-version-externally-managed --recor
  File "urlgrabber/grabber.py", line 427, in <module>
    import pycurl
ImportError: dlopen(/usr/local/Cellar/virt-manager/1.1.0/libexec/vendor/lib/python2.7/site-packages/pycurl.so, 2): Library not loaded: libcurl.4.dylib
  Referenced from: /usr/local/Cellar/virt-manager/1.1.0/libexec/vendor/lib/python2.7/site-packages/pycurl.so
  Reason: Incompatible library version: pycurl.so requires version 8.0.0 or later, but libcurl.4.dylib provides version 7.0.0

READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/jeffreywildman/homebrew-virt-manager/issues

AttributeError: 'NoneType' object has no attribute 'get'

Last 15 lines from /Users/huangdezhou/Library/Logs/Homebrew/libvirt-glib/02.make:
File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/scannermain.py", line 535, in scanner_main
ss = create_source_scanner(options, args)
File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/scannermain.py", line 443, in create_source_scanner
ss.parse_files(filenames)
File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/sourcescanner.py", line 262, in parse_files
self._parse(headers)
File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/sourcescanner.py", line 291, in _parse
cc = CCompiler()
File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/ccompiler.py", line 75, in init
customize_compiler(self.compiler)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 176, in customize_compiler
if not _config_vars.get('CUSTOMIZED_OSX_COMPILER', ''):
AttributeError: 'NoneType' object has no attribute 'get'
make[1]: *** [LibvirtGLib-1.0.gir] Error 1
make: *** [install-recursive] Error 1

ImportError: No module named gi

  File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virt-manager", line 29, in <module>
    import gi
ImportError: No module named gi

while trying:

function vm { virt-manager -c qemu+ssh://root@"$1"/system?socket=/var/run/libvirt/libvirt-sock; }

Using the lastest versions.

Cheers.

Starting virt-manager - ImportError: No module named gi"

$ virt-manager
Traceback (most recent call last):
File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virt-manager", line 29, in
import gi
ImportError: No module named go

Any idea or pointer?
Thank you for the port!

authentication failed: unsupported authentication type 2

After having followed the instructions to get virt-manager installed, I get this weird error when trying to connect to a remote Red Hat Enterprise Linux 7.1 system over SSH:

$ virsh -c qemu+ssh://stack@esah-ostt-hv01p/system?socket=/var/run/libvirt/libvirt-sock
error: failed to connect to the hypervisor
error: authentication failed: unsupported authentication type 2

I can't seem to get any further information from the client. Using "virt-manager" instead of "virsh":

$ virt-manager --debug
/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virt-manager:31: PyGIWarning: LibvirtGLib was imported without specifying a version first. Use gi.require_version('LibvirtGLib', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import LibvirtGLib
/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virtinst/osdict.py:26: PyGIWarning: Libosinfo was imported without specifying a version first. Use gi.require_version('Libosinfo', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Libosinfo as libosinfo
[Wed, 04 Nov 2015 14:17:51 virt-manager 91602] DEBUG (cli:246) Launched with command line: /usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virt-manager --debug
[Wed, 04 Nov 2015 14:17:51 virt-manager 91602] DEBUG (virt-manager:153) virt-manager version: 1.2.1
[Wed, 04 Nov 2015 14:17:51 virt-manager 91602] DEBUG (virt-manager:154) virtManager import: <module 'virtManager' from '/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virtManager/init.pyc'>

(process:91602): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
[Wed, 04 Nov 2015 14:17:51 virt-manager 91602] DEBUG (virt-manager:213) GTK version: 3.18.2
[Wed, 04 Nov 2015 14:17:51 virt-manager 91602] DEBUG (engine:456) libguestfs inspection support: False
[Wed, 04 Nov 2015 14:17:51 virt-manager 91602] DEBUG (systray:150) Showing systray: False
[Wed, 04 Nov 2015 14:17:51 virt-manager 91602] DEBUG (manager:207) Showing manager
[Wed, 04 Nov 2015 14:17:51 virt-manager 91602] DEBUG (engine:357) window counter incremented to 1
[Wed, 04 Nov 2015 14:17:52 virt-manager 91602] DEBUG (engine:188) Determining default libvirt URI
[Wed, 04 Nov 2015 14:17:52 virt-manager 91602] DEBUG (packageutils:39) No PackageKit packages to search for.
[Wed, 04 Nov 2015 14:17:56 virt-manager 91602] DEBUG (connect:104) Couldn't contact avahi: g-io-error-quark: Could not connect: No such file or directory (1)
[Wed, 04 Nov 2015 14:17:56 virt-manager 91602] DEBUG (connect:145) Showing open connection
[Wed, 04 Nov 2015 14:18:07 virt-manager 91602] DEBUG (connect:432) Generate URI=qemu+ssh://stack@esah-ostt-hv01p/system, auto=False
[Wed, 04 Nov 2015 14:18:07 virt-manager 91602] DEBUG (connect:134) Closing open connection
[Wed, 04 Nov 2015 14:18:07 virt-manager 91602] DEBUG (connection:536) conn=qemu+ssh://stack@esah-ostt-hv01p/system changed to state=Connecting
[Wed, 04 Nov 2015 14:18:07 virt-manager 91602] DEBUG (connection:846) Scheduling background open thread for qemu+ssh://stack@esah-ostt-hv01p/system
[Wed, 04 Nov 2015 14:18:07 virt-manager 91602] DEBUG (connection:536) conn=qemu+ssh://stack@esah-ostt-hv01p/system changed to state=Disconnected
[Wed, 04 Nov 2015 14:18:07 virt-manager 91602] DEBUG (engine:597) connect_error: conn transport=ssh
[Wed, 04 Nov 2015 14:18:07 virt-manager 91602] DEBUG (error:97) error dialog message:
summary=Unable to connect to libvirt.

internal error: received hangup / error event on socket

Verify that the 'libvirtd' daemon is running
on the remote host.

Would you still like to remember this connection?
details=Unable to connect to libvirt.

internal error: received hangup / error event on socket

Verify that the 'libvirtd' daemon is running
on the remote host.

Libvirt URI is: qemu+ssh://stack@esah-ostt-hv01p/system

Traceback (most recent call last):
File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virtManager/connection.py", line 862, in _do_open
self._backend.open(self._do_creds_password)
File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virtinst/connection.py", line 161, in open
open_flags)
File "/usr/local/Cellar/virt-manager/1.2.1/libexec/vendor/lib/python2.7/site-packages/libvirt.py", line 106, in openAuth
raise libvirtError('virConnectOpenAuth() failed')
libvirtError: internal error: received hangup / error event on socket
[Wed, 04 Nov 2015 14:18:36 virt-manager 91602] DEBUG (connect:145) Showing open connection

Any ideas?

Crash on re-open VNC console

virt-manager is crashing on accessing a VNC remote console a 2nd time.

Mac: El Capitan, 10.11.4, latest Xcode 7.3.1 (7D1014)
virt-manager 1.3.2, installed via homebrew
KVM Server: Debian Jessie, libvirt: 1.2.9-9+deb8u2

Steps to reproduce:

  1. connect to machine
  2. open first virtual machine, go to VNC display
  3. close this machine
  4. open 2nd virtual machine, go to VNC display (which is the default action anyway)

This leads to the crash. Reproducable both on my MacbookAir and Desktop (all running same versions).

[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (details:609) Showing VM details: <domain.vmmDomain object at 0x1087b10a0 (virtManager+domain+vmmDomain at 0x7faff980d7a0)>
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (engine:401) window counter incremented to 2
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (console:663) Starting connect process for proto=vnc trans=ssh connhost=b5-2.mgmt connuser=root connport= gaddr=127.0.0.1 gport=5903 gtlsport=None gsocket=None
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (sshtunnels:253) Pre-generated ssh command for ginfo: ssh -l root b5-2.mgmt sh -c 'nc -q 2>&1 | grep "requires an argument" >/dev/null;if [ $? -eq 0 ] ; then   CMD="nc -q 0 127.0.0.1 5903";else   CMD="nc 127.0.0.1 5903";fi;eval "$CMD";'
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (sshtunnels:277) Generated tunnel fd=24 for viewer
[Mo, 09 Mai 2016 10:35:38 virt-manager 79598] DEBUG (sshtunnels:202) Opened tunnel PID=79603 ERRFD=22
Segmentation fault: 11

error_report.txt

Fatal Python error: PyThreadState_Get: no current thread

Crashing while trying to connect to my servers (one running Ubuntu, one Debian):

Mac-Pro:~ toni$ virt-manager -c qemu+ssh://[email protected]:3000/system?socket=/var/run/libvirt/libvirt-sock --no-fork --debug
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (cli:187) Launched with command line: /usr/local/Cellar/virt-manager/1.1.0/libexec/share/virt-manager/virt-manager -c qemu+ssh://[email protected]:3000/system?socket=/var/run/libvirt/libvirt-sock --no-fork --debug
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (virt-manager:148) virt-manager version: 1.1.0
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (virt-manager:149) virtManager import: <module 'virtManager' from '/usr/local/Cellar/virt-manager/1.1.0/libexec/share/virt-manager/virtManager/__init__.pyc'>
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (virt-manager:207) GTK version: 3.16.3
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (engine:455) libguestfs inspection support: False
/usr/local/Cellar/virt-manager/1.1.0/libexec/share/virt-manager/virtManager/systray.py:122: Warning: The property GtkImageMenuItem:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
  exit_item = Gtk.ImageMenuItem.new_from_stock(Gtk.STOCK_QUIT, None)
/usr/local/Cellar/virt-manager/1.1.0/libexec/share/virt-manager/virtManager/systray.py:122: Warning: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
  exit_item = Gtk.ImageMenuItem.new_from_stock(Gtk.STOCK_QUIT, None)
/usr/local/Cellar/virt-manager/1.1.0/libexec/share/virt-manager/virtManager/systray.py:122: Warning: The property GtkImageMenuItem:accel-group is deprecated and shouldn't be used anymore. It will be removed in a future version.
  exit_item = Gtk.ImageMenuItem.new_from_stock(Gtk.STOCK_QUIT, None)
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (systray:150) Showing systray: False
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (engine:229) About to connect to uris ['qemu+ssh://[email protected]:3000/system?socket=/var/run/libvirt/libvirt-sock', 'qemu+ssh://[email protected]:3000/system?socket=/var/run/libvirt/libvirt-sock', 'qemu+ssh://[email protected]:3000/system?socket=/var/run/libvirt/libvirt-sock']
/usr/local/lib/python2.7/site-packages/gi/overrides/Gtk.py:462: Warning: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
  return Gtk.Builder.add_from_string(self, buffer, length)
/usr/local/lib/python2.7/site-packages/gi/overrides/Gtk.py:462: Warning: The property GtkImageMenuItem:image is deprecated and shouldn't be used anymore. It will be removed in a future version.
  return Gtk.Builder.add_from_string(self, buffer, length)
/usr/local/lib/python2.7/site-packages/gi/overrides/Gtk.py:462: Warning: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.
  return Gtk.Builder.add_from_string(self, buffer, length)
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (manager:208) Showing manager
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (engine:356) window counter incremented to 1
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (connection:946) Scheduling background open thread for qemu+ssh://[email protected]:3000/system?socket=/var/run/libvirt/libvirt-sock
[Ke, 20 Tou 2015 20:21:09 virt-manager 8458] DEBUG (connection:960) Background 'open connection' thread is running
[email protected]'s password:
[Ke, 20 Tou 2015 20:21:13 virt-manager 8458] DEBUG (connection:1011) Background open thread complete, scheduling notify
[Ke, 20 Tou 2015 20:21:13 virt-manager 8458] DEBUG (connection:1016) Notifying open result
[Ke, 20 Tou 2015 20:21:13 virt-manager 8458] DEBUG (connection:1022) libvirt version=1002015
[Ke, 20 Tou 2015 20:21:13 virt-manager 8458] DEBUG (connection:1024) daemon version=1001001
[Ke, 20 Tou 2015 20:21:13 virt-manager 8458] DEBUG (connection:1025) conn version=1005000
[Ke, 20 Tou 2015 20:21:13 virt-manager 8458] DEBUG (connection:1027) qemu+ssh://[email protected]:3000/system?socket=/var/run/libvirt/libvirt-sock capabilities:
<capabilities>

  <host>
    <uuid>1938e72c-2940-45c8-b5f0-43df1d6d3bd0</uuid>
    <cpu>
      <arch>x86_64</arch>
      <model>Haswell</model>
      <vendor>Intel</vendor>
      <topology sockets='1' cores='4' threads='2'/>
      <feature name='abm'/>
      <feature name='pdpe1gb'/>
      <feature name='rdrand'/>
      <feature name='f16c'/>
      <feature name='osxsave'/>
      <feature name='pdcm'/>
      <feature name='xtpr'/>
      <feature name='tm2'/>
      <feature name='est'/>
      <feature name='smx'/>
      <feature name='vmx'/>
      <feature name='ds_cpl'/>
      <feature name='monitor'/>
      <feature name='dtes64'/>
      <feature name='pbe'/>
      <feature name='tm'/>
      <feature name='ht'/>
      <feature name='ss'/>
      <feature name='acpi'/>
      <feature name='ds'/>
      <feature name='vme'/>
    </cpu>
    <power_management>
      <suspend_mem/>
      <suspend_disk/>
      <suspend_hybrid/>
    </power_management>
    <migration_features>
      <live/>
      <uri_transports>
        <uri_transport>tcp</uri_transport>
      </uri_transports>
    </migration_features>
    <topology>
      <cells num='1'>
        <cell id='0'>
          <memory unit='KiB'>33413108</memory>
          <cpus num='8'>
            <cpu id='0' socket_id='0' core_id='0' siblings='0,4'/>
            <cpu id='1' socket_id='0' core_id='1' siblings='1,5'/>
            <cpu id='2' socket_id='0' core_id='2' siblings='2,6'/>
            <cpu id='3' socket_id='0' core_id='3' siblings='3,7'/>
            <cpu id='4' socket_id='0' core_id='0' siblings='0,4'/>
            <cpu id='5' socket_id='0' core_id='1' siblings='1,5'/>
            <cpu id='6' socket_id='0' core_id='2' siblings='2,6'/>
            <cpu id='7' socket_id='0' core_id='3' siblings='3,7'/>
          </cpus>
        </cell>
      </cells>
    </topology>
    <secmodel>
      <model>apparmor</model>
      <doi>0</doi>
    </secmodel>
    <secmodel>
      <model>dac</model>
      <doi>0</doi>
    </secmodel>
  </host>

  <guest>
    <os_type>hvm</os_type>
    <arch name='alpha'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-alpha</emulator>
      <machine maxCpus='4'>clipper</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='armv7l'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-arm</emulator>
      <machine maxCpus='1'>integratorcp</machine>
      <machine maxCpus='1'>z2</machine>
      <machine maxCpus='1'>xilinx-zynq-a9</machine>
      <machine maxCpus='4'>vexpress-a15</machine>
      <machine maxCpus='4'>vexpress-a9</machine>
      <machine maxCpus='1'>versatileab</machine>
      <machine maxCpus='1'>versatilepb</machine>
      <machine maxCpus='1'>tosa</machine>
      <machine maxCpus='1'>lm3s6965evb</machine>
      <machine maxCpus='1'>lm3s811evb</machine>
      <machine maxCpus='1'>terrier</machine>
      <machine maxCpus='1'>borzoi</machine>
      <machine maxCpus='1'>spitz</machine>
      <machine maxCpus='1'>akita</machine>
      <machine maxCpus='4'>realview-pbx-a9</machine>
      <machine maxCpus='1'>realview-pb-a8</machine>
      <machine maxCpus='4'>realview-eb-mpcore</machine>
      <machine maxCpus='1'>realview-eb</machine>
      <machine maxCpus='1'>cheetah</machine>
      <machine maxCpus='1'>overo</machine>
      <machine maxCpus='1'>sx1-v1</machine>
      <machine maxCpus='1'>sx1</machine>
      <machine maxCpus='1'>n900</machine>
      <machine maxCpus='1'>n810</machine>
      <machine maxCpus='1'>n800</machine>
      <machine maxCpus='1'>musicpal</machine>
      <machine maxCpus='1'>mainstone</machine>
      <machine maxCpus='1'>kzm</machine>
      <machine maxCpus='4'>highbank</machine>
      <machine maxCpus='1'>verdex</machine>
      <machine maxCpus='1'>connex</machine>
      <machine maxCpus='2'>smdkc210</machine>
      <machine maxCpus='2'>nuri</machine>
      <machine maxCpus='1'>collie</machine>
      <machine maxCpus='1'>beaglexm</machine>
      <machine maxCpus='1'>beagle</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='cris'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-cris</emulator>
      <machine maxCpus='1'>axis-dev88</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-i386</emulator>
      <machine canonical='pc-i440fx-1.5' maxCpus='255'>pc</machine>
      <machine maxCpus='1'>xenpv</machine>
      <machine maxCpus='255'>pc-q35-1.4</machine>
      <machine canonical='pc-q35-1.5' maxCpus='255'>q35</machine>
      <machine maxCpus='128'>xenfv</machine>
      <machine maxCpus='1'>isapc</machine>
      <machine maxCpus='255'>pc-0.10</machine>
      <machine maxCpus='255'>pc-0.11</machine>
      <machine maxCpus='255'>pc-0.12</machine>
      <machine maxCpus='255'>pc-0.13</machine>
      <machine maxCpus='255'>pc-0.14</machine>
      <machine maxCpus='255'>pc-0.15</machine>
      <machine maxCpus='255'>pc-1.0</machine>
      <machine maxCpus='255'>pc-1.1</machine>
      <machine maxCpus='255'>pc-1.2</machine>
      <machine maxCpus='255'>pc-1.3</machine>
      <machine maxCpus='255'>pc-i440fx-1.4</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
      <domain type='kvm'>
        <emulator>/usr/bin/kvm-spice</emulator>
        <machine canonical='pc-i440fx-1.5' maxCpus='255'>pc</machine>
        <machine maxCpus='1'>xenpv</machine>
        <machine maxCpus='255'>pc-q35-1.4</machine>
        <machine canonical='pc-q35-1.5' maxCpus='255'>q35</machine>
        <machine maxCpus='128'>xenfv</machine>
        <machine maxCpus='1'>isapc</machine>
        <machine maxCpus='255'>pc-0.10</machine>
        <machine maxCpus='255'>pc-0.11</machine>
        <machine maxCpus='255'>pc-0.12</machine>
        <machine maxCpus='255'>pc-0.13</machine>
        <machine maxCpus='255'>pc-0.14</machine>
        <machine maxCpus='255'>pc-0.15</machine>
        <machine maxCpus='255'>pc-1.0</machine>
        <machine maxCpus='255'>pc-1.1</machine>
        <machine maxCpus='255'>pc-1.2</machine>
        <machine maxCpus='255'>pc-1.3</machine>
        <machine maxCpus='255'>pc-i440fx-1.4</machine>
        <machine maxCpus='1'>none</machine>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
      <pae/>
      <nonpae/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='lm32'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-lm32</emulator>
      <machine maxCpus='1'>lm32-evr</machine>
      <machine maxCpus='1'>milkymist</machine>
      <machine maxCpus='1'>lm32-uclinux</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='m68k'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-m68k</emulator>
      <machine maxCpus='1'>mcf5208evb</machine>
      <machine maxCpus='1'>dummy</machine>
      <machine maxCpus='1'>an5206</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='microblaze'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-microblaze</emulator>
      <machine maxCpus='1'>petalogix-s3adsp1800</machine>
      <machine maxCpus='1'>petalogix-ml605</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='microblazeel'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-microblazeel</emulator>
      <machine maxCpus='1'>petalogix-s3adsp1800</machine>
      <machine maxCpus='1'>petalogix-ml605</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='mips'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-mips</emulator>
      <machine maxCpus='16'>malta</machine>
      <machine maxCpus='1'>mips</machine>
      <machine maxCpus='1'>mipssim</machine>
      <machine maxCpus='1'>pica61</machine>
      <machine maxCpus='1'>magnum</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='mipsel'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-mipsel</emulator>
      <machine maxCpus='16'>malta</machine>
      <machine maxCpus='1'>mips</machine>
      <machine maxCpus='1'>mipssim</machine>
      <machine maxCpus='1'>pica61</machine>
      <machine maxCpus='1'>magnum</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='mips64'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-mips64</emulator>
      <machine maxCpus='16'>malta</machine>
      <machine maxCpus='1'>mips</machine>
      <machine maxCpus='1'>mipssim</machine>
      <machine maxCpus='1'>pica61</machine>
      <machine maxCpus='1'>magnum</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='mips64el'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-mips64el</emulator>
      <machine maxCpus='16'>malta</machine>
      <machine maxCpus='1'>mips</machine>
      <machine maxCpus='1'>mipssim</machine>
      <machine maxCpus='1'>pica61</machine>
      <machine maxCpus='1'>magnum</machine>
      <machine maxCpus='1'>fulong2e</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='ppc'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-ppc</emulator>
      <machine maxCpus='1'>g3beige</machine>
      <machine maxCpus='1'>virtex-ml507</machine>
      <machine maxCpus='1'>prep</machine>
      <machine maxCpus='1'>bamboo</machine>
      <machine maxCpus='1'>taihu</machine>
      <machine maxCpus='1'>ref405ep</machine>
      <machine maxCpus='15'>mpc8544ds</machine>
      <machine maxCpus='1'>mac99</machine>
      <machine maxCpus='32'>ppce500</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='ppc64'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-ppc64</emulator>
      <machine maxCpus='1'>mac99</machine>
      <machine maxCpus='1'>virtex-ml507</machine>
      <machine maxCpus='256'>pseries</machine>
      <machine maxCpus='1'>prep</machine>
      <machine maxCpus='1'>bamboo</machine>
      <machine maxCpus='1'>taihu</machine>
      <machine maxCpus='1'>ref405ep</machine>
      <machine maxCpus='15'>mpc8544ds</machine>
      <machine maxCpus='1'>g3beige</machine>
      <machine maxCpus='32'>ppce500</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='ppcemb'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-ppcemb</emulator>
      <machine maxCpus='1'>g3beige</machine>
      <machine maxCpus='1'>virtex-ml507</machine>
      <machine maxCpus='1'>prep</machine>
      <machine maxCpus='1'>bamboo</machine>
      <machine maxCpus='1'>taihu</machine>
      <machine maxCpus='1'>ref405ep</machine>
      <machine maxCpus='15'>mpc8544ds</machine>
      <machine maxCpus='1'>mac99</machine>
      <machine maxCpus='32'>ppce500</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='s390x'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-s390x</emulator>
      <machine canonical='s390-virtio' maxCpus='255'>s390</machine>
      <machine canonical='s390-ccw-virtio' maxCpus='255'>s390-ccw</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='sh4'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-sh4</emulator>
      <machine maxCpus='1'>shix</machine>
      <machine maxCpus='1'>r2d</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='sh4eb'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-sh4eb</emulator>
      <machine maxCpus='1'>shix</machine>
      <machine maxCpus='1'>r2d</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='sparc'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-sparc</emulator>
      <machine maxCpus='1'>SS-5</machine>
      <machine maxCpus='1'>SS-2</machine>
      <machine maxCpus='20'>SS-2000</machine>
      <machine maxCpus='8'>SS-1000</machine>
      <machine maxCpus='1'>SPARCbook</machine>
      <machine maxCpus='1'>SPARCClassic</machine>
      <machine maxCpus='1'>SS-4</machine>
      <machine maxCpus='1'>LX</machine>
      <machine maxCpus='1'>Voyager</machine>
      <machine maxCpus='4'>SS-20</machine>
      <machine maxCpus='4'>SS-600MP</machine>
      <machine maxCpus='4'>SS-10</machine>
      <machine maxCpus='1'>leon3_generic</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='sparc64'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-sparc64</emulator>
      <machine maxCpus='1'>sun4u</machine>
      <machine maxCpus='1'>Niagara</machine>
      <machine maxCpus='1'>sun4v</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
    <features>
      <deviceboot/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='unicore32'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-unicore32</emulator>
      <machine maxCpus='1'>puv3</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-x86_64</emulator>
      <machine canonical='pc-i440fx-1.5' maxCpus='255'>pc</machine>
      <machine maxCpus='1'>xenpv</machine>
      <machine maxCpus='255'>pc-q35-1.4</machine>
      <machine canonical='pc-q35-1.5' maxCpus='255'>q35</machine>
      <machine maxCpus='128'>xenfv</machine>
      <machine maxCpus='1'>isapc</machine>
      <machine maxCpus='255'>pc-0.10</machine>
      <machine maxCpus='255'>pc-0.11</machine>
      <machine maxCpus='255'>pc-0.12</machine>
      <machine maxCpus='255'>pc-0.13</machine>
      <machine maxCpus='255'>pc-0.14</machine>
      <machine maxCpus='255'>pc-0.15</machine>
      <machine maxCpus='255'>pc-1.0</machine>
      <machine maxCpus='255'>pc-1.1</machine>
      <machine maxCpus='255'>pc-1.2</machine>
      <machine maxCpus='255'>pc-1.3</machine>
      <machine maxCpus='255'>pc-i440fx-1.4</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
      <domain type='kvm'>
        <emulator>/usr/bin/kvm-spice</emulator>
        <machine canonical='pc-i440fx-1.5' maxCpus='255'>pc</machine>
        <machine maxCpus='1'>xenpv</machine>
        <machine maxCpus='255'>pc-q35-1.4</machine>
        <machine canonical='pc-q35-1.5' maxCpus='255'>q35</machine>
        <machine maxCpus='128'>xenfv</machine>
        <machine maxCpus='1'>isapc</machine>
        <machine maxCpus='255'>pc-0.10</machine>
        <machine maxCpus='255'>pc-0.11</machine>
        <machine maxCpus='255'>pc-0.12</machine>
        <machine maxCpus='255'>pc-0.13</machine>
        <machine maxCpus='255'>pc-0.14</machine>
        <machine maxCpus='255'>pc-0.15</machine>
        <machine maxCpus='255'>pc-1.0</machine>
        <machine maxCpus='255'>pc-1.1</machine>
        <machine maxCpus='255'>pc-1.2</machine>
        <machine maxCpus='255'>pc-1.3</machine>
        <machine maxCpus='255'>pc-i440fx-1.4</machine>
        <machine maxCpus='1'>none</machine>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='xtensa'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-xtensa</emulator>
      <machine maxCpus='4'>sim</machine>
      <machine maxCpus='4'>lx200</machine>
      <machine maxCpus='4'>lx60</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='xtensaeb'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-xtensaeb</emulator>
      <machine maxCpus='4'>sim</machine>
      <machine maxCpus='4'>lx200</machine>
      <machine maxCpus='4'>lx60</machine>
      <machine maxCpus='1'>none</machine>
      <domain type='qemu'>
      </domain>
    </arch>
  </guest>

</capabilities>

[Ke, 20 Tou 2015 20:21:13 virt-manager 8458] DEBUG (connection:804) Using domain events
[Ke, 20 Tou 2015 20:21:14 virt-manager 8458] DEBUG (connection:841) Error registering network events: unknown procedure: 313
[Ke, 20 Tou 2015 20:21:21 virt-manager 8458] DEBUG (connection:210) Using libvirt API for mediadev enumeration
[Ke, 20 Tou 2015 20:21:21 virt-manager 8458] DEBUG (connection:1198) domain=bg.secret status=Käynnissä added
[Ke, 20 Tou 2015 20:21:22 virt-manager 8458] DEBUG (connection:1198) domain=Web status=Käynnissä added
[Ke, 20 Tou 2015 20:21:22 virt-manager 8458] DEBUG (connection:1198) domain=secret.secret status=Käynnissä added
[Ke, 20 Tou 2015 20:21:22 virt-manager 8458] DEBUG (connection:1198) domain=MV-WP-DEV status=Sammuta added
[Ke, 20 Tou 2015 20:21:22 virt-manager 8458] DEBUG (connection:1198) domain=Dev status=Käynnissä added
[Ke, 20 Tou 2015 20:21:23 virt-manager 8458] DEBUG (connection:1198) domain=SharedWeb status=Sammuta added
[Ke, 20 Tou 2015 20:21:23 virt-manager 8458] DEBUG (connection:1198) domain=cms status=Sammuta added
[Ke, 20 Tou 2015 20:21:23 virt-manager 8458] DEBUG (connection:1198) domain=events.secret status=Käynnissä added
[Ke, 20 Tou 2015 20:21:23 virt-manager 8458] DEBUG (connection:1198) domain=secret status=Käynnissä added
[Ke, 20 Tou 2015 20:21:24 virt-manager 8458] DEBUG (connection:1207) network=default added
[Ke, 20 Tou 2015 20:21:24 virt-manager 8458] DEBUG (connection:1207) network=Web added
[Ke, 20 Tou 2015 20:21:24 virt-manager 8458] DEBUG (connection:1207) network=secret added
[Ke, 20 Tou 2015 20:21:24 virt-manager 8458] DEBUG (connection:1207) network=Dev added
[Ke, 20 Tou 2015 20:21:24 virt-manager 8458] DEBUG (connection:1220) pool=default added
[Ke, 20 Tou 2015 20:21:24 virt-manager 8458] DEBUG (connection:1233) interface=lo added
[Ke, 20 Tou 2015 20:21:24 virt-manager 8458] DEBUG (connection:1233) interface=br0 added
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6

El Capitan crashing troubles

Hello.

I just updated my MAC into El Capitan and the virt-maganer still crashing.
In the console, i can see this error:

< /usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virt-manager:31: PyGIWarning: LibvirtGLib was imported without specifying a version first. Use gi.require_version('LibvirtGLib', '1.0') before import to ensure that the right version gets loaded. from gi.repository import LibvirtGLib /usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virtinst/osdict.py:26: PyGIWarning: Libosinfo was imported without specifying a version first. Use gi.require_version('Libosinfo', '1.0') before import to ensure that the right version gets loaded. from gi.repository import Libosinfo as libosinfo 🔥 Martin@hruska ~ $ (process:19457): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.>

After i opened the settings of virtual hosts, i can see this in debug mode:

< [Thu, 15 Oct 2015 15:44:28 virt-manager 19687] DEBUG (sshtunnels:277) Generated tunnel fd=28 for viewer [Thu, 15 Oct 2015 15:44:28 virt-manager 19687] DEBUG (sshtunnels:202) Opened tunnel PID=19694 ERRFD=26 [Thu, 15 Oct 2015 15:44:28 virt-manager 19687] DEBUG (viewers:336) Got credential request <enum VNC_DISPLAY_CREDENTIAL_PASSWORD of type VncDisplayCredential> [Thu, 15 Oct 2015 15:44:28 virt-manager 19687] ERROR (keyring:61) Error determining keyring Traceback (most recent call last): File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virtManager/keyring.py", line 45, in __init__ self._dbus = Gio.bus_get_sync(Gio.BusType.SESSION, None) Error: g-spawn-exit-error-quark: Error spawning command line 'dbus-launch --autolaunch=f2e85730915d5334ee8fadd655f5b33a --binary-syntax --close-stderr': Child process exited with code 1 (1) Segmentation fault: 11>

It was working fine before the upgrade. Now, when i run the virt-manager, it is working until i press some button or move by mouse. Do you have same problem?

Thanks,
Nethe

Docs update about remote connections

Hello, I tried to follow docs while connecting to libvirtd on remote host, which is running Debian Jessie. Unfortunately, I've failed to connect as user which within libvirt group, while trying to connect from linux box as same user was successful. I tried to connect to remote libvirt as root from os x, and this worked. Can you please update readme to suggest testing connection to remote host as root?

Thanks!

No connection available for qemu:///system

Hi, just installed vert-manager/virt-viewer on my mac os with El Capitan.
I am able to connect to remote libvirtds with no problems.
But I cannot make libvirtd work inside my mac.
when libvirtd started as:

/usr/local/Cellar/libvirt/1.3.2/sbin/libvirtd --daemon --verbose

I get this error:

libvirt[90470]: 18446744073709551615: error : do_open:1085 : no connection driver available for qemu:///system

Also if I use vert-manager or virsh, I get the same error:

virt-manager --debug -c qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (cli:256) Launched with command line: /usr/local/Cellar/virt-manager/1.3.2/libexec/share/virt-manager/virt-manager --debug -c qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (virt-manager:143) virt-manager version: 1.3.2
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (virt-manager:144) virtManager import: <module 'virtManager' from '/usr/local/Cellar/virt-manager/1.3.2/libexec/share/virt-manager/virtManager/init.pyc'>
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (virt-manager:203) GTK version: 3.18.9
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (engine:496) libguestfs inspection support: False
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (systray:154) Showing systray: False
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (engine:1028) processing cli command uri=qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock show_window= domain=
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (manager:203) Showing manager
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (engine:401) window counter incremented to 1
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (engine:161) Loading stored URIs:
qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (engine:140) Initial gtkapplication activated
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (connection:568) conn=qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock changed to state=Connecting
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (connection:887) Scheduling background open thread for qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock
uri: qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock auth: [[2, 5], <bound method VirtualConnection._auth_cb of <virtinst.connection.VirtualConnection object at 0x1100e3c10>>, (<bound method vmmConnection._do_creds_password of <vmmConnection object at 0x1100e7eb0 (virtManager+connection+vmmConnection at 0x7fb4fe126740)>>, [2, 5])] ret: None
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (connection:568) conn=qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock changed to state=Disconnected
[Thu, 31 Mar 2016 18:24:49 virt-manager 89901] DEBUG (error:99) error dialog message:
summary=Unable to connect to libvirt.

no connection driver available for qemu:///system
details=Unable to connect to libvirt.

no connection driver available for qemu:///system

Libvirt URI is: qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock

Traceback (most recent call last):
File "/usr/local/Cellar/virt-manager/1.3.2/libexec/share/virt-manager/virtManager/connection.py", line 903, in _do_open
self._backend.open(self._do_creds_password)
File "/usr/local/Cellar/virt-manager/1.3.2/libexec/share/virt-manager/virtinst/connection.py", line 148, in open
open_flags)
File "/usr/local/Cellar/virt-manager/1.3.2/libexec/vendor/lib/python2.7/site-packages/libvirt.py", line 106, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: no connection driver available for qemu:///system

[Thu, 31 Mar 2016 18:24:50 virt-manager 89901] DEBUG (engine:225) Determining default libvirt URI

any ideas?
I have installed qemu via homebrew :
brew install qemu

I was able to run qemu...

i am the administrator user and tried to run with sudo having the same problem.

gtk+3 dependency: crash while opening virtual machine info panel

Hey @jeffreywildman ,

i've installed virt-manager via homebrew and everything looks fine until i opened a virtual machine info panel. Python crashes with

Dyld Error Message:
  Symbol not found: _gdk_x11_display_get_type
  Referenced from: /usr/local/Cellar/gtk-vnc/0.5.4/lib/libgtk-vnc-2.0.0.dylib
  Expected in: /usr/local/Cellar/gtk+3/3.16.3/lib/libgdk-3.0.dylib

After i've switched back from gtk+3 3.16.3 to gtk+3 3.14.6 the windows launches slowly but they will launch!

$ brew switch gtk+3 3.14.6

Can you reproduce this issue?

Thanks for the create work :)
Eric

brew install virt-manager issue

It seems similar to issue#43

I updated xcode and brew and still I cannot install virt manager.

/usr/local/opt/pkg-config/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/local/opt/python/bin/python2.7 generator.py libvirt /usr/local/Cellar/libvirt/2.2.0/share/libvirt/api/libvirt-api.xml
Found 415 functions in /usr/local/Cellar/libvirt/2.2.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 344 wrapper functions
Missing type converters:
virConnectNodeDeviceEventGenericCallback:1
ERROR: failed virConnectNodeDeviceEventRegisterAny
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1

The post-install step did not complete successfully

Hi,

I'm having some problems trying to install this formula. It seems the issue is in the postinstall phase.

Failed executing: /usr/local/opt/gtk+/bin/gtk-update-icon-cache /usr/local/share/icons/hicolor
/usr/local/Library/Homebrew/formula.rb:1289:in block in system' /usr/local/Library/Homebrew/formula.rb:1246:inopen'
/usr/local/Library/Homebrew/formula.rb:1246:in system' /usr/local/Library/Taps/jeffreywildman/homebrew-virt-manager/virt-manager.rb:85:inpost_install'
/usr/local/Library/Homebrew/formula.rb:750:in run_post_install' /usr/local/Library/Homebrew/postinstall.rb:16:in

'

/usr/local/opt/gtk+/bin/gtk-update-icon-cache does not exist but /usr/local/opt/gtk+3/bin/gtk3-update-icon-cache does

spice-gtk issue in 10.9.5

$ brew upgrade
==> Upgrading 1 outdated package, with result:
jeffreywildman/virt-manager/spice-gtk 0.30
==> Upgrading jeffreywildman/virt-manager/spice-gtk
==> Downloading http://www.spice-space.org/download/gtk/spice-gtk-0.30.tar.bz2
######################################################################## 100.0%
==> ./configure --disable-silent-rules --with-gtk=3.0 --enable-introspection --enable-vala --with-audio=no --with-coroutine=gthread --prefix=/usr/local/Cellar/spice-gtk/0.30
==> make install
Last 15 lines from /Users/c0da/Library/Logs/Homebrew/spice-gtk/02.make:
/Applications/Xcode.app/Contents/Developer/usr/bin/make  install-recursive
Making install in spice-common
Making install in common
/usr/local/opt/python/bin/python /usr/local/Cellar/spice-protocol/0.12.10/lib/spice-protocol/spice_codegen.py --generate-demarshallers --client --include common/messages.h /usr/local/Cellar/spice-protocol/0.12.10/lib/spice-protocol/spice.proto generated_client_demarshallers.c >/dev/null
/usr/local/opt/python/bin/python /usr/local/Cellar/spice-protocol/0.12.10/lib/spice-protocol/spice_codegen.py --generate-demarshallers --client --include common/messages.h --prefix 1 --ptrsize 8 /usr/local/Cellar/spice-protocol/0.12.10/lib/spice-protocol/spice1.proto generated_client_demarshallers1.c >/dev/null
/usr/local/opt/python/bin/python /usr/local/Cellar/spice-protocol/0.12.10/lib/spice-protocol/spice_codegen.py --generate-marshallers -P --include common/messages.h --include client_marshallers.h --client /usr/local/Cellar/spice-protocol/0.12.10/lib/spice-protocol/spice.proto generated_client_marshallers.c >/dev/null
/usr/local/opt/python/bin/python /usr/local/Cellar/spice-protocol/0.12.10/lib/spice-protocol/spice_codegen.py --generate-marshallers -P --include common/messages.h --include client_marshallers.h --client --prefix 1 --ptrsize 8 /usr/local/Cellar/spice-protocol/0.12.10/lib/spice-protocol/spice1.proto generated_client_marshallers1.c >/dev/null
make[3]: *** [generated_client_demarshallers1.c] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [generated_client_demarshallers.c] Error 1
make[3]: *** [generated_client_marshallers1.c] Error 1
make[3]: *** [generated_client_marshallers.c] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/jeffreywildman/homebrew-virt-manager/issues

Cheers

[OS 10.11.6] Can't install spice-gtk

==> Installing spice-gtk from jeffreywildman/virt-manager
==> Downloading http://www.spice-space.org/download/gtk/spice-gtk-0.31.tar.bz2
Already downloaded: /Users/c0da/Library/Caches/Homebrew/spice-gtk-0.31.tar.bz2
==> ./configure --disable-silent-rules --with-gtk=3.0 --enable-introspection --enable-vala --with-audio=no --with-coroutine=gthread --prefix=/usr/local/Cellar/spice-gtk/0.31
==> make install
Last 15 lines from /Users/c0da/Library/Logs/Homebrew/spice-gtk/02.make:
  File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/xmlwriter.py", line 46, in <module>
    from giscanner._giscanner import collect_attributes
ImportError: dlopen(/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/_giscanner.so, 2): no suitable image found.  Did find:
        /usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/_giscanner.so: mach-o, but wrong architecture
libtool: link: clang -g -O2 -o .libs/spicy-stats spicy-stats.o spice-cmdline.o  ./.libs/libspice-client-glib-2.0.dylib -L/usr/local/Cellar/pixman/0.34.0/lib -L/usr/local/Cellar/glib/2.48.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/openssl/1.0.2h_1/lib -L/usr/local/Cellar/libusb/1.0.20/lib -L/usr/local/Cellar/usbredir/0.7.1/lib -lgio-2.0 -ljpeg -lz -lpixman-1 -lssl -lcrypto -lusb-1.0 -lusbredirhost -lusbredirparser -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl
make[4]: *** [SpiceClientGLib-2.0.gir] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: link: sed 's|^|_|' < ./spice-gtk-sym-file > .libs/libspice-client-gtk-3.0-symbols.expsym
libtool: link: clang -dynamiclib  -o .libs/libspice-client-gtk-3.0.4.dylib  .libs/libspice_client_gtk_3_0_la-spice-util.o .libs/libspice_client_gtk_3_0_la-spice-gtk-session.o .libs/libspice_client_gtk_3_0_la-spice-widget.o .libs/libspice_client_gtk_3_0_la-vncdisplaykeymap.o .libs/libspice_client_gtk_3_0_la-spice-grabsequence.o .libs/libspice_client_gtk_3_0_la-desktop-integration.o .libs/libspice_client_gtk_3_0_la-usb-device-widget.o .libs/libspice_client_gtk_3_0_la-spice-widget-cairo.o .libs/libspice_client_gtk_3_0_la-spice-widget-enums.o .libs/libspice_client_gtk_3_0_la-spice-marshal.o   ./.libs/libspice-client-glib-2.0.dylib -L/usr/local/Cellar/pixman/0.34.0/lib -L/usr/local/Cellar/glib/2.48.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/openssl/1.0.2h_1/lib -L/usr/local/Cellar/libusb/1.0.20/lib -L/usr/local/Cellar/usbredir/0.7.1/lib -ljpeg -lz -lpixman-1 -lssl -lcrypto -lusb-1.0 -lusbredirhost -lusbredirparser -lgthread-2.0 -L/usr/local/Cellar/cairo/1.14.6_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.34.0/lib -L/usr/local/Cellar/atk/2.20.0/lib -L/usr/local/Cellar/pango/1.40.1/lib -L/usr/local/Cellar/gtk+3/3.20.6/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -L/usr/local/Cellar/libepoxy/1.3.1/lib -lepoxy  -g -O2   -install_name  /usr/local/Cellar/spice-gtk/0.31/lib/libspice-client-gtk-3.0.4.dylib -compatibility_version 5 -current_version 5.0 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libspice-client-gtk-3.0-symbols.expsym
libtool: link: (cd ".libs" && rm -f "libspice-client-gtk-3.0.dylib" && ln -s "libspice-client-gtk-3.0.4.dylib" "libspice-client-gtk-3.0.dylib")
libtool: link: ( cd ".libs" && rm -f "libspice-client-gtk-3.0.la" && ln -s "../libspice-client-gtk-3.0.la" "libspice-client-gtk-3.0.la" )
make[3]: *** [install-recursive] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

This is on a new install, brew beeing fully updated and nothing showing when using brew doctor

Cheers.

Error polling connection (KeyError: 0)

I got virt-manager working once with successfully connecting to remote servers. Since then I always get the somewhat generic error Error polling connection regardless the server I'm using (tried 4). Any ideas where to look for or how to debug?

$ LANG=C virt-manager -c qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock  --debug
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (cli:246) Launched with command line: /usr/local/Cellar/virt-manager/1.2.0/libexec/share/virt-manager/virt-manager -c qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock --debug
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (virt-manager:153) virt-manager version: 1.2.0
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (virt-manager:154) virtManager import: <module 'virtManager' from '/usr/local/Cellar/virt-manager/1.2.0/libexec/share/virt-manager/virtManager/__init__.pyc'>
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (virt-manager:213) GTK version: 3.16.3
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (engine:456) libguestfs inspection support: False
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (systray:150) Showing systray: False
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (engine:228) About to connect to uris ['qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock']
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (manager:207) Showing manager
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (engine:357) window counter incremented to 1
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (connection:541) conn=qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock changed to state=Connecting
[Tue, 09 Jun 2015 09:45:46 virt-manager 12526] DEBUG (connection:845) Scheduling background open thread for qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock
[Tue, 09 Jun 2015 09:45:47 virt-manager 12526] DEBUG (connection:894) libvirt version=1002016
[Tue, 09 Jun 2015 09:45:47 virt-manager 12526] DEBUG (connection:896) daemon version=9008
[Tue, 09 Jun 2015 09:45:47 virt-manager 12526] DEBUG (connection:897) conn version=1000000
[Tue, 09 Jun 2015 09:45:48 virt-manager 12526] DEBUG (connection:899) qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock capabilities:
<capabilities>

  <host>
    <uuid>1e00ae60-008c-6200-f1e1-08606e45db68</uuid>
    <cpu>
      <arch>x86_64</arch>
      <model>Westmere</model>
      <vendor>Intel</vendor>
      <topology sockets="1" cores="4" threads="2"/>
      <feature name="rdtscp"/>
      <feature name="x2apic"/>
      <feature name="xtpr"/>
      <feature name="tm2"/>
      <feature name="est"/>
      <feature name="vmx"/>
      <feature name="ds_cpl"/>
      <feature name="monitor"/>
      <feature name="pbe"/>
      <feature name="tm"/>
      <feature name="ht"/>
      <feature name="ss"/>
      <feature name="acpi"/>
      <feature name="ds"/>
      <feature name="vme"/>
    </cpu>
    <power_management/>
    <migration_features>
      <live/>
      <uri_transports>
        <uri_transport>tcp</uri_transport>
      </uri_transports>
    </migration_features>
    <topology>
      <cells num="1">
        <cell id="0">
          <cpus num="8">
            <cpu id="0"/>
            <cpu id="1"/>
            <cpu id="2"/>
            <cpu id="3"/>
            <cpu id="4"/>
            <cpu id="5"/>
            <cpu id="6"/>
            <cpu id="7"/>
          </cpus>
        </cell>
      </cells>
    </topology>
    <secmodel>
      <model>apparmor</model>
      <doi>0</doi>
    </secmodel>
  </host>

  <guest>
    <os_type>hvm</os_type>
    <arch name="i686">
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-x86_64</emulator>
      <machine>pc-1.0-qemu-kvm</machine>
      <machine canonical="pc-1.0-qemu-kvm">pc-1.0-precise</machine>
      <machine canonical="pc-1.0">pc</machine>
      <machine>pc-1.0</machine>
      <machine>pc-0.14</machine>
      <machine>pc-0.13</machine>
      <machine>pc-0.12</machine>
      <machine>pc-0.11</machine>
      <machine>pc-0.10</machine>
      <machine>isapc</machine>
      <domain type="qemu">
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
      </domain>
      <domain type="kvm">
        <emulator>/usr/bin/kvm</emulator>
        <machine>pc-1.0-qemu-kvm</machine>
        <machine canonical="pc-1.0-qemu-kvm">pc-1.0-precise</machine>
        <machine canonical="pc-1.0">pc</machine>
        <machine>pc-1.0</machine>
        <machine>pc-0.14</machine>
        <machine>pc-0.13</machine>
        <machine>pc-0.12</machine>
        <machine>pc-0.11</machine>
        <machine>pc-0.10</machine>
        <machine>isapc</machine>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <pae/>
      <nonpae/>
      <acpi default="on" toggle="yes"/>
      <apic default="on" toggle="no"/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name="x86_64">
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-x86_64</emulator>
      <machine>pc-1.0-qemu-kvm</machine>
      <machine canonical="pc-1.0-qemu-kvm">pc-1.0-precise</machine>
      <machine canonical="pc-1.0">pc</machine>
      <machine>pc-1.0</machine>
      <machine>pc-0.14</machine>
      <machine>pc-0.13</machine>
      <machine>pc-0.12</machine>
      <machine>pc-0.11</machine>
      <machine>pc-0.10</machine>
      <machine>isapc</machine>
      <domain type="qemu">
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
      </domain>
      <domain type="kvm">
        <emulator>/usr/bin/kvm</emulator>
        <machine>pc-1.0-qemu-kvm</machine>
        <machine canonical="pc-1.0-qemu-kvm">pc-1.0-precise</machine>
        <machine canonical="pc-1.0">pc</machine>
        <machine>pc-1.0</machine>
        <machine>pc-0.14</machine>
        <machine>pc-0.13</machine>
        <machine>pc-0.12</machine>
        <machine>pc-0.11</machine>
        <machine>pc-0.10</machine>
        <machine>isapc</machine>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <acpi default="on" toggle="yes"/>
      <apic default="on" toggle="no"/>
    </features>
  </guest>

</capabilities>

[Tue, 09 Jun 2015 09:45:48 virt-manager 12526] DEBUG (connection:754) Using domain events
[Tue, 09 Jun 2015 09:45:48 virt-manager 12526] DEBUG (connection:768) Error registering domain balloon event: internal error unsupported event ID 13
[Tue, 09 Jun 2015 09:45:48 virt-manager 12526] DEBUG (connection:768) Error registering domain tray event: internal error unsupported event ID 10
[Tue, 09 Jun 2015 09:45:48 virt-manager 12526] DEBUG (connection:768) Error registering domain device removed event: internal error unsupported event ID 15
[Tue, 09 Jun 2015 09:45:48 virt-manager 12526] DEBUG (connection:768) Error registering domain device added event: internal error unsupported event ID 19
[Tue, 09 Jun 2015 09:45:48 virt-manager 12526] DEBUG (connection:794) Error registering network events: unknown procedure: 313
[Tue, 09 Jun 2015 09:45:49 virt-manager 12526] DEBUG (connection:444) Connection doesn't seem to support interface APIs. Skipping all interface polling.
[Tue, 09 Jun 2015 09:45:51 virt-manager 12526] DEBUG (connection:1256) Error polling connection qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock
Traceback (most recent call last):
  File "/usr/local/Cellar/virt-manager/1.2.0/libexec/share/virt-manager/virtManager/connection.py", line 1236, in tick_from_engine
    self._tick(*args, **kwargs)
  File "/usr/local/Cellar/virt-manager/1.2.0/libexec/share/virt-manager/virtManager/connection.py", line 1129, in _tick
    initial_poll, pollvm, pollnet, pollpool, polliface, pollnodedev)
  File "/usr/local/Cellar/virt-manager/1.2.0/libexec/share/virt-manager/virtManager/connection.py", line 1093, in _poll
    "refreshing xml for new %s" % newlist[0].class_name(),
KeyError: 0
[Tue, 09 Jun 2015 09:45:51 virt-manager 12526] DEBUG (connection:807) conn.close() uri=qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock
[Tue, 09 Jun 2015 09:45:51 virt-manager 12526] DEBUG (connection:541) conn=qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock changed to state=Disconnected
[Tue, 09 Jun 2015 09:45:51 virt-manager 12526] DEBUG (error:97) error dialog message:
summary=Error polling connection 'qemu+ssh://root@server/system?socket=/var/run/libvirt/libvirt-sock': 0
details=Traceback (most recent call last):
  File "/usr/local/Cellar/virt-manager/1.2.0/libexec/share/virt-manager/virtManager/engine.py", line 343, in _handle_tick_queue
    conn.tick_from_engine(**kwargs)
  File "/usr/local/Cellar/virt-manager/1.2.0/libexec/share/virt-manager/virtManager/connection.py", line 1266, in tick_from_engine
    raise e  # pylint: disable=raising-bad-type
KeyError: 0

Install error: failed virConnectNodeDeviceEventRegisterAny

On installing virt-manager, I get the error:

MacBook:Downloads mark$ brew doctor
Your system is ready to brew.
MacBook:Downloads mark$ brew install virt-manager
==> Installing virt-manager from jeffreywildman/virt-manager
==> Downloading https://fedorahosted.org/released/virt-manager/virt-manager-1.4.0.tar.gz
Already downloaded: /Users/mark/Library/Caches/Homebrew/virt-manager-1.4.0.tar.gz
==> Patching
patching file virt-clone
patching file virt-convert
patching file virt-install
patching file virt-manager
patching file virt-xml
==> Downloading https://libvirt.org/sources/python/libvirt-python-2.1.0.tar.gz
Already downloaded: /Users/mark/Library/Caches/Homebrew/virt-manager--libvirt-python-2.1.0.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/virt-manager/1.4.0/libexec/vendor --single-version-externally-managed --record=installed.
Last 15 lines from /Users/mark/Library/Logs/Homebrew/virt-manager/01.python:
--prefix=/usr/local/Cellar/virt-manager/1.4.0/libexec/vendor
--single-version-externally-managed
--record=installed.txt

running install
running build
/usr/local/opt/pkg-config/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python generator.py libvirt /usr/local/Cellar/libvirt/2.2.0/share/libvirt/api/libvirt-api.xml
Found 415 functions in /usr/local/Cellar/libvirt/2.2.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 344 wrapper functions
Missing type converters:
virConnectNodeDeviceEventGenericCallback:1
ERROR: failed virConnectNodeDeviceEventRegisterAny
error: command '/usr/bin/python' failed with exit status 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/jeffreywildman/homebrew-virt-manager/issues

Can't install libvirt-python on El Capitan

==> Installing virt-manager from jeffreywildman/virt-manager
==> Downloading https://fedorahosted.org/released/virt-manager/virt-manager-1.4.0.tar.gz
Already downloaded: /Users/pavel/Library/Caches/Homebrew/virt-manager-1.4.0.tar.gz
==> Patching
patching file virt-clone
patching file virt-convert
patching file virt-install
patching file virt-manager
patching file virt-xml
==> Downloading https://libvirt.org/sources/python/libvirt-python-1.3.5.tar.gz
Already downloaded: /Users/pavel/Library/Caches/Homebrew/virt-manager--libvirt-python-1.3.5.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/virt-manager/1.4.0/libexec/vendor --single-version-externally-managed --record=installed.txt
Last 15 lines from /Users/pavel/Library/Logs/Homebrew/virt-manager/01.python:
--record=installed.txt

running install
running build
/usr/local/opt/pkg-config/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/local/opt/python/bin/python2.7 generator.py libvirt /usr/local/Cellar/libvirt/2.0.0/share/libvirt/api/libvirt-api.xml
Found 413 functions in /usr/local/Cellar/libvirt/2.0.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 343 wrapper functions
Missing type converters:
virTypedParameterPtr *:1
virConnectStoragePoolEventGenericCallback:1
ERROR: failed virConnectStoragePoolEventRegisterAny
ERROR: failed virDomainGetGuestVcpus
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/jeffreywildman/homebrew-virt-manager/issues

after brew update , the same error

brew install virt-manager
==> Installing virt-manager from jeffreywildman/virt-manager
==> Installing dependencies for jeffreywildman/virt-manager/virt-manager: libtiff, libpng, freetype, fontconfig, pixman, cairo, gobject-introspection, gdk-pixbuf, atk, libepoxy, icu4c, harfbuzz, pango, hicolor-icon-theme, gsettings-desktop-schemas, gtk+3, libtasn1, gmp, nettle, gnutls, libgpg-error, libgcrypt, gtk-vnc, check, glib-networking, sqlite, vala, libsoup, libxml2, py2cairo, pygobject3, libosinfo, yajl, libvirt, libvirt-glib, libtool, spice-protocol, usbredir, spice-gtk, vte3
==> Installing jeffreywildman/virt-manager/virt-manager dependency: libtiff
==> Using the sandbox
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.6.tar.gz
Already downloaded: /var/root/Library/Caches/Homebrew/libtiff-4.0.6.tar.gz
==> Downloading https://mirrors.ocf.berkeley.edu/debian/pool/main/t/tiff/tiff_4.0.6-2.debian.tar.xz

curl: (35) SSL certificate problem: Couldn't understand the server certificate format
Trying a mirror...
==> Downloading https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/t/tiff/tiff_4.0.6-2.debian.tar.xz

curl: (35) SSL certificate problem: Couldn't understand the server certificate format
Error: Failed to download resource "libtiff--patch"
Download failed: https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/t/tiff/tiff_4.0.6-2.debian.tar.xz

please how to resolve?
my system is mac os EI Capitan

gtk-vnc error

==> Installing virt-manager dependency: gtk-vnc
==> Downloading https://download.gnome.org/sources/gtk-vnc/0.5/gtk-vnc-0.5.3.tar
Already downloaded: /Library/Caches/Homebrew/gtk-vnc-0.5.3.tar.xz
==> ./configure --disable-silent-rules --with-gtk=3.0 --enable-introspection --w
==> make install
clang: error: linker command failed with exit code 1 (use -v to see invocation)
linking of temporary binary failed: Command '['clang', '-o', '/private/tmp/gtk-vnc-OQQLFQ/gtk-vnc-0.5.3/src/tmp-introspectmBhdUT/GVnc-1.0', '/private/tmp/gtk-vnc-OQQLFQ/gtk-vnc-0.5.3/src/tmp-introspectmBhdUT/GVnc-1.0.o', '-L.', '-Wl,-rpath=.', '-Wl,--no-as-needed', './libgvnc-1.0.la', '-L/usr/local/Cellar/glib/2.42.1/lib', '-L/usr/local/opt/gettext/lib', '-lgio-2.0', '-lgmodule-2.0', '-lgobject-2.0', '-lglib-2.0', '-lintl']' returned non-zero exit status 1
make[2]: *** [GVnc-1.0.gir] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1

Virt-viewer can't open display

I am able to connect and get a list of running machines, but when attempting to connect to the VM I receive the following message:

(virt-viewer:24560): GSpice-WARNING **: main-1:0: could not set sockopt TCP_NODELAY: Operation not supported on socket

Can't download. glib-hardcoded-paths.diff is "404 Not Found"

Here's what I get when running the brew:

% brew install virt-manager virt-viewer
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Installing virt-manager from jeffreywildman/homebrew-virt-manager
==> Installing dependencies for jeffreywildman/virt-manager/virt-manager: glib, libpng, freetype, fontconfig, pixman, cairo, py2cairo, gobject-introspection, pygobject3, jpeg, libtiff, gdk-pixbuf, atk, autoconf, automake, libtool, libepoxy, gsettings-desktop-sche
==> Installing jeffreywildman/virt-manager/virt-manager dependency: glib
==> Downloading https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz
Already downloaded: /Library/Caches/Homebrew/glib-2.44.1.tar.xz
==> Downloading https://gist.githubusercontent.com/jacknagel/af332f42fae80c570a77/raw/7b5fd0d2e6554e9b770729fddacaa2d648327644/glib-hardcoded-paths.diff

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "glib--patch"
Download failed: https://gist.githubusercontent.com/jacknagel/af332f42fae80c570a77/raw/7b5fd0d2e6554e9b770729fddacaa2d648327644/glib-hardcoded-paths.diff

Googling gave me nothing so I'm expecting this to be only my problem? Already deleted related files into /Library/Cache/

Missing schema for GLib

After installation I getting such error:

$ virt-manager --debug
[Sat, 03 Jan 2015 16:45:23 virt-manager 2614] DEBUG (cli:187) Launched with command line: /usr/local/Cellar/virt-manager/1.1.0/libexec/share/virt-manager/virt-manager --debug
[Sat, 03 Jan 2015 16:45:23 virt-manager 2614] DEBUG (virt-manager:148) virt-manager version: 1.1.0
[Sat, 03 Jan 2015 16:45:23 virt-manager 2614] DEBUG (virt-manager:149) virtManager import: <module 'virtManager' from '/usr/local/Cellar/virt-manager/1.1.0/libexec/share/virt-manager/virtManager/__init__.pyc'>
[Sat, 03 Jan 2015 16:45:23 virt-manager 2614] DEBUG (virt-manager:207) GTK version: 3.14.6

(virt-manager:2614): GLib-GIO-ERROR **: Settings schema 'org.virt-manager.virt-manager' is not installed

Trace/BPT trap: 5

brew updated, OSX in 10.10.1 version.

Bug in El Capitan

$ brew upgrade

jeffreywildman/virt-manager/spice-gtk 0.30
==> Upgrading jeffreywildman/virt-manager/spice-gtk
==> Downloading http://www.spice-space.org/download/gtk/spice-gtk-0.30.tar.bz2
Already downloaded: /Library/Caches/Homebrew/spice-gtk-0.30.tar.bz2
==> ./configure --disable-silent-rules --with-gtk=3.0 --enable-introspection --enable-vala --with-audio=no --with-coroutine=gthread --prefix=/usr/local/Cellar/spice-gtk/0.30
==> make install
Last 15 lines from /Users/terciofilho/Library/Logs/Homebrew/spice-gtk/02.make:
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/Cellar/pixman/0.32.8/include/pixman-1 -I/usr/local/Cellar/glib/2.46.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.46.0/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/spice-protocol/0.12.10/include/spice-1 -g -O2 -c ssl_verify.c  -fno-common -DPIC -o .libs/ssl_verify.o
In file included from ssl_verify.c:24:
./ssl_verify.h:31:10: fatal error: 'openssl/rsa.h' file not found
#include <openssl/rsa.h>
         ^
1 error generated.
make[4]: *** [ssl_verify.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/Cellar/pixman/0.32.8/include/pixman-1 -I/usr/local/Cellar/glib/2.46.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.46.0/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/spice-protocol/0.12.10/include/spice-1 -g -O2 -c quic.c -o quic.o >/dev/null 2>&1
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/Cellar/pixman/0.32.8/include/pixman-1 -I/usr/local/Cellar/glib/2.46.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.46.0/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/spice-protocol/0.12.10/include/spice-1 -g -O2 -c lz.c -o lz.o >/dev/null 2>&1
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/Cellar/pixman/0.32.8/include/pixman-1 -I/usr/local/Cellar/glib/2.46.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.46.0/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/spice-protocol/0.12.10/include/spice-1 -g -O2 -c rop3.c -o rop3.o >/dev/null 2>&1
make[3]: *** [install] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/jeffreywildman/homebrew-virt-manager/issues

I checked that openssl is installed:

$ brew install openssl
Warning: openssl-1.0.2d_1 already installed

install error

Yosemite 10.10.2

$ brew install virt-manager
==> Installing virt-manager from jeffreywildman/homebrew-virt-manager
==> Downloading http://virt-manager.org/download/sources/virt-manager/virt-manager-1.1.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/virt-manager-1.1.0.tar.gz
==> Patching
patching file virt-clone
patching file virt-convert
patching file virt-install
patching file virt-manager
patching file virt-xml
patching file virt-manager.spec
patching file virt-manager.spec.in
==> Downloading http://libvirt.org/sources/python/libvirt-python-1.2.10.tar.gz
Already downloaded: /Library/Caches/Homebrew/virt-manager--libvirt-python-1.2.10.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/virt-manager/1.1.0/libexec/vendor --single-version-externally-managed --record=installed.txt
virDomainFSInfoPtr **:1
virDomainFSInfoPtr:1
ERROR: failed virDomainFSInfoFree
ERROR: failed virDomainGetFSInfo
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1

READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/jeffreywildman/homebrew-virt-manager/issues

Libvirt service must be started

For some reason virt-manager cant connect to libvirtd.

Mit libvirt konnte nicht verbunden werden.

Stellen Sie sicher, dass der »libvirtd«-Dienst läuft.

Libvirt URI is: qemu:///system

Traceback (most recent call last):
  File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virtManager/connection.py", line 862, in _do_open
    self._backend.open(self._do_creds_password)
  File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virtinst/connection.py", line 161, in open
    open_flags)
  File "/usr/local/Cellar/virt-manager/1.2.1/libexec/vendor/lib/python2.7/site-packages/libvirt.py", line 105, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory

ishot-116

Python quit unexpectedly every time I try and select a drop down box.

Hi, I've been having issues with Python quitting on me for ages and think I've now isolated it to a single UI element. Every time I select a drop down box to change an option I immediately get

Python quit unexpectedly while using the im-quartz.so plug-in.

I've done some searching, but can't turn up anything that makes any sense. Any ideas?

I've tied brew upgrade virt-manager, but it tells me that 1.3.2 is already installed, tried remove/install but same thing.

Peter.

Problem Installing

I tried installing earlier today. virt-viewer installs with no problem. Here's what I got with virt-manager. The dependencies installed correctly the first time I tried to install it.

brew doctor
Your system is ready to brew.
~  brew install virt-manager
==> Installing virt-manager from jeffreywildman/virt-manager
==> Installing dependencies for jeffreywildman/virt-manager/virt-manager:
==> Installing jeffreywildman/virt-manager/virt-manager dependency: libgc
==> Downloading https://homebrew.bintray.com/bottles/libgcrypt-1.7.0.el_capitan.

################################################################## 100.0%

==> Pouring libgcrypt-1.7.0.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libgcrypt/1.7.0: 17 files, 1.5M
==> Installing jeffreywildman/virt-manager/virt-manager
==> Downloading https://fedorahosted.org/released/virt-manager/virt-manager-1.3.
Already downloaded: /Library/Caches/Homebrew/virt-manager-1.3.2.tar.gz
==> Patching
patching file virt-clone
patching file virt-convert
patching file virt-install
patching file virt-manager
patching file virt-xml
==> Downloading https://libvirt.org/sources/python/libvirt-python-1.3.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/virt-manager--libvirt-python-1.3.2.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
Last 15 lines from /Users/mmiles/Library/Logs/Homebrew/virt-manager/01.python:
--record=installed.txt

running install
running build
/usr/local/opt/pkg-config/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/local/opt/python/bin/python2.7 generator.py libvirt /usr/local/Cellar/libvirt/1.3.3/share/libvirt/api/libvirt-api.xml
Found 409 functions in /usr/local/Cellar/libvirt/1.3.3/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 339 wrapper functions
Missing type converters:
virTypedParameterPtr:1
virTypedParameterPtr *:1
ERROR: failed virDomainGetPerfEvents
ERROR: failed virDomainSetPerfEvents
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/jeffreywildman/homebrew-virt-manager/issues

ImportError: No module named gi

$ uname -a
Darwin 10.9.5-macosx 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64
$ pyenv version
2.7.10 (set by /usr/local/opt/pyenv/version)
$ virt-manager 
Traceback (most recent call last):
  File "/usr/local/Cellar/virt-manager/1.2.1/libexec/share/virt-manager/virt-manager", line 29, in <module>
    import gi
ImportError: No module named gi

Unable to connect to remote libvirt

Here is a traceback:
I am new to virt-manager so I don't know if this is an issue but I can connect to the server on Debian.

Traceback (most recent call last):
File "/usr/local/Cellar/virt-manager/1.3.1/libexec/share/virt-manager/virtManager/connection.py", line 903, in _do_open
self._backend.open(self._do_creds_password)
File "/usr/local/Cellar/virt-manager/1.3.1/libexec/share/virt-manager/virtinst/connection.py", line 148, in open
open_flags)
File "/usr/local/Cellar/virt-manager/1.3.1/libexec/vendor/lib/python2.7/site-packages/libvirt.py", line 105, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: An error occurred, but the cause is unknown

Fresh install on 10.11.1: fatal error: 'glib/gi18n-lib.h' file not found

$ brew install virt-manager
==> Installing virt-manager from jeffreywildman/homebrew-virt-manager
==> Installing dependencies for jeffreywildman/virt-manager/virt-manager: libvirt-glib, vala, vte3, d-bus, check, xz, glib-netw
==> Installing jeffreywildman/virt-manager/virt-manager dependency: libvirt-glib
==> Downloading https://libvirt.org/sources/glib/libvirt-glib-0.2.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/libvirt-glib-0.2.2.tar.gz
==> Patching
patching file libvirt-gconfig/Makefile.am
Hunk #1 succeeded at 215 (offset 2 lines).
patching file libvirt-gconfig/Makefile.in
Hunk #1 succeeded at 759 (offset 12 lines).
patching file libvirt-glib/Makefile.am
patching file libvirt-glib/Makefile.in
Hunk #1 succeeded at 446 (offset 10 lines).
patching file libvirt-gobject/Makefile.am
Hunk #1 succeeded at 93 (offset 3 lines).
patching file libvirt-gobject/Makefile.in
Hunk #1 succeeded at 533 (offset 13 lines).
==> ./configure --disable-silent-rules --enable-introspection --prefix=/usr/local/Cellar/libvirt-glib/0.2.2
==> make install
Last 15 lines from /Users/mpontillo/Library/Logs/Homebrew/libvirt-glib/02.make:
1 error generated.
make[1]: *** [libvirt_glib_1_0_la-libvirt-glib-error.lo] Error 1
In file included from libvirt-glib-event.c:32:
In file included from ../libvirt-glib/libvirt-glib.h:26:
../libvirt-glib/libvirt-glib-main.h:31:10: fatal error: 'glib.h' file not found
#include <glib.h>
         ^
libvirt-glib-main.c:29:10: fatal error: 'glib/gi18n-lib.h' file not found
#include <glib/gi18n-lib.h>
         ^
1 error generated.
1 error generated.
make[1]: *** [libvirt_glib_1_0_la-libvirt-glib-main.lo] Error 1
make[1]: *** [libvirt_glib_1_0_la-libvirt-glib-event.lo] Error 1
make: *** [install-recursive] Error 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/jeffreywildman/homebrew-virt-manager/issues

Update formula for virt-manager 1.3.0

Temporary branch dev-1.3.0 is work-in-progress. virt-manager builds, but produces runtime errors. Looking for tips on how to resolve the following. First error:

Error starting Virtual Machine Manager: g-exec-error-quark: Failed to execute child process "dbus-launch" () (8)

Following this post, run:

export DBUS_SESSION_BUS_ADDRESS="unix:path=`launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET`"

Running virt-manager again yields the following error:

Error starting Virtual Machine Manager: g-io-error-quark: Exhausted all available authentication mechanisms (tried: EXTERNAL, DBUS_COOKIE_SHA1, ANONYMOUS) (available: EXTERNAL, DBUS_COOKIE_SHA1, ANONYMOUS) (0)

Add formula for virt-viewer

Companion utility for virt-manager? I've not used virt-viewer before, but seems like a natural candidate to include in this tap.

Unable to connect to remote session via SSH

I tried launching virt-manager with the "--debug" and "--no-fork" flags, and am able to SSH into the remote machine via CLI using my public-private keys via "ssh [email protected]" I have tried with root and my local user account on the remote system. No matter what, I always get this error:

Libvirt URI is: qemu+ssh://[email protected]/system

Traceback (most recent call last):
File "/usr/local/Cellar/virt-manager/1.3.2/libexec/share/virt-manager/virtManager/connection.py", line 903, in _do_open
self._backend.open(self._do_creds_password)
File "/usr/local/Cellar/virt-manager/1.3.2/libexec/share/virt-manager/virtinst/connection.py", line 148, in open
open_flags)
File "/usr/local/Cellar/virt-manager/1.3.2/libexec/vendor/lib/python2.7/site-packages/libvirt.py", line 105, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: An error occurred, but the cause is unknown

make install fails

Tried to install on Mac 10.11.6 and the installation fails during make install at:

==> ./configure --disable-silent-rules --with-gtk=3.0 --enable-introspection --enable-vala --with-audio=no --with-coroutine=gthread --prefix=/usr/local/Cellar/spice-gtk/0.31
==> make install
Last 15 lines from...
.
.
.
Undefined symbols for architecture x86_64:
  "_spice_usb_device_get_libusb_device", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libspice-client-glib-2.0.la] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

I've ensured that brew update and brew doctor works and are clean. Any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.