linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jianhong Yin <jiyin@redhat.com>
To: "J. Bruce Fields" <bfields@redhat.com>
Cc: "Jianhong.Yin" <yin-jianhong@163.com>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] [pynfs] remove redundant ply, gssapi and rpcgen.py modules
Date: Tue, 27 Mar 2018 12:31:02 -0400 (EDT)	[thread overview]
Message-ID: <464328612.13844650.1522168262083.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20180327162711.GA13526@parsley.fieldses.org>


----- 原始邮件 -----
> 发件人: "J. Bruce Fields" <bfields@redhat.com>
> 收件人: "Jianhong.Yin" <yin-jianhong@163.com>
> 抄送: linux-nfs@vger.kernel.org, jiyin@redhat.com
> 发送时间: 星期三, 2018年 3 月 28日 上午 12:27:11
> 主题: Re: [PATCH] [pynfs] remove redundant ply, gssapi and rpcgen.py modules
> 
> Hm, I'm getting
> 
> Moving to nfs4.0
> Traceback (most recent call last):
>   File "./setup.py", line 16, in <module>
>     import use_local
> ImportError: No module named use_local
> 
> I guess that's due to this:
yes, need install xdr first.

they are copied from nfs4.1/setup.py, I will investigate what's use_local
> 
> On Tue, Mar 27, 2018 at 02:40:55PM +0800, Jianhong.Yin wrote:
> > diff --git a/nfs4.0/setup.py b/nfs4.0/setup.py
> > index f17a1c9..d5d3ad8 100755
> > --- a/nfs4.0/setup.py
> > +++ b/nfs4.0/setup.py
> > @@ -10,18 +10,20 @@ from distutils.core import setup, Extension
> >  from distutils.dep_util import newer_group
> >  import os
> >  import glob
> > +try:
> > +    import xdrgen
> > +except ImportError:
> > +    import use_local
> > +    import xdrgen
> 
> --b.
> 

      reply	other threads:[~2018-03-27 16:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180327064055.9559-1-yin-jianhong@163.com>
2018-03-27 16:27 ` [PATCH] [pynfs] remove redundant ply, gssapi and rpcgen.py modules J. Bruce Fields
2018-03-27 16:31   ` Jianhong Yin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=464328612.13844650.1522168262083.JavaMail.zimbra@redhat.com \
    --to=jiyin@redhat.com \
    --cc=bfields@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=yin-jianhong@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).