unknown error when backup of files actually starts

Asked by Michael Jackson

Hi
After the programs scans and then starts to actually back up the files it quits with a unknown error. I am using Fedora 13. I tried also running it as sudo deja-dup but I got the error. I also still have, I think, the dialog from the terminal window if that would help. I have removed the files from ccache and it still gives an error. What should I try next?
text below from deja-dup window
Failed with an unknown error.

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1239, in <module>f
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1232, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1205, in main
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 416, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 296, in write_multivol
    at_end = gpg.GzipWriteFile(tarblock_iter, tdp.name, globals.volsize)
  File "/usr/lib64/python2.6/site-packages/duplicity/gpg.py", line 331, in GzipWriteFile
    new_block = block_iter.next(min(128*1024, bytes_to_go))
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 505, in next
    result = self.process(self.input_iter.next(), size)
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 631, in process
    data, last_block = self.get_data_block(fp, size - 512)
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 658, in get_data_block
    buf = fp.read(read_size)
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 415, in read
    buf = self.infile.read(length)
  File "/usr/lib64/python2.6/site-packages/duplicity/diffdir.py", line 384, in read
    buf = self.infile.read(length)
IOError: [Errno 22] Invalid argument

Question information

Language:
English Edit question
Status:
Answered
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Jackson (m-jackson) said :
#1

