rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] C.UnknownFileTypeError


From: Ryan Castle
Subject: Re: [rdiff-backup-users] C.UnknownFileTypeError
Date: Sun, 08 Feb 2004 12:32:47 +1100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Does it happen regularly? How are you mounting the windows directory? What does "ls -l" say about the file? Are the permissions different to other files? The python stat module doesn't think it's a normal file, or the rpath code is doing something funny.

If you can't work it out. You could try running a script like this. It will tell you if stat thinks it's a file, and what the mode is compared to the mode of a normal file.

#!/usr/bin/python2.3
import os,stat
filename = '/tmp/blah.py'
mode = os.lstat(filename)[stat.ST_MODE]
print stat.S_ISREG(mode)
print stat.S_IFMT(mode), stat.S_IFREG

Ryan

Stephen Boulet wrote, on 7/02/2004 11:10 AM:

I'm getting a C.UnknownFileTypeError when running rdiff-backup 0.13.4. Any help appreciated:

rdiff-backup --exclude /backup --exclude /proc --exclude /tmp --exclude /mnt --exclude /dev --exclude /cdwriter --exclude /dos --exclude /mnt --exclude /sys / /backup
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
 Access control lists                         Off
 Extended attributes                          Off
 Mac OS X style resource forks                Off
 Mac OS X Finder information                  Off
-----------------------------------------------------------------
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
 Characters needing quoting                   ''
 Ownership changing                           On
 Hard linking                                 On
 fsync() directories                          On
 Directory inc permissions                    On
 Access control lists                         Off
 Extended attributes                          Off
 Mac OS X style resource forks                Off
 Mac OS X Finder information                  Off
-----------------------------------------------------------------
Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
 File "/usr/bin/rdiff-backup", line 23, in ?
   rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in Main
   take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 229, in take_action
   elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 273, in Backup
   backup_final_init(rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 366, in backup_final_init
   checkdest_if_necessary(rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 850, in checkdest_if_necessary
   dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 70, in Regress
   for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 162, in iterate_meta_rfs
   for raw_rf, metadata_rorp in collated:
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 92, in Collate2Iters
   try: relem1 = riter1.next()
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 140, in helper
   for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/regress.py", line 139, in helper
   for sub_rf in rf.yield_sub_rfs():
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line 531, in yield_sub_rfs
   for mirror_rp, inc_pair in collated:
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 103, in Collate2Iters
   for relem1 in riter1:
File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line 544, in yield_mirrorrps
   rp = mirrorrp.append(filename)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 905, in append
   return self.__class__(self.conn, self.base, self.index + (ext,))
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 667, in __init__
   else: self.setdata()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 691, in setdata
   self.data = self.conn.C.make_file_dict(self.path)
C.UnknownFileTypeError: /backup/home/stephen/.transgaming/c_drive/Program Files/Infogrames Interactive/Civilization III/Art/units/Worker/WorkerRun.amb






reply via email to

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