2018-03-27 16:27:13

by J. Bruce Fields

[permalink] [raw]
Subject: 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:

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.


2018-03-27 16:31:02

by Jianhong Yin

[permalink] [raw]
Subject: Re: [PATCH] [pynfs] remove redundant ply, gssapi and rpcgen.py modules


----- 原始邮件 -----
> 发件人: "J. Bruce Fields" <[email protected]>
> 收件人: "Jianhong.Yin" <[email protected]>
> 抄送: [email protected], [email protected]
> 发送时间: 星期三, 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.
>