Bug 1748985

Summary: cannot import name NamedPipeClient
Product: [Fedora] Fedora Reporter: johannesknaus
Component: libsearpcAssignee: Nikos Roussos <comzeradd>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: comzeradd, jujens
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libsearpc-3.1-13.fc31 libsearpc-3.1-12.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-15 00:27:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description johannesknaus 2019-09-04 15:31:51 UTC
Description of problem:
Installed seafile-client on a fresh Fedora 30(Workstation) system. GUI client works fine, though outdated (6.2.11. while 7.0.2. is the most recent version).
Commandline client fails immediately. This seems to be the case already since Fedora 29 (see https://forum.seafile.com/t/cannot-start-seaf-cli-on-fedora/8542).

Version-Release number of selected component (if applicable):
seafile-6.2.11-1.fc30.x86_64

How reproducible:
start seaf-cli with any possible parameter

Steps to Reproduce:
1. dnf install seafile (or seafile-client, pulls seafile as dependency)
2. seaf-cli init -d /configfolder
or
2. python
3. import seafile

Actual results:

Traceback (most recent call last):
  File "/usr/bin/seaf-cli", line 99, in <module>
    import seafile
  File "/usr/lib64/python2.7/site-packages/seafile/__init__.py", line 2, in <module>
    from rpcclient import SeafileRpcClient as RpcClient
  File "/usr/lib64/python2.7/site-packages/seafile/rpcclient.py", line 1, in <module>
    from pysearpc import searpc_func, SearpcError, NamedPipeClient
ImportError: cannot import name NamedPipeClient


Expected results:
seafile client initialised or import seafile succeeded.

Comment 1 Fedora Update System 2019-09-11 12:23:29 UTC
FEDORA-2019-bbacc21add has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-bbacc21add

Comment 2 Fedora Update System 2019-09-11 12:30:53 UTC
FEDORA-2019-75170d9d49 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-75170d9d49

Comment 3 Fedora Update System 2019-09-11 15:37:35 UTC
libsearpc-3.1-13.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-bbacc21add

Comment 4 Fedora Update System 2019-09-11 19:11:18 UTC
libsearpc-3.1-12.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-75170d9d49

Comment 5 Fedora Update System 2019-09-15 00:27:13 UTC
libsearpc-3.1-13.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2019-09-19 01:30:53 UTC
libsearpc-3.1-12.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.