[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] IOError: [Errno 22] Invalid argument
From: |
Kenneth Loafman |
Subject: |
Re: [Duplicity-talk] IOError: [Errno 22] Invalid argument |
Date: |
Sat, 31 May 2008 06:34:15 -0500 |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080505) |
Marius Scurtescu wrote:
> After a terribly long run duplicity died with the following error:
>
> Last full backup is too old, forcing full backup
> Traceback (most recent call last):
> File "/usr/bin/duplicity", line 463, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 458, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 444, in main
> full_backup(col_stats)
> File "/usr/bin/duplicity", line 155, in full_backup
> bytes_written = write_multivol("full", tarblock_iter, globals.backend)
> File "/usr/bin/duplicity", line 89, in write_multivol
> at_end = gpg.GzipWriteFile(tarblock_iter, tdp.name,globals.volsize)
> File "/usr/lib/python2.5/site-packages/duplicity/gpg.py", line 261,
> in GzipWriteFile
> new_block = block_iter.next(bytes_to_go)
> File "/usr/lib/python2.5/site-packages/duplicity/diffdir.py", line
> 407, in next
> result = self.process(self.input_iter.next(), size)
> File "/usr/lib/python2.5/site-packages/duplicity/diffdir.py", line
> 487, in process
> data, last_block = self.get_data_block(fp, size - 512)
> File "/usr/lib/python2.5/site-packages/duplicity/diffdir.py", line
> 508, in get_data_block
> buf = fp.read(read_size)
> File "/usr/lib/python2.5/site-packages/duplicity/diffdir.py", line
> 338, in read
> buf = self.infile.read(length)
> IOError: [Errno 22] Invalid argument
Invalid argument is probably a negative length in 'read(length)'.
I'll need to chase this further, but my guess is that in line 487 of the
traceback above, 'size - 512' is coming out negative. I'll need to go
further back than that to find the real culprit.
...Ken
signature.asc
Description: OpenPGP digital signature
Re: [Duplicity-talk] IOError: [Errno 22] Invalid argument, Andrew Kohlsmith (lists), 2008/05/30
Re: [Duplicity-talk] IOError: [Errno 22] Invalid argument,
Kenneth Loafman <=