to find the file causing the trouble in my case, I added a few lines to the duplicity source code. The error message tells you the python source file and line number where the error occurs:
File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 187, in Iterate
log.Debug(_("Selecting %s") % subpath.name)
I added the following lines just before the call to log.debug (line 187 in this example. You will have to adapt it a little depending on the exact error message and arguments passed to log.debug.):
Hello Mace,
to find the file causing the trouble in my case, I added a few lines to the duplicity source code. The error message tells you the python source file and line number where the error occurs:
File "/usr/lib/ python2. 7/dist- packages/ duplicity/ selection. py", line 187, in Iterate Debug(_ ("Selecting %s") % subpath.name)
log.
I added the following lines just before the call to log.debug (line 187 in this example. You will have to adapt it a little depending on the exact error message and arguments passed to log.debug.):
dbgFile = open("/ tmp/debug. log", 'a') write(" %s\n" % subpath.name)
dbgFile.
dbgFile.close()
The last filename written to the log file /tmp/debug.log after duplicity fails is the one causing the trouble.