[Pkg-libvirt-maintainers] Bug#493782: virt-image API error

Filip Van Raemdonck mechanix at debian.org
Mon Aug 4 21:08:54 UTC 2008


Package: virtinst
Version: 0.300.3-4
Severity: normal

when called with a proper xml file, virt-image crashes because it calls
a libvirt API method with an incorrect number of arguments (see below).
Adding any random string as another argument to the get_memory call makes
it get past.

$ virt-image -d -p manpage.xml
ma, 04 aug 2008 20:45:38 ERROR    get_memory() takes exactly 3 arguments (2 given)
Traceback (most recent call last):
  File "/usr/bin/virt-image", line 242, in <module>
    main()
  File "/usr/bin/virt-image", line 193, in main
    get_memory(options.memory, image.domain.memory, guest)
  File "/usr/bin/virt-image", line 52, in get_memory
    cli.get_memory(memory, guest)
TypeError: get_memory() takes exactly 3 arguments (2 given)


KR,

Filip

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages virtinst depends on:
ii  python                     2.5.2-1       An interactive high-level object-o
ii  python-libvirt             0.4.4-3       libvirt Python bindings
ii  python-libxml2             2.6.32.dfsg-2 Python bindings for the GNOME XML 
ii  python-support             0.8.4         automated rebuilding support for P
ii  python-urlgrabber          3.1.0-4       A high-level cross-protocol url-gr

Versions of packages virtinst recommends:
pn  virt-viewer                   <none>     (no description available)

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list