Bill Speirs
2015-May-21 14:03 UTC
Re: [Libguestfs] [nbdkit python]: unable to locate modules
What version of Python were you running for your test? $ python --version Python 2.7.9 Also, has anyone written a complex plugin for nbdkit that leverages shared libraries? I was hoping to hack this together quickly to test performance... Thanks! Bill- On Thu, May 21, 2015 at 5:34 AM, Richard W.M. Jones <rjones@redhat.com> wrote:> Judging by this comment, it seems to be a generic problem with > Python: > > https://github.com/blankwall/Python_Pin/issues/2#issuecomment-70569507 > > Strange. Anyway, patches welcome if you manage to solve this > properly. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > virt-builder quickly builds VMs from scratch > http://libguestfs.org/virt-builder.1.html
Richard W.M. Jones
2015-May-21 14:36 UTC
Re: [Libguestfs] [nbdkit python]: unable to locate modules
On Thu, May 21, 2015 at 10:03:42AM -0400, Bill Speirs wrote:> What version of Python were you running for your test? > > $ python --version > Python 2.7.92.7.8 here.> Also, has anyone written a complex plugin for nbdkit that leverages > shared libraries? I was hoping to hack this together quickly to test > performance...Nope. I've written substantial plugins in Perl & C only. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Bill Speirs
2015-May-21 15:08 UTC
Re: [Libguestfs] [nbdkit python]: unable to locate modules
OK... I *think* I've solved the issue. It has to do with the way plugins are loaded. Here's the bug I filed: https://bugzilla.redhat.com/show_bug.cgi?id=1223870 Let me know... Bill- On Thu, May 21, 2015 at 10:36 AM, Richard W.M. Jones <rjones@redhat.com> wrote:> On Thu, May 21, 2015 at 10:03:42AM -0400, Bill Speirs wrote: >> What version of Python were you running for your test? >> >> $ python --version >> Python 2.7.9 > > 2.7.8 here. > >> Also, has anyone written a complex plugin for nbdkit that leverages >> shared libraries? I was hoping to hack this together quickly to test >> performance... > > Nope. I've written substantial plugins in Perl & C only. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > virt-p2v converts physical machines to virtual machines. Boot with a > live CD or over the network (PXE) and turn machines into KVM guests. > http://libguestfs.org/virt-v2v