error: argument after * must be a sequence

Henrik Lewander henrik@lewander.com
Sun, 8 Sep 2002 18:48:51 +0200


Hi!

Just found rdiff-backup, seems like the perfect tool for me.

I set up my sytems like http://arctic.org/~dean/rdiff-backup/unattended.html
and I tried the simple remote /tmp backup which works fine.

But when I tried to do a more complex backup rdiff-backup fails with all the
stuff below. Somebody knows whats going on? I skimmed the archive but didn't
find anything.
I use --include-filelist (with no *) with some directories and last - /
rdiff-backup is 0.8.0 it seems (debian unstable).

/Henrik

Exception 'join() argument after * must be a sequence' raised of class
'exceptions.TypeError':
  File "/usr/bin/rdiff-backup", line 6011, in patch_w_datadir_writes
    for indexed_tuple in collated:
  File "/usr/bin/rdiff-backup", line 3688, in Collate2Iters
    try: relem1 = riter1.next()
  File "/usr/bin/rdiff-backup", line 3584, in FromRaw
    for index, data, num_files in raw_iter:
  File "/usr/bin/rdiff-backup", line 1001, in next
    type, data = self._get()
  File "/usr/bin/rdiff-backup", line 976, in _get
    header = self.file.read(8)
  File "/usr/bin/rdiff-backup", line 1173, in read
    l - len(self.buffer)))
  File "/usr/bin/rdiff-backup", line 1847, in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File "/usr/bin/rdiff-backup", line 1792, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/bin/rdiff-backup", line 1731, in reval
    if isinstance(result, Exception): raise result

Writing intermediate hard link data to disk
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 6779, in ?
    Globals.Main.Main(sys.argv[1:])
  File "/usr/bin/rdiff-backup", line 6488, in Main
    self.take_action(rps)
  File "/usr/bin/rdiff-backup", line 6465, in take_action
    elif self.action == "backup": self.Backup(rps[0], rps[1])
  File "/usr/bin/rdiff-backup", line 6522, in Backup
    else: HighLevel.Mirror(rpin, rpout, self.incdir, RSI)
  File "/usr/bin/rdiff-backup", line 5800, in Mirror
    DestS.patch_w_datadir_writes(dest_rpath, diffiter, inc_rpath)
  File "/usr/bin/rdiff-backup", line 6022, in patch_w_datadir_writes
    except: cls.handle_last_error(finished_dsrp, finalizer, ITR)
  File "/usr/bin/rdiff-backup", line 6011, in patch_w_datadir_writes
    for indexed_tuple in collated:
  File "/usr/bin/rdiff-backup", line 3688, in Collate2Iters
    try: relem1 = riter1.next()
  File "/usr/bin/rdiff-backup", line 3584, in FromRaw
    for index, data, num_files in raw_iter:
  File "/usr/bin/rdiff-backup", line 1001, in next
    type, data = self._get()
  File "/usr/bin/rdiff-backup", line 976, in _get
    header = self.file.read(8)
  File "/usr/bin/rdiff-backup", line 1173, in read
    l - len(self.buffer)))
  File "/usr/bin/rdiff-backup", line 1847, in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File "/usr/bin/rdiff-backup", line 1792, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/bin/rdiff-backup", line 1731, in reval
    if isinstance(result, Exception): raise result
TypeError: join() argument after * must be a sequence
done.
hyperon:/backup# Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 6779, in ?
    Globals.Main.Main(sys.argv[1:])
  File "/usr/bin/rdiff-backup", line 6488, in Main
    self.take_action(rps)
  File "/usr/bin/rdiff-backup", line 6464, in take_action
    PipeConnection(sys.stdin, sys.stdout).Server()
  File "/usr/bin/rdiff-backup", line 1716, in Server
    self.get_response(-1)
  File "/usr/bin/rdiff-backup", line 1681, in get_response
    try: req_num, object = self._get()
  File "/usr/bin/rdiff-backup", line 1587, in _get
    raise ConnectionReadError("Truncated header string (problem "
__main__.ConnectionReadError: Truncated header string (problem probably
originated remotely)