similar to: Re: python 3 bindings on libguestfs

Displaying 20 results from an estimated 2000 matches similar to: "Re: python 3 bindings on libguestfs"

2018 Jan 25
0
Re: python 3 bindings on libguestfs
On Thu, Jan 25, 2018 at 03:09:47PM +0000, abinaya.manikandan@wipro.com wrote: > Hi, > > As per you suggestion I have set PYTHONPATH. > Now the issue is different. > > [root@euca-172-31-15-221 ~]$ echo $PYTHONPATH > /opt/libguestfs/x86_64/1.32.10/lib64:/opt/libguestfs/x86_64/1.32.10/lib/python3.6/site-packages/: > [root@euca-172-31-15-221 ~]$ python > Python 3.6.0
2018 Jan 31
1
Re: python 3 bindings on libguestfs
On Wed, Jan 31, 2018 at 09:09:11AM +0000, abinaya.manikandan@wipro.com wrote: > Hi, > > We have done on fresh instance. > > We have manually installed libguestfs-1.32.10. > I could see below log while running ./configure: > > checking Python version... 3.6 > checking for PYTHON... yes > checking Python prefix... /opt/python/x86_64/3.6.3-1 > checking for Python
2018 Jan 25
0
Re: python 3 bindings on libguestfs
On Thu, Jan 25, 2018 at 01:31:09PM +0000, abinaya.manikandan@wipro.com wrote: > Hi, > > We are trying to build libguestfs RPM package using SPEC file. This is new information, and good that's how you should be building libguestfs on RHEL or CentOS. ... > 4. We could see python-guestfs libraries in below path, > > [root@euca-172-31-15-221 site-packages]$ pwd >
2017 Sep 01
1
virt-resize error on RHEL 7 (was: Re: Regarding libguestfs)
Hi Richard, As per your suggestion we removed pango-devel and build was successful. Thank you! After the delivery, our customer reported another error related to virt-resize as below: virt-resize: error: libguestfs error: internal_feature_available: dispatch_incoming_message: unknown procedure number 458, set LIBGUESTFS_PATH to point to the matching libguestfs appliance directory Regards,
2017 Aug 28
0
Re: Regarding libguestfs issue
Hi, On Monday, 28 August 2017 11:38:54 CEST abinaya.manikandan@wipro.com wrote: > Hi Team, > > While building libguestfs_v1.36.1 I am facing below issues: Note that the latest version of the stable 1.36 series is 1.36.5, so you'd better try building that one. > configure: error: Package requirements (glib-2.0 >= 2.28.0 atk >= 1.30 pango >= 1.20 cairo >=
2017 Aug 29
0
Re: Pango error when compiling virt-p2v on RHEL 7 (was: Re: Regarding libguestfs)
On Tue, Aug 29, 2017 at 02:20:47PM +0000, abinaya.manikandan@wipro.com wrote: > Hi, > > Yes, We are using pango-devel-1.40.4-1.el7.x86_64. > Please find details below: > > >> [root@euca-10-254-11-189 rpmbuild]# rpm -qf /usr/include/pango-1.0/pango/pango-version-macros.h > pango-devel-1.40.4-1.el7.x86_64 > > Somehow the issue fixed if we remove the pango-devel,
2018 Jan 29
0
Re: python 3 bindings on libguestfs
The logs here: > checking for python... /opt/python/x86_64/3.1.1/bin/python3 > checking Python version... 3.1 > checking for PYTHON... no > checking for PYTHON... no > checking Python prefix... /opt/python/x86_64/3.1.1 > checking for Python site-packages path... /opt/python/x86_64/3.1.1/lib/python3.1/site-packages > checking for Python extension suffix (PEP-3149)... .so >
2018 Jan 23
0
Re: python 3 bindings on libguestfs
On Tue, Jan 23, 2018 at 12:48:48PM +0000, abinaya.manikandan@wipro.com wrote: > Hi Team, > > As per our user request we are trying to enable python3 on libguestfs 1.32.10 as per steps which is mentioned in below URL. > > https://github.com/libguestfs/libguestfs/blob/master/docs/guestfs-building.pod > > But python-guestfs is not getting enabled. > Please suggest me on
2018 Jan 24
0
Re: python 3 bindings on libguestfs
On Wed, Jan 24, 2018 at 09:13:22AM +0000, abinaya.manikandan@wipro.com wrote: > Hello, > > Please fine below details: > > [root@server190 ~]$ cat /etc/redhat-release > Red Hat Enterprise Linux Server release 6.5 (Santiago) > > We are trying to import guestfs in python according to manual page: > http://libguestfs.org/guestfs-py > > I should be able to
2018 Jan 30
0
Re: python 3 bindings on libguestfs
The interesting line is this one ... checking for PyString_AsString in -lc... no and if you compare that to the code, eg in python/guestfs-py.c: #ifdef HAVE_PYSTRING_ASSTRING PyDict_SetItemString (dict, "ftyp", PyString_FromStringAndSize (&dirent->ftyp, 1)); #else PyDict_SetItemString (dict, "ftyp",
2019 Dec 13
0
dlopen RTD_LAZY and RTLD_GLOBAL
All, I use a code which has a python (I use python36) wrapper loading shared libraries. The code worked fine in RHEL 7 but as I was testing it on Centos 8, python cannot import the shared library (the import is done via dlopen with flags set as > sys.setdlopenflags(os.RTLD_LAZY | os.RTLD_GLOBAL) python then does a bunch of imports and most results in a shared library with indefined
2018 Jan 25
0
Re: python 3 bindings on libguestfs
On Thu, Jan 25, 2018 at 10:25:16AM +0000, abinaya.manikandan@wipro.com wrote: > Hi, > > Can you please let me know which all are the python versions > (2.7/3.5/3.6) can enable in libguestfs_v13210. Any version of Python can be used. See also: http://libguestfs.org/guestfs-building.1.html#building-python-2-and-python-3-bindings Rich. -- Richard Jones, Virtualization Group, Red Hat
2018 Feb 05
0
Re: python 3 bindings on libguestfs
On Mon, Feb 05, 2018 at 11:58:45AM +0000, abinaya.manikandan@wipro.com wrote: > Hi, > > Please find below warning which I am facing while running "make" in source code of libguestfs-1.32.4: > > ********************************************************************** > make[2]: Entering directory `/root/rpmbuild/SOURCES/libguestfs-1.32.4/python' > CC
2017 Aug 28
0
Re: Regarding libguestfs issue
Hi, please don't top-post... On Monday, 28 August 2017 12:15:56 CEST abinaya.manikandan@wipro.com wrote: > Now we are facing below issues. > > checking Pango flags... -I/opt/libguestfs/x86_64/1.36.1-1.test/deps/include/glib-2.0 -I/opt/libguestfs/x86_64/1.36.1-1.test/deps/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/harfbuzz
2017 Aug 29
0
Pango error when compiling virt-p2v on RHEL 7 (was: Re: Regarding libguestfs)
On Tue, Aug 29, 2017 at 01:16:00PM +0000, abinaya.manikandan@wipro.com wrote: > Hi Team, > > We are trying to build libguestfs-1.34.6 on RHEL7 host. > We have installed all the dependencies which is showing while running ./configure command in inside the source code of libguestfs. > But while running make we are facing below issue: > >
2017 Aug 29
0
Re: Regarding libguestfs
On Tue, Aug 29, 2017 at 01:16:00PM +0000, abinaya.manikandan@wipro.com wrote: > Hi Team, > > We are trying to build libguestfs-1.34.6 on RHEL7 host. > We have installed all the dependencies which is showing while running ./configure command in inside the source code of libguestfs. > But while running make we are facing below issue: > >
2017 Aug 31
0
Re: Pango error when compiling virt-p2v on RHEL 7 (was: Re: Regarding libguestfs)
On Thu, Aug 31, 2017 at 06:53:39AM +0000, abinaya.manikandan@wipro.com wrote: > Hi Richard, > > Would like to know the importance of p2v directory in libguestfs. Because we could successfully run the build in rhel6 but in rhel7 it throws all kinds of minor errors. > So is it a good idea to remove gtk+pango thus removing p2v directory? See: http://libguestfs.org/virt-p2v.1.html >
2017 Sep 01
0
Re: virt-resize error on RHEL 7 (was: Re: Regarding libguestfs)
On Fri, Sep 01, 2017 at 05:19:06AM +0000, abinaya.manikandan at wipro.com wrote: > virt-resize: error: libguestfs error: internal_feature_available: > dispatch_incoming_message: unknown procedure number 458, set > LIBGUESTFS_PATH to point to the matching libguestfs appliance directory You've mixed up different installations of libguestfs also. Suggest the same resolution as here:
2017 May 21
0
[PATCH 2/2] python: unicode decode handler error scheme setter
The set_decode_error_handler function allows the User to set the decoding error scheme to be used when non UTF8 characters are encountered in Python 3. The function has no effect in Python 2. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- generator/python.ml | 16 ++++++++++++++++ python/handle.c | 18 ++++++++++++++++-- python/t/test830RHBZ1406906.py |
2017 Mar 18
0
[PATCH] python: check return value of Python APIs
Addressing issue #1406906. When constructing the returned objects, check the return value of Python APIs. This is especially relevant when dealing with non UTF-8 strings. A RuntimeError will be raised on failure pointing to the problematic entry and the field name. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- generator/python.ml | 143