Package Details: python-libguestfs 1.40.2-1

Git Clone URL: (read-only, click to copy)
Package Base: python-libguestfs
Description: Python bindings for libguestfs
Upstream URL:
Licenses: LGPL3
Submitter: sanerb
Maintainer: sanerb
Last Packager: sanerb
Votes: 1
Popularity: 0.000039
First Submitted: 2018-02-28 05:27
Last Updated: 2019-09-01 00:42

Latest Comments

sanerb commented on 2018-12-23 06:51

as mentioned in this seems to be a bug that upstream does not think is a bug. we're sort of waiting on that bug report. it may also be related to instead, as i build per upstream docs.

python 2.x bindings should work fine for now.

this indicates it is indeed a libguestfs issue:

recommend you comment on libguestfs.


confirmed. see comments here:

and my comment here:

rwmjones commented on 2018-12-22 20:56

The function is:

PyObject *
guestfs_int_py_fromstringsize (const char *str, size_t size)
  return PyString_FromStringAndSize (str, size);
  return PyUnicode_FromStringAndSize (str, size);

I'm going to need to see the full ./configure output to determine why HAVE_PYSTRING_ASSTRING is defined but the function doesn't actually exist.

It might also be that you're mixing Python 2 & 3 extensions.

MichaelChou commented on 2018-09-13 11:11

I got the following error:

Python 3.7.0 (default, Jul 15 2018, 10:44:58) 
[GCC 8.1.1 20180531] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import guestfs
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.7/site-packages/", line 73, in <module>
    import libguestfsmod
ImportError: /usr/lib/python3.7/site-packages/ undefined symbol: PyString_FromStringAndSize