duplicity-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [bug #25092] duplicity fails on large backup with "I


From: Christian Schlotter
Subject: [Duplicity-tracker] [bug #25092] duplicity fails on large backup with "IOError: invalid mode: wb"
Date: Sun, 14 Dec 2008 13:48:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081116 Firefox/2.0.0.18

URL:
  <http://savannah.nongnu.org/bugs/?25092>

                 Summary: duplicity fails on large backup with "IOError:
invalid mode: wb"
                 Project: duplicity
            Submitted by: schlotter
            Submitted on: So 14 Dez 2008 14:48:49 CET
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I'm trying to back up my home directory (approx. 15 GB) to an external USB
HDD. After working around bug #24825 by setting tempdir to the external HDD
and increasing the maximum number of open files from 1024 to 16000, after a
long time (more than an hour) duplicity 0.5.02 fails with the following
message:

No signatures found, switching to full backup.
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 522, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 516, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 507, in main
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 209, in full_backup
    bytes_written = write_multivol("full", tarblock_iter, globals.backend)
  File "/usr/bin/duplicity", line 149, in write_multivol
    bytes_written += waiter()
  File "//usr/lib/python2.5/site-packages/duplicity/asyncscheduler.py", line
154, in __run_synchronously
    ret = fn(*params)
  File "/usr/bin/duplicity", line 143, in <lambda>
    async_waiters.append(io_scheduler.schedule_task(lambda tdp,
dest_filename: put(tdp, dest_filename),
  File "/usr/bin/duplicity", line 97, in put
    backend.put(tdp, dest_filename)
  File
"//usr/lib/python2.5/site-packages/duplicity/backends/localbackend.py", line
53, in put
    target_path.writefileobj(source_path.open("rb"))
  File "//usr/lib/python2.5/site-packages/duplicity/path.py", line 501, in
writefileobj
    fout = self.open("wb")
  File "//usr/lib/python2.5/site-packages/duplicity/path.py", line 448, in
open
    else: result = open(self.name, mode)
IOError: invalid mode: wb

Any ideas?




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25092>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]