Exception while running duplicity

Peter Ehrenberg pe@dipe.de
19 Sep 2002 10:56:21 +0200


I have installed duplicity-0.1.1 on a Intel-Linux-box (kernel 2.4.18,
fs ext3). I'm running

    duplicity --exclude-other-filesystems full dimitri \
        / scp://root@dimitri.ehrenb//bkup/dimitri/duplicity/root

There are two problems:

1. Against the doc I have to use two slashes in the remote path:

        scp://root@dimitri.ehrenb//bkup
                             ^^
   else I get the error:

        ls: bkup/dimitri/duplicity/root: No such file or directory
        Traceback (most recent call last):
          File "/pkg/bin/duplicity", line 358, in ?
            if __name__ == "__main__": main()
          File "/pkg/bin/duplicity", line 346, in main
            col_stats.set_values()
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/collections.py", line 204, in set_values
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/backends.py", line 166, in list
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/backends.py", line 82, in popen
        duplicity.backends.BackendException: Error running 'ssh root@dimitri.ehrenb ls bkup/dimitri/duplicity/root'    

2. The command above ends up with:

        Traceback (most recent call last):
          File "/pkg/bin/duplicity", line 358, in ?
            if __name__ == "__main__": main()
          File "/pkg/bin/duplicity", line 352, in main
            full_backup(sel, backend)
          File "/pkg/bin/duplicity", line 203, in full_backup
            write_multivol("full", globals.archive_dir, tarblock_iter, backend)
          File "/pkg/bin/duplicity", line 163, in write_multivol
            sign_key = globals.sign_key)
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/gpg.py", line 159, in GPGWriteFile
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/diffdir.py",
        line 374, in peek
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/diffdir.py",
        line 357, in set_next
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/diffdir.py",
        line 223, in get_delta_iter_w_sig
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/diffdir.py",
        line 147, in collate_iters
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/selection.py", line 129, in Iterate
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/selection.py", line 114, in diryield
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/selection.py", line 150, in Select
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/selection.py", line 330, in sel_func
          File "/pkg/duplicity-0.1.1/lib/python2.2/site-packages/duplicity/path.py", line 94, in getdevloc
        AttributeError: 'NoneType' object has no attribute 'st_dev'

Any idea?

Peter
-- 
Dipl.-Ing. Peter Ehrenberg                         Tel.: (040) 756604-40
Rotenhäuser Straße 51                               Fax: (040) 756604-41
21109 Hamburg                                   Netz: http://www.dipe.de
Germany                                                mailto:pe@dipe.de