Comment 7 for bug 582720

Revision history for this message
JayK (jakres) wrote :

I'm getting the same EOFError in Deja-Dup (no encrypted filesystems here). According to its console output, the duplicity restore command results in an exit code of 30 [1]. But trying it out on the console gave an exit code of 2 because duplicity couldn't process the arguments correctly: my destination for the restored files contains a space and the path is not quoted. [2]

But because the duplicity exit codes don't match I cannot be sure that quoting the destination path solves the original problem.
Anyway, in my opinion it should be possible to have spaces in the path. I am going to open a separate bug ticket for this, to be sure.

I retried the duplicity restore command on the console, with the path quoted, again. It prompted for the password and now it runs and files appear in the destination folder. It has not finished yet but I suspect it to run fine now as far as it concerns this bug ticket.

Something more: Deja-Dup prompts me for my password via gksu after about two minutes of restore preparations (duplicity list-current-files). If I enter my login password (this is not the backup password!), I get the EOFError and the output from [1]. If I enter the backup password (which seems odd to me with gksu) or some random string Deja-Dup fails with another unknown error. [3] So I never get the chance to enter the actual backup password on the way to the EOFError.

[1] Deja-Dup output when the EOFError appears:
** (deja-dup:8489): DEBUG: DuplicityInstance.vala:199: Running the following duplicity (8695) command: duplicity restore --restore-time=20101001T220418Z --rename home/jakob home/jakob --gio --force file:///media/Expansion%20Drive/dejadup /media/Expansion Drive --verbosity=9 --gpg-options= --archive-dir=/home/jakob/.cache/deja-dup --log-file=/tmp/deja-dup-CFSVJV

** (deja-dup:8489): DEBUG: DuplicityInstance.vala:552: duplicity (8695) exited with value 30

[2] Duplicity output of the above command:
$ duplicity restore --restore-time=20101001T220418Z --rename home/jakob home/jakob --gio --force file:///media/Expansion%20Drive/dejadup /media/Expansion Drive --verbosity=9 --gpg-options= --archive-dir=/home/jakob/.cache/deja-dup --log-file=/tmp/deja-dup-CFSVJV
Command line error: Expected 2 args, got 3
Enter 'duplicity --help' for help screen.
Using temporary directory /tmp/duplicity-rY_Dz9-tempdir
$ echo $?
2

[3] Deja-Dup output if I provide the backup password to gksu when Deja-Dup prompts it:
** (deja-dup:8489): DEBUG: DuplicityInstance.vala:199: Running the following duplicity (8658) command: duplicity restore --restore-time=20101001T220418Z --rename home/jakob home/jakob --gio --force file:///media/Expansion%20Drive/dejadup /media/Expansion Drive --verbosity=9 --gpg-options= --archive-dir=/home/jakob/.cache/deja-dup --log-file=/tmp/deja-dup-68KSJV

** (deja-dup:8489): DEBUG: DuplicityInstance.vala:552: duplicity (8658) exited with value 1