The above has nothing to do with this bug report.  Perhaps you should post
it to https://bugs.launchpad.net/bugs/1727653

On Mon, Mar 19, 2018 at 2:07 AM, sebastienserre <1729...@bugs.launchpad.net>
wrote:

> Hello
>
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 1546, in <module>
>     with_tempdir(main)
>   File "/usr/bin/duplicity", line 1540, in with_tempdir
>     fn()
>   File "/usr/bin/duplicity", line 1391, in main
>     do_backup(action)
>   File "/usr/bin/duplicity", line 1468, in do_backup
>     restore(col_stats)
>   File "/usr/bin/duplicity", line 731, in restore
>     restore_get_patched_rop_iter(col_stats)):
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 560, in Write_ROPaths
>     for ropath in rop_iter:
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 523, in integrate_patch_iters
>     for patch_seq in collated:
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 389, in yield_tuples
>     setrorps(overflow, elems)
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 378, in setrorps
>     elems[i] = iter_list[i].next()
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 107, in filter_path_iter
>     for path in path_iter:
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 121, in difftar2path_iter
>     tarinfo_list = [tar_iter.next()]
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 339, in next
>     self.set_tarfile()
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 333, in set_tarfile
>     self.current_fp = self.fileobj_iter.next()
>   File "/usr/bin/duplicity", line 768, in get_fileobj_iter
>     manifest.volume_info_dict[vol_num])
>   File "/usr/bin/duplicity", line 811, in restore_get_enc_fileobj
>     fileobj = tdp.filtered_open_with_delete("rb")
>   File "/usr/lib/python2.7/dist-packages/duplicity/dup_temp.py", line
> 119, in filtered_open_with_delete
>     fh = FileobjHooked(path.DupPath.filtered_open(self, mode))
>   File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 778, in
> filtered_open
>     return gpg.GPGFile(False, self, gpg_profile)
>   File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 202, in
> __init__
>     'logger': self.logger_fp})
>   File "/usr/lib/python2.7/dist-packages/duplicity/gpginterface.py", line
> 374, in run
>     create_fhs, attach_fhs)
>   File "/usr/lib/python2.7/dist-packages/duplicity/gpginterface.py", line
> 420, in _attach_fork_exec
>     process.thread.start()
>   File "/usr/lib/python2.7/threading.py", line 736, in start
>     _start_new_thread(self.__bootstrap, ())
> error: can't start new thread
>
> --
> You received this bug notification because you are subscribed to
> duplicity in Ubuntu.
> https://bugs.launchpad.net/bugs/1729695
>
> Title:
>   ASCII decode error, but not due to filenames in backup target
>
> Status in Duplicity:
>   Fix Released
> Status in duplicity package in Ubuntu:
>   Confirmed
>
> Bug description:
>   On Ubuntu 17.10, I have deja-dup 36.2-0ubuntu1 installed. When I run
>   "DEJA_DUP_DEBUG=1 deja-dup", it starts a backup as soon as it opens,
>   as expected. But the backup fails. I get the following at the end of
>   the output. I tried uninstalling Dropbox and deleting its .dropbox-
>   dist directory, and then deja-dup crashed when trying to back up a
>   completely different file (but the same byte in the same position). So
>   I don't think this is due to any of the filenames I have in my backup
>   target. I also tried a few commands to find non-ASCII filenames, with
>   no luck. I'm not sure what else I can do to troubleshoot.
>
>
>   DUPLICITY: INFO 4 'home/paul/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/
> PyQt5.QtGui.so'
>   DUPLICITY: . A home/paul/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQ
> t5.QtGui.so
>
>   DUPLICITY: DEBUG 1
>   DUPLICITY: . Removing still remembered temporary file
> /home/paul/.cache/deja-dup/1499b6292f58faddd30853ffbbfefc
> f6/duplicity-S72EWc-tempdir/mktemp-hYd54u-1
>
>   DUPLICITY: DEBUG 1
>   DUPLICITY: . Removing still remembered temporary file
> /home/paul/.cache/deja-dup/1499b6292f58faddd30853ffbbfefc
> f6/duplicity-VyBN42-tempdir/mktemp-BO1DKJ-1
>
>   DUPLICITY: INFO 11
>   DUPLICITY: . AsyncScheduler: running task synchronously (asynchronicity
> disabled)
>
>   DUPLICITY: INFO 1
>   DUPLICITY: . Writing duplicity-full.20171102T205615Z.vol1.difftar.gz
>
>   DUPLICITY: DEBUG 1
>   DUPLICITY: . Releasing lockfile /home/paul/.cache/deja-dup/
> 1499b6292f58faddd30853ffbbfefcf6/lockfile.lock
>
>   DUPLICITY: DEBUG 1
>   DUPLICITY: . Removing still remembered temporary file
> /tmp/duplicity-c9BMvB-tempdir/mktemp-RtijDc-270
>
>   DUPLICITY: DEBUG 1
>   DUPLICITY: . Removing still remembered temporary file
> /tmp/duplicity-c9BMvB-tempdir/mkstemp-3cxG5G-1
>
>   DUPLICITY: ERROR 30 UnicodeDecodeError
>   DUPLICITY: . Traceback (most recent call last):
>   DUPLICITY: .   File "/usr/bin/duplicity", line 1546, in <module>
>   DUPLICITY: .     with_tempdir(main)
>   DUPLICITY: .   File "/usr/bin/duplicity", line 1540, in with_tempdir
>   DUPLICITY: .     fn()
>   DUPLICITY: .   File "/usr/bin/duplicity", line 1391, in main
>   DUPLICITY: .     do_backup(action)
>   DUPLICITY: .   File "/usr/bin/duplicity", line 1510, in do_backup
>   DUPLICITY: .     full_backup(col_stats)
>   DUPLICITY: .   File "/usr/bin/duplicity", line 575, in full_backup
>   DUPLICITY: .     globals.backend)
>   DUPLICITY: .   File "/usr/bin/duplicity", line 456, in write_multivol
>   DUPLICITY: .     (tdp, dest_filename, vol_num)))
>   DUPLICITY: .   File 
> "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py",
> line 146, in schedule_task
>   DUPLICITY: .     return self.__run_synchronously(fn, params)
>   DUPLICITY: .   File 
> "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py",
> line 172, in __run_synchronously
>   DUPLICITY: .     ret = fn(*params)
>   DUPLICITY: .   File "/usr/bin/duplicity", line 455, in <lambda>
>   DUPLICITY: .     vol_num: put(tdp, dest_filename, vol_num),
>   DUPLICITY: .   File "/usr/bin/duplicity", line 344, in put
>   DUPLICITY: .     backend.put(tdp, dest_filename)
>   DUPLICITY: .   File "/usr/lib/python2.7/dist-
> packages/duplicity/backend.py", line 376, in inner_retry
>   DUPLICITY: .     % exception_traceback())
>   DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/util.py",
> line 52, in exception_traceback
>   DUPLICITY: .     return uexc(msg)
>   DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/util.py",
> line 80, in uexc
>   DUPLICITY: .     e = unicode(e).encode('utf-8')
>   DUPLICITY: . UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in
> position 736: ordinal not in range(128)
>   DUPLICITY: .
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 17.10
>   Package: deja-dup 36.2-0ubuntu1
>   ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
>   Uname: Linux 4.13.0-16-generic x86_64
>   NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
>   ApportVersion: 2.20.7-0ubuntu3.1
>   Architecture: amd64
>   CurrentDesktop: ubuntu:GNOME
>   Date: Thu Nov  2 17:46:56 2017
>   InstallationDate: Installed on 2017-07-02 (123 days ago)
>   InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
>   ProcEnviron:
>    TERM=xterm-256color
>    PATH=(custom, no user)
>    XDG_RUNTIME_DIR=<set>
>    LANG=en_US.UTF-8
>    SHELL=/bin/bash
>   SourcePackage: deja-dup
>   UpgradeStatus: Upgraded to artful on 2017-10-22 (11 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1729695/+subscriptions
>

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1729695

Title:
  ASCII decode error, but not due to filenames in backup target

Status in Duplicity:
  Fix Released
Status in duplicity package in Ubuntu:
  Confirmed

Bug description:
  On Ubuntu 17.10, I have deja-dup 36.2-0ubuntu1 installed. When I run
  "DEJA_DUP_DEBUG=1 deja-dup", it starts a backup as soon as it opens,
  as expected. But the backup fails. I get the following at the end of
  the output. I tried uninstalling Dropbox and deleting its .dropbox-
  dist directory, and then deja-dup crashed when trying to back up a
  completely different file (but the same byte in the same position). So
  I don't think this is due to any of the filenames I have in my backup
  target. I also tried a few commands to find non-ASCII filenames, with
  no luck. I'm not sure what else I can do to troubleshoot.

  
  DUPLICITY: INFO 4 
'home/paul/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtGui.so'
  DUPLICITY: . A 
home/paul/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtGui.so

  DUPLICITY: DEBUG 1
  DUPLICITY: . Removing still remembered temporary file 
/home/paul/.cache/deja-dup/1499b6292f58faddd30853ffbbfefcf6/duplicity-S72EWc-tempdir/mktemp-hYd54u-1

  DUPLICITY: DEBUG 1
  DUPLICITY: . Removing still remembered temporary file 
/home/paul/.cache/deja-dup/1499b6292f58faddd30853ffbbfefcf6/duplicity-VyBN42-tempdir/mktemp-BO1DKJ-1

  DUPLICITY: INFO 11
  DUPLICITY: . AsyncScheduler: running task synchronously (asynchronicity 
disabled)

  DUPLICITY: INFO 1
  DUPLICITY: . Writing duplicity-full.20171102T205615Z.vol1.difftar.gz

  DUPLICITY: DEBUG 1
  DUPLICITY: . Releasing lockfile 
/home/paul/.cache/deja-dup/1499b6292f58faddd30853ffbbfefcf6/lockfile.lock

  DUPLICITY: DEBUG 1
  DUPLICITY: . Removing still remembered temporary file 
/tmp/duplicity-c9BMvB-tempdir/mktemp-RtijDc-270

  DUPLICITY: DEBUG 1
  DUPLICITY: . Removing still remembered temporary file 
/tmp/duplicity-c9BMvB-tempdir/mkstemp-3cxG5G-1

  DUPLICITY: ERROR 30 UnicodeDecodeError
  DUPLICITY: . Traceback (most recent call last):
  DUPLICITY: .   File "/usr/bin/duplicity", line 1546, in <module>
  DUPLICITY: .     with_tempdir(main)
  DUPLICITY: .   File "/usr/bin/duplicity", line 1540, in with_tempdir
  DUPLICITY: .     fn()
  DUPLICITY: .   File "/usr/bin/duplicity", line 1391, in main
  DUPLICITY: .     do_backup(action)
  DUPLICITY: .   File "/usr/bin/duplicity", line 1510, in do_backup
  DUPLICITY: .     full_backup(col_stats)
  DUPLICITY: .   File "/usr/bin/duplicity", line 575, in full_backup
  DUPLICITY: .     globals.backend)
  DUPLICITY: .   File "/usr/bin/duplicity", line 456, in write_multivol
  DUPLICITY: .     (tdp, dest_filename, vol_num)))
  DUPLICITY: .   File 
"/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 146, in 
schedule_task
  DUPLICITY: .     return self.__run_synchronously(fn, params)
  DUPLICITY: .   File 
"/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 172, in 
__run_synchronously
  DUPLICITY: .     ret = fn(*params)
  DUPLICITY: .   File "/usr/bin/duplicity", line 455, in <lambda>
  DUPLICITY: .     vol_num: put(tdp, dest_filename, vol_num),
  DUPLICITY: .   File "/usr/bin/duplicity", line 344, in put
  DUPLICITY: .     backend.put(tdp, dest_filename)
  DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", 
line 376, in inner_retry
  DUPLICITY: .     % exception_traceback())
  DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/util.py", 
line 52, in exception_traceback
  DUPLICITY: .     return uexc(msg)
  DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/util.py", 
line 80, in uexc
  DUPLICITY: .     e = unicode(e).encode('utf-8')
  DUPLICITY: . UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in 
position 736: ordinal not in range(128)
  DUPLICITY: .

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: deja-dup 36.2-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Nov  2 17:46:56 2017
  InstallationDate: Installed on 2017-07-02 (123 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: deja-dup
  UpgradeStatus: Upgraded to artful on 2017-10-22 (11 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1729695/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to