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

 
 

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

Submitter:  Peter McGill <pamcgill>
Submitted:  Fri 09 Apr 2010 05:46:32 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 20 May 2022 05:42:00 PM UTC, comment #2: 

This issue has been closed because it hasn&#039;t been touched for years, as the development continued on GitHub. If the issue is still present in a recent version, please re-open it under https://github.com/rdiff-backup/rdiff-backup/issues after having made that it&#039;s not already reported there.

Eric L. <ericzolf>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ericzolf (Posted a comment)
  • -email is unavailable- added by pamcgill (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-20 ericzolf Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code