duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Strange Python Error


From: Chris Spencer
Subject: [Duplicity-talk] Strange Python Error
Date: Thu, 3 Jan 2008 17:55:13 -0500

I'm running a pretty standard Fedora 7 install, and I'm trying to use
Duplicity 0.4.3 (straight from the repo) to backup my home directory
to an external USB hard drive (mounted at /media/WD Passport/).
However, I'm getting a strange Python error:

address@hidden ~]$ duplicity /home/chris "file:///media/WD Passport/"
No signatures found, switching to full backup.
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 378, in <module>
    if __name__ == "__main__": main()
  File "/usr/bin/duplicity", line 371, in main
    if not sig_chain: full_backup(col_stats)
  File "/usr/bin/duplicity", line 147, in full_backup
    bytes_written = write_multivol("full", tarblock_iter, globals.backend)
  File "/usr/bin/duplicity", line 94, in write_multivol
    backend.put(tdp, dest_filename)
  File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line
287, in put
    target_path.writefileobj(source_path.open("rb"))
  File "/usr/lib/python2.5/site-packages/duplicity/path.py", line 496,
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

Does anyone know what might be causing this error? I get the same
error if I try running as root.

Regards,
Chris




reply via email to

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