You are not logged in.

#1 2009-11-02 01:33:59

jalu
Member
Registered: 2009-04-05
Posts: 140

Duplicity crashing. Gives [Errno 13] and [Errno 5]

I love Duplicity, but I am unable to use it because it always crashes near the end of its execution.

After about 30-45 minutes of running, Duplicity will crash with the error codes "[Errno 13] Permission denied" and "IOError: [Errno 5] Input/output error". The Duplicity documentation does not reference these codes, but some quick research indicates that these errors could be caused by buggy Python code. Could it be that there is a bug in one of Duplicity's Python scripts, or is it more likely that I'm doing something wrong...?

I am excluding /proc as per the warnings in the Duplicity man page. Or, at least I'm fairly certain that I am.

Thanks in advance Archers!

Full error output:

Error [Errno 13] Permission denied: '/sys/bus/usb/drivers/usbhid/uevent' getting delta for sys/bus/usb/drivers/usbhid/uevent
Error [Errno 13] Permission denied: '/sys/bus/usb/drivers/usbhid/unbind' getting delta for sys/bus/usb/drivers/usbhid/unbind
Error [Errno 13] Permission denied: '/sys/bus/usb/drivers_probe' getting delta for sys/bus/usb/drivers_probe
Error [Errno 13] Permission denied: '/sys/bus/usb/uevent' getting delta for sys/bus/usb/uevent
Error [Errno 13] Permission denied: '/sys/devices/pci0000:00/0000:00:00.0/remove' getting delta for sys/devices/pci0000:00/0000:00:00.0/remove
Error [Errno 13] Permission denied: '/sys/devices/pci0000:00/0000:00:00.0/rescan' getting delta for sys/devices/pci0000:00/0000:00:00.0/rescan
Error [Errno 13] Permission denied: '/sys/devices/pci0000:00/0000:00:02.0/remove' getting delta for sys/devices/pci0000:00/0000:00:02.0/remove
Error [Errno 13] Permission denied: '/sys/devices/pci0000:00/0000:00:02.0/rescan' getting delta for sys/devices/pci0000:00/0000:00:02.0/rescan
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 825, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 818, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 792, in main
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 336, in full_backup
    bytes_written = write_multivol("full", tarblock_iter, globals.backend)
  File "/usr/bin/duplicity", line 232, in write_multivol
    globals.gpg_profile, globals.volsize)
  File "/usr/lib/python2.6/site-packages/duplicity/gpg.py", line 264, in GPGWriteFile
    data = block_iter.next(bytes_to_go).data
  File "/usr/lib/python2.6/site-packages/duplicity/diffdir.py", line 471, in next
    result = self.process(self.input_iter.next(), size)
  File "/usr/lib/python2.6/site-packages/duplicity/diffdir.py", line 577, in process
    data, last_block = self.get_data_block(fp, size - 512)
  File "/usr/lib/python2.6/site-packages/duplicity/diffdir.py", line 602, in get_data_block
    buf = fp.read(read_size)
  File "/usr/lib/python2.6/site-packages/duplicity/diffdir.py", line 396, in read
    buf = self.infile.read(length)
  File "/usr/lib/python2.6/site-packages/duplicity/diffdir.py", line 367, in read
    buf = self.infile.read(length)
IOError: [Errno 5] Input/output error

Last edited by jalu (2009-11-02 01:35:11)

Offline

Board footer

Powered by FluxBB