Mailinglist Archive: opensuse-bugs (4790 mails)

< Previous Next >
[Bug 1047137] Duplicity broken (no module named fasteners)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 04 Jul 2017 09:05:31 +0000
  • Message-id: <bug-1047137-21960-wEp10q4V5l@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1047137
http://bugzilla.suse.com/show_bug.cgi?id=1047137#c2

--- Comment #2 from A.H.M. Donkers <mari.donkers@xxxxxxxxxxxxxxxx> ---
Didn't try to use any module. Only installed the duplicity package and tried to
run the duplicity command.

#############################################
# zypper in duplicity
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
duplicity

1 new package to install.
Overall download size: 466.7 KiB. Already cached: 0 B. After the operation,
additional 2.0 MiB will be used.
Continue? [y/n/...? shows all options] (y):
Retrieving package duplicity-0.7.13.1-1.1.x86_64
(1/1), 466.7 KiB ( 2.0 MiB unpacked)
Retrieving: duplicity-0.7.13.1-1.1.x86_64.rpm
...................................................[done (833.8 KiB/s)]
Checking for file conflicts:
..................................................................................[done]
(1/1) Installing: duplicity-0.7.13.1-1.1.x86_64
...............................................................[done]
#############################################

But the duplicity command doesn't work box after installation:

#############################################
# duplicity -V
Traceback (most recent call last):
File "/usr/bin/duplicity", line 42, in <module>
import fasteners
ImportError: No module named fasteners
#############################################

The Python module named fasteners is apparently not in the duplicity package's
dependencies. As a workaround I manually installed python2fasteners, as
follows:

#############################################
# zypper in python2-fasteners
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
python2-fasteners

1 new package to install.
Overall download size: 38.4 KiB. Already cached: 0 B. After the operation,
additional 121.6 KiB will be used.
Continue? [y/n/...? shows all options] (y):
Retrieving package python2-fasteners-0.14.1-2.1.noarch
(1/1), 38.4 KiB (121.6 KiB unpacked)
Retrieving: python2-fasteners-0.14.1-2.1.noarch.rpm
...........................................................[done]
Checking for file conflicts:
..................................................................................[done]
(1/1) Installing: python2-fasteners-0.14.1-2.1.noarch
.........................................................[done]
#############################################

Now the duplicity command works as expected:

#############################################
# duplicity -V
duplicity 0.7.13.1
#############################################

Will add the solver testcase as an attachment, as instructed on the link you
gave.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >