bugrdiff-backup - Bugs: bug #29501, Crashes when encounters My Music,...

 
 

bug #29501: Crashes when encounters My Music, etc... in My Documents on Windows 7

Submitted by:  Peter McGill <pamcgill>
Submitted on:  Fri 09 Apr 2010 05:46:32 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 09 Apr 2010 06:36:02 PM UTC, comment #1:

I'm running version 1.2.8.
Adding --exclude-symbolic-links to the command line fixes the problem, however the documentation says this switch is enabled by default on Windows. So I'll leave the bug open since crashing is not a desirable default.

Peter McGill <pamcgill>
Fri 09 Apr 2010 05:46:32 PM UTC, original submission:

I am attempting to use rdiff-backup to backup my Windows 7 workstation to my linux server. The backup partially completes, then crashes in the middle when it reaches the My Music folder in My Documents. Here is the error I receive.

Exception 'coercing to Unicode: need string or buffer, NoneType found' raised of class '<type 'exceptions.TypeError'>':
File "/usr/lib/pymodules/python2.5/rdiff_backup/robust.py", line 32, in check_common_error
try: return function(*args)
File "/usr/lib/pymodules/python2.5/rdiff_backup/rpath.py", line 111, in copy
rpout.symlink(rpin.readlink())
File "/usr/lib/pymodules/python2.5/rdiff_backup/rpath.py", line 1002, in symlink
self.conn.os.symlink(linktext, self.path)

Exception 'coercing to Unicode: need string or buffer, NoneType found' raised of class '<type 'exceptions.TypeError'>':
File "rdiff_backup\Main.pyc", line 304, in error_check_Main
File "rdiff_backup\Main.pyc", line 324, in Main
File "rdiff_backup\Main.pyc", line 280, in take_action
File "rdiff_backup\Main.pyc", line 346, in Backup
File "rdiff_backup\backup.pyc", line 38, in Mirror
File "rdiff_backup\connection.pyc", line 450, in _call_
File "rdiff_backup\connection.pyc", line 370, in reval

Traceback (most recent call last):
File "rdiff-backup", line 30, in <module>
File "rdiff_backup\Main.pyc", line 304, in error_check_Main
File "rdiff_backup\Main.pyc", line 324, in Main
File "rdiff_backup\Main.pyc", line 280, in take_action
File "rdiff_backup\Main.pyc", line 346, in Backup
File "rdiff_backup\backup.pyc", line 38, in Mirror
File "rdiff_backup\connection.pyc", line 450, in _call_
File "rdiff_backup\connection.pyc", line 370, in reval
TypeError: coercing to Unicode: need string or buffer, NoneType found
Fatal Error: Lost connection to the remote system

Here is partial output of dir /a %USERPROFILE%\Documents
21/01/2010 04:41 PM <JUNCTION> My Music [C:\Users\Peter\Music]
21/01/2010 04:41 PM <JUNCTION> My Pictures [C:\Users\Peter\Pictures]
21/01/2010 04:41 PM <JUNCTION> My Videos [C:\Users\Peter\Videos]

Windows 7 and Windows Vista use Junctions in My Documents for My Music, My Pictures and My Videos which symlink to the actual directories.

JUNCTION Explanation (NTFS directory symlink):
http://en.wikipedia.org/wiki/NTFS_junction_point

I tried excluding My Music, My Pictures and My Videos but that didn't work.

Peter McGill <pamcgill>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pamcgill (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1