Sorry forgot to include Déjà Dup 14.2 is the version
Also I was watching disk usage source was at 57 % and backup less than 10 %
Here is the disk layout
[m-jackson@Oz ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 25G 13G 11G 55% /
tmpfs 2.0G 1004K 2.0G 1% /dev/shm
/dev/sda1 1008M 52M 906M 6% /boot
/dev/sda5 99G 52G 42G 56% /home
/dev/sr0 3.4G 3.4G 0 100% /media/Fedora 13 x86_64 DVD
/dev/sda7 154G 2.6G 144G 2% /media/bk
backing up root(sda8) to bk(sda7)

Revision history for this message
Michael Jackson (m-jackson) said :
#2

Okay here is the info from the terminal window when I ran sudo deja-dup. Ps I did run it as a normal user first, just tried this to see if a permission or other problem might be solved
start terminal output
[m-jackson@Oz ~]$ sudo deja-dup

[m-jackson@Oz ~]$ sudo deja-dup

** (deja-dup:8034): CRITICAL **: deja_dup_duplicity_cmp_prefix: assertion `b != NULL' failed <======This repeated about 55 times

Then I got

** (deja-dup:8034): CRITICAL **: deja_dup_duplicity_cmp_prefix: assertion `b != NULL' failed
** (deja-dup:8034): DEBUG: DuplicityInstance.vala:199: Running the following duplicity (8078) command: duplicity collection-status --exclude=/media/bk --include=/var --include=/usr --include=/sys --include=/srv --include=/selinux --include=/sbin --include=/opt --include=/lib64 --include=/lib --include=/etc --include=/cgroup --include=/boot --include=/bin --exclude=/proc --exclude=/lost+found --exclude=/tmp --exclude=/mnt --exclude=/media --exclude=/home --exclude=/dev --exclude=/root/.local/share/Trash --exclude=/sys --exclude=/proc --exclude=/tmp --exclude=/root/.Private --exclude=/root/.recent-applications.xbel --exclude=/root/.recently-used.xbel --exclude=/root/.xsession-errors --exclude=/root/.gvfs --exclude=/root/.thumbnails --exclude=/root/.cache --exclude=** --gio --no-encryption file:///media/bk --verbosity=9 --archive-dir=/root/.cache/deja-dup --log-file=/tmp/deja-dup-K6JCLV

** (deja-dup:8034): DEBUG: DuplicityInstance.vala:552: duplicity (8078) exited with value 0

** (deja-dup:8034): DEBUG: DuplicityInstance.vala:199: Running the following duplicity (8100) command: duplicity cleanup --force file:///media/bk --gio --no-encryption --verbosity=9 --archive-dir=/root/.cache/deja-dup --log-file=/tmp/deja-dup-T8RYKV

** (deja-dup:8034): DEBUG: DuplicityInstance.vala:552: duplicity (8100) exited with value 0

** (deja-dup:8034): DEBUG: DuplicityInstance.vala:199: Running the following duplicity (8122) command: duplicity collection-status --exclude=/media/bk --include=/var --include=/usr --include=/sys --include=/srv --include=/selinux --include=/sbin --include=/opt --include=/lib64 --include=/lib --include=/etc --include=/cgroup --include=/boot --include=/bin --exclude=/proc --exclude=/lost+found --exclude=/tmp --exclude=/mnt --exclude=/media --exclude=/home --exclude=/dev --exclude=/root/.local/share/Trash --exclude=/sys --exclude=/proc --exclude=/tmp --exclude=/root/.Private --exclude=/root/.recent-applications.xbel --exclude=/root/.recently-used.xbel --exclude=/root/.xsession-errors --exclude=/root/.gvfs --exclude=/root/.thumbnails --exclude=/root/.cache --exclude=** --gio --no-encryption file:///media/bk --verbosity=9 --archive-dir=/root/.cache/deja-dup --log-file=/tmp/deja-dup-Z3UYKV

** (deja-dup:8034): DEBUG: DuplicityInstance.vala:552: duplicity (8122) exited with value 0

** (deja-dup:8034): DEBUG: DuplicityInstance.vala:199: Running the following duplicity (8142) command: duplicity --exclude=/media/bk --include=/var --include=/usr --include=/sys --include=/srv --include=/selinux --include=/sbin --include=/opt --include=/lib64 --include=/lib --include=/etc --include=/cgroup --include=/boot --include=/bin --exclude=/proc --exclude=/lost+found --exclude=/tmp --exclude=/mnt --exclude=/media --exclude=/home --exclude=/dev --exclude=/root/.local/share/Trash --exclude=/sys --exclude=/proc --exclude=/tmp --exclude=/root/.Private --exclude=/root/.recent-applications.xbel --exclude=/root/.recently-used.xbel --exclude=/root/.xsession-errors --exclude=/root/.gvfs --exclude=/root/.thumbnails --exclude=/root/.cache --exclude=** --dry-run --gio --no-encryption --volsize=30 / file:///media/bk --verbosity=9 --archive-dir=/root/.cache/deja-dup --log-file=/tmp/deja-dup-34PYKV

** (deja-dup:8034): DEBUG: DuplicityInstance.vala:552: duplicity (8142) exited with value 0

** (deja-dup:8034): DEBUG: DuplicityInstance.vala:199: Running the following duplicity (8281) command: duplicity full --exclude=/media/bk --include=/var --include=/usr --include=/sys --include=/srv --include=/selinux --include=/sbin --include=/opt --include=/lib64 --include=/lib --include=/etc --include=/cgroup --include=/boot --include=/bin --exclude=/proc --exclude=/lost+found --exclude=/tmp --exclude=/mnt --exclude=/media --exclude=/home --exclude=/dev --exclude=/root/.local/share/Trash --exclude=/sys --exclude=/proc --exclude=/tmp --exclude=/root/.Private --exclude=/root/.recent-applications.xbel --exclude=/root/.recently-used.xbel --exclude=/root/.xsession-errors --exclude=/root/.gvfs --exclude=/root/.thumbnails --exclude=/root/.cache --exclude=** --gio --no-encryption --volsize=30 / file:///media/bk --verbosity=9 --archive-dir=/root/.cache/deja-dup --log-file=/tmp/deja-dup-E171KV

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

[m-jackson@Oz ~]$ ^C
[m-jackson@Oz ~]$

Revision history for this message
Michael Terry (mterry) said :
#3

Can you file a bug and include the log file that the bug form tells you how to generate? I'm particularly curious which file seems to generate this problem.

https://launchpad.net/deja-dup/+filebug

I notice you have some interesting include folders, like /sys and /selinux. I'm guessing that some file in one of them is tripping up duplicity.

Can you help with this problem?

Provide an answer of your own, or ask Michael Jackson for more information if necessary.

To post a message you must log in.