Bug 1829133

Summary: [abrt] seafile: module(): seaf-cli:86:<module>:ModuleNotFoundError: No module named 'future'
Product: [Fedora] Fedora Reporter: K. Anderson <andersonkw2>
Component: seafileAssignee: Julien Enselme <jujens>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: jujens
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/1d588ff61c21c05c289a920e66fc32183babd380
Whiteboard: abrt_hash:cb677aa2d8726dcc329d9049cf9b4af4fd7a1957;VARIANT_ID=workstation;
Fixed In Version: seafile-7.0.10-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-27 01:22:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description K. Anderson 2020-04-29 00:25:24 UTC
Description of problem:
Ran /usr/bin/seaf-cli start after upgrading to Fedora 32.

It appears python3-future was not pulled in on the upgrade but is required.

Version-Release number of selected component:
seafile-7.0.4-2.fc32

Additional info:
reporter:       libreport-2.12.0
cgroup:         0::/user.slice/user-1000.slice/user/seafile.service
cmdline:        /usr/bin/python3 /usr/bin/seaf-cli start
crash_function: module
exception_type: ModuleNotFoundError
executable:     /usr/bin/seaf-cli
interpreter:    python3-3.8.2-2.fc32.x86_64
kernel:         5.6.6-300.fc32.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
seaf-cli:86:<module>:ModuleNotFoundError: No module named 'future'

Traceback (most recent call last):
  File "/usr/bin/seaf-cli", line 86, in <module>
    from future import standard_library
ModuleNotFoundError: No module named 'future'

Local variables in innermost frame:
__name__: '__main__'
__doc__: '\n\nseaf-cli is command line interface for seafile client.\n\nSubcommands:\n\n    init:             create config files for seafile client\n    start:            start and run seafile client as daemon\n    stop:             stop seafile client\n    list:             list local libraries\n    status:           show syncing status\n    download:         download a library from seafile server\n                          (using libary id)\n    download-by-name: download a library from seafile server\n                          (using library name)\n    sync:             synchronize an existing folder with a library in\n                          seafile server\n    desync:           desynchronize a library with seafile server\n    create:           create a new library\n\n\nDetail\n======\n\nSeafile client stores all its configure information in a config dir. The default location is `~/.ccnet`. All the commands below accept an option `-c <config-dir>`.\n\ninit\n----\nInitialize seafile client. This command initializes the config dir. It also creates sub-directories `seafile-data` and `seafile` under `parent-dir`. `seafile-data` is used to store internal data, while `seafile` is used as the default location put downloaded libraries.\n\n    seaf-cli init [-c <config-dir>] -d <parent-dir>\n\nstart\n-----\nStart seafile client. This command starts `seaf-daemon`, which manages all the files.\n\n    seaf-cli start [-c <config-dir>]\n\nstop\n----\nStop seafile client.\n\n    seaf-cli stop [-c <config-dir>]\n\n\nDownload by id\n--------\nDownload a library from seafile server (using library id)\n\n    seaf-cli download -l <library-id> -s <seahub-server-url> -d <parent-directory> -u <username> -p <password> [-a <2fa-code>]\n\n\nDownload by name\n--------\nDownload a library from seafile server (using library name)\n\n    seaf-cli download -L <library-name> -s <seahub-server-url> -d <parent-directory> -u <username> -p <password> [-a <2fa-code>]\n\n\nsync\n----\nSynchronize a library with an existing folder.\n\n    seaf-cli sync -l <library-id> -s <seahub-server-url> -d <existing-folder> -u <username> -p <password> [-a <2fa-code>]\n\ndesync\n------\nDesynchronize a library from seafile server\n\n    seaf-cli desync -d <existing-folder>\n\ncreate\n------\nCreate a new library\n\n    seaf-cli create -s <seahub-server-url> -n <library-name> -u <username> -p <password> [-a <2fa-code>] -t <description> [-e <library-password>]\n\n'
__package__: None
__loader__: <_frozen_importlib_external.SourceFileLoader object at 0x7f3966c23be0>
__spec__: None
__annotations__: {}
__builtins__: <module 'builtins' (built-in)>
__file__: '/usr/bin/seaf-cli'
__cached__: None
print_function: _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 65536)
division: _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)

Comment 1 K. Anderson 2020-04-29 00:25:26 UTC
Created attachment 1682655 [details]
File: backtrace

Comment 2 K. Anderson 2020-04-29 00:25:27 UTC
Created attachment 1682656 [details]
File: cpuinfo

Comment 3 K. Anderson 2020-04-29 00:25:28 UTC
Created attachment 1682657 [details]
File: environ

Comment 4 K. Anderson 2020-04-29 00:25:29 UTC
Created attachment 1682658 [details]
File: mountinfo

Comment 5 K. Anderson 2020-04-29 00:25:30 UTC
Created attachment 1682659 [details]
File: namespaces

Comment 6 K. Anderson 2020-04-29 00:25:31 UTC
Created attachment 1682660 [details]
File: open_fds

Comment 7 Fedora Update System 2020-11-18 16:08:04 UTC
FEDORA-2020-27890dd930 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-27890dd930

Comment 8 Fedora Update System 2020-11-19 02:19:39 UTC
FEDORA-2020-27890dd930 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-27890dd930`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-27890dd930

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-11-27 01:22:31 UTC
FEDORA-2020-27890dd930 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.