Your message dated Tue, 25 Feb 2020 01:49:16 +0000
with message-id <[email protected]>
and subject line Bug#947956: fixed in duplicity 0.8.11.1596-1
has caused the Debian Bug report #947956,
regarding duplicity: mega backend fails to create directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
947956: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947956
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: duplicity
Version: 0.7.18.2-1
Severity: normal
Tags: patch upstream

Dear Maintainer,

When using mega backend for the first time, the initial directory
creation fails:

> --- Start running command BKP at 18:08:19.874 ---
> 1577988500 ERROR torsocks[13151]: Unable to resolve. Status reply: 4 (in 
> socks5_recv_resolve_reply() at socks5.c:677)
> mkdir: hostname
> Reading globbing filelist /root/.duply/hostname/exclude
> megals: /Root/hostname
> Local and Remote metadata are synchronized, no sync needed.
> megals: /Root/hostname
> Last full backup date: none
> Last full backup is too old, forcing full backup
> Reuse configured PASSPHRASE as SIGN_PASSPHRASE
> megarm: duplicity-full.20200102T180820Z.vol1.difftar.gpg
> megaput: duplicity-full.20200102T180820Z.vol1.difftar.gpg
> Attempt 1 failed. BackendException: Error running 'megaput -u 
> [email protected] -p mypassword --no-progress --path 
> /Root/hostname/duplicity-full.20200102T180820Z.vol1.difftar.gpg 
> /tmp/duplicity-yolDd8-tempdir/mktemp-idQtpH-2': returned 1, with output:
> 
> ERROR: Upload failed for '/tmp/duplicity-yolDd8-tempdir/mktemp-idQtpH-2': 
> Parent directory doesn't exist: /Root/hostname
> ^C18:08:27.223 Task 'BKP' failed with exit code '4'.

Running megamkdir manually fixes the issue.

This is actually easy to fix, it's just a typo calling _make_dir while
the class function, just above, is named _makedir.

Attached is a patch.

I did check the problem is still present in the development tree.

Thank you

-- System Information:
Debian Release: 10.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), 
LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages duplicity depends on:
ii  gnupg             2.2.12-1+deb10u1
ii  libc6             2.28-10
ii  librsync1         0.9.7-10+b1
ii  python            2.7.16-1
ii  python-fasteners  0.12.0-3
ii  python-lockfile   1:0.12.2-2

Versions of packages duplicity recommends:
ii  python-oauthlib  2.1.0-1
ii  python-paramiko  2.4.2-0.1
ii  python-pexpect   4.6.0-1
ii  python-urllib3   1.24.1-1
ii  rsync            3.1.3-6

Versions of packages duplicity suggests:
pn  lftp                <none>
pn  ncftp               <none>
pn  python-boto         <none>
pn  python-cloudfiles   <none>
pn  python-gdata        <none>
pn  python-pip          <none>
pn  python-swiftclient  <none>
pn  tahoe-lafs          <none>

-- no debconf information
--- duplicity/backends/megabackend.py	2020-01-02 18:33:17.129411886 +0100
+++ duplicity/backends/megabackend.py	2020-01-02 19:12:47.004365142 +0100
@@ -94,7 +94,7 @@
         for folder in path:
             p = p + u'/' + folder
             try:
-                self._make_dir(p)
+                self._makedir(p)
             except:
                 pass
 

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: duplicity
Source-Version: 0.8.11.1596-1
Done: Alexander Zangerl <[email protected]>

We believe that the bug you reported is fixed in the latest version of
duplicity, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Zangerl <[email protected]> (supplier of updated duplicity package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 25 Feb 2020 10:02:42 +1000
Source: duplicity
Architecture: source
Version: 0.8.11.1596-1
Distribution: unstable
Urgency: medium
Maintainer: Alexander Zangerl <[email protected]>
Changed-By: Alexander Zangerl <[email protected]>
Closes: 947956
Changes:
 duplicity (0.8.11.1596-1) unstable; urgency=medium
 .
   * new upstream version (closes: #947956)
Checksums-Sha1:
 cb03dcd51f58c2f2e0f3ec55a94dcd7c3e08649a 2080 duplicity_0.8.11.1596-1.dsc
 3916b91f444da4d36b59c69322b4a621ecf56aa4 1872223 
duplicity_0.8.11.1596.orig.tar.gz
 4ca75b811709f3300b56e24511b3b6b073d48ba8 16752 
duplicity_0.8.11.1596-1.debian.tar.xz
 f084ab010f5a9b5d35550dc08820eaaa826bd5a0 10576 
duplicity_0.8.11.1596-1_amd64.buildinfo
Checksums-Sha256:
 f206695b30eae80356750c79d9ff459a95a3ce16ac7fae08de72ce02c53b405d 2080 
duplicity_0.8.11.1596-1.dsc
 09826a6e5706db1fc9a2c5624fc7f13c0ec1289111676eb9b323b0c69757aae1 1872223 
duplicity_0.8.11.1596.orig.tar.gz
 00f45bd780632b46b6bebad609f6dcb8a49c99c075e48d8c043e2efcf2318030 16752 
duplicity_0.8.11.1596-1.debian.tar.xz
 591a51ddeb7c15c172a3dd186ff4a5807beda1e8035b94441edeaa51adacd6e0 10576 
duplicity_0.8.11.1596-1_amd64.buildinfo
Files:
 e2533bb33de7d917cc3bf1e081d70726 2080 utils optional 
duplicity_0.8.11.1596-1.dsc
 86f3d874e72767be0d729a6398f07832 1872223 utils optional 
duplicity_0.8.11.1596.orig.tar.gz
 1b7afaa97f70e56a9e65309638997384 16752 utils optional 
duplicity_0.8.11.1596-1.debian.tar.xz
 bb62c693ed5542b800631640659da59f 10576 utils optional 
duplicity_0.8.11.1596-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJeVHffAAoJED06g4g30PqN2hcP/ibxAgdrXOCvL/laJYGX7zXd
dYrgvrq+EoZSpUzHyxCG9yFXT3VD1HM6QoWlX54alY2TxobMv9O9g7JnCPjQEvMc
rj+KvjL7U3rAstONZj8T668v0of4+Um/0m8eckB6H8qtnEfpo3h21zZLCqin+JEg
HTzo6trkJMz+ahliq7EDHhV6yIQzqHOY0dqr7sulA/+GPJ5L9eNuKXJ6PHSnnp+3
tWpokWcemYVdDRPh8/ibmXuef+0YXeI50XU2nSuaRLBwgxed0hhqRyW49FA1clt7
ciN/vRzQebDSeIXDr2Rer2EOFfhs0hKesbcqqiLj7Ww+qiW/UGFUJFLrvELsr0Ez
P0kg2YcvCkEVW2/APZYAzxl06rS32PuJ0R/T4YVwu9Cx+1Xx8uRLROyzlzbB8bzR
uJfJ6QVwSR1qLMdcFODm5FHo3wLEHXnXR99K+YQlBMe5Q0ijvRjS5qUUEodJcZRi
vr3dTswoG5OE34qlFDORxZFYxkhZ7LOAAs/ZiWs6ajKcB65zmu8vjk9OV/Q8lBau
LNzYdiR/saCLdAPyjyE20tKUQWMCYVp9cMfaHfDZ9C1v5zZ4Thy/wIWSlOXI8j2y
JW6ZzyepscQdI86Eko68nZK/f7Uy/Ih+vArh2Ypt/irOMx2Uzvr8zGQ7i1Z43Syk
bc/IHjdFZHsUdRcmh5Rj
=5Y2E
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to