Re: Seafile-v6.2.11 - NamedPipeClient - python module import error

2019-05-24 Thread Abhinav Tamaskar
Thanks a lot for the fix!


Abhinav Tamaskar


On Mon, May 20, 2019 at 11:41 PM Abhinav Tamaskar 
wrote:

> Hi Kirill and others,
>   I have been trying to get seafile working on my server and have not been
> able to get
> `seaf-cli` to start run on my machine. Unfortunately, it seems like some
> files are missing
> in the latest version of the package.
>
> To reproduce the error:
> $ pkg_add seafile-daemon
> $ seaf-cli
> Traceback (most recent call last):
>   File /usr/local/bin/seaf-cli, line 99, in 
> import seafile
>   File /usr/local/lib/python2.7/site-packages/seafile/__init__.py, line 2,
> in 
> from rpcclient import SeafileRpcClient as RpcClient
>   File /usr/local/lib/python2.7/site-packages/seafile/rpcclient.py, line
> 1, in 
> from pysearpc import searpc_func, SearpcError, NamedPipeClient
> ImportError: cannot import name NamedPipeClient
>
> System information:
> My current system is running the latest snapshot as of this moment, on an
> arm64 machine
> (rockpro64). There are no patches applied on top of standard package.
> Kernel version:
> OpenBSD 6.5-current (GENERIC.MP) #19: Thu May 16 17:05:43 MDT 2019
> dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
>
> Possible cause and resolution:
> I believe this is an issue with the file
> `.../net/seafile/libsearpc/pkg/PLIST`, which does not
> contain the names of all the required files. If the file names are added
> maybe it will work.
> I do not have a system capable of compiling ports, so this is a conjecture
> based on an
> educated guess.
>
> Let me know if I am being unclear at any point and I can try to clarify.
>
> Thanks a bunch for the port,
> Abhinav
>


Re: Seafile-v6.2.11 - NamedPipeClient - python module import error

2019-05-22 Thread Kirill Bychkov
On Tue, May 21, 2019 06:41, Abhinav Tamaskar wrote:
> Hi Kirill and others,
>   I have been trying to get seafile working on my server and have not been
> able to get
> `seaf-cli` to start run on my machine. Unfortunately, it seems like some
> files are missing
> in the latest version of the package.

Hi,
Fixed in libsearpc-3.1p1.

>
> To reproduce the error:
> $ pkg_add seafile-daemon
> $ seaf-cli
> Traceback (most recent call last):
>   File /usr/local/bin/seaf-cli, line 99, in 
> import seafile
>   File /usr/local/lib/python2.7/site-packages/seafile/__init__.py, line 2,
> in 
> from rpcclient import SeafileRpcClient as RpcClient
>   File /usr/local/lib/python2.7/site-packages/seafile/rpcclient.py, line 1,
> in 
> from pysearpc import searpc_func, SearpcError, NamedPipeClient
> ImportError: cannot import name NamedPipeClient
>
> System information:
> My current system is running the latest snapshot as of this moment, on an
> arm64 machine
> (rockpro64). There are no patches applied on top of standard package.
> Kernel version:
> OpenBSD 6.5-current (GENERIC.MP) #19: Thu May 16 17:05:43 MDT 2019
> dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
>
> Possible cause and resolution:
> I believe this is an issue with the file
> `.../net/seafile/libsearpc/pkg/PLIST`, which does not
> contain the names of all the required files. If the file names are added
> maybe it will work.
> I do not have a system capable of compiling ports, so this is a conjecture
> based on an
> educated guess.
>
> Let me know if I am being unclear at any point and I can try to clarify.
>
> Thanks a bunch for the port,
> Abhinav
>




Re: Seafile-v6.2.11 - NamedPipeClient - python module import error

2019-05-22 Thread Kirill Bychkov
On Tue, May 21, 2019 06:41, Abhinav Tamaskar wrote:
> Hi Kirill and others,
>   I have been trying to get seafile working on my server and have not been
> able to get
> `seaf-cli` to start run on my machine. Unfortunately, it seems like some
> files are missing
> in the latest version of the package.

Hi,
I've never used CLI client. Will take a look on weekend.
Thanks for report!

>
> To reproduce the error:
> $ pkg_add seafile-daemon
> $ seaf-cli
> Traceback (most recent call last):
>   File /usr/local/bin/seaf-cli, line 99, in 
> import seafile
>   File /usr/local/lib/python2.7/site-packages/seafile/__init__.py, line 2,
> in 
> from rpcclient import SeafileRpcClient as RpcClient
>   File /usr/local/lib/python2.7/site-packages/seafile/rpcclient.py, line 1,
> in 
> from pysearpc import searpc_func, SearpcError, NamedPipeClient
> ImportError: cannot import name NamedPipeClient
>
> System information:
> My current system is running the latest snapshot as of this moment, on an
> arm64 machine
> (rockpro64). There are no patches applied on top of standard package.
> Kernel version:
> OpenBSD 6.5-current (GENERIC.MP) #19: Thu May 16 17:05:43 MDT 2019
> dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
>
> Possible cause and resolution:
> I believe this is an issue with the file
> `.../net/seafile/libsearpc/pkg/PLIST`, which does not
> contain the names of all the required files. If the file names are added
> maybe it will work.
> I do not have a system capable of compiling ports, so this is a conjecture
> based on an
> educated guess.
>
> Let me know if I am being unclear at any point and I can try to clarify.
>
> Thanks a bunch for the port,
> Abhinav
>




Seafile-v6.2.11 - NamedPipeClient - python module import error

2019-05-20 Thread Abhinav Tamaskar
Hi Kirill and others,
  I have been trying to get seafile working on my server and have not been
able to get
`seaf-cli` to start run on my machine. Unfortunately, it seems like some
files are missing
in the latest version of the package.

To reproduce the error:
$ pkg_add seafile-daemon
$ seaf-cli
Traceback (most recent call last):
  File /usr/local/bin/seaf-cli, line 99, in 
import seafile
  File /usr/local/lib/python2.7/site-packages/seafile/__init__.py, line 2,
in 
from rpcclient import SeafileRpcClient as RpcClient
  File /usr/local/lib/python2.7/site-packages/seafile/rpcclient.py, line 1,
in 
from pysearpc import searpc_func, SearpcError, NamedPipeClient
ImportError: cannot import name NamedPipeClient

System information:
My current system is running the latest snapshot as of this moment, on an
arm64 machine
(rockpro64). There are no patches applied on top of standard package.
Kernel version:
OpenBSD 6.5-current (GENERIC.MP) #19: Thu May 16 17:05:43 MDT 2019
dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP

Possible cause and resolution:
I believe this is an issue with the file
`.../net/seafile/libsearpc/pkg/PLIST`, which does not
contain the names of all the required files. If the file names are added
maybe it will work.
I do not have a system capable of compiling ports, so this is a conjecture
based on an
educated guess.

Let me know if I am being unclear at any point and I can try to clarify.

Thanks a bunch for the port,
Abhinav