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

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

[rdiff-backup-users] Unicode (chinese) characters on Windows


From: Matthias Kauer
Subject: [rdiff-backup-users] Unicode (chinese) characters on Windows
Date: Fri, 20 Mar 2015 12:08:18 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Hi,
I'm experimenting with the Windows build on your home page on my Win 7 machine.

I ran into trouble with file names that contain Chinese characters such as minimal example 'test_sync/我报.txt'.
Running rdiff-backup yields the following error:
--------------
C:\opt\rdiff-backup-1.3.3>rdiff-backup.exe  "E:\test_sync" "E:\rdiff_target"
Found interrupted initial backup. Removing...
Exception 'Path: E:\test_sync/??.txt
Index: ('??.txt',)
Data: {'type': None}' raised of class '<type 'exceptions.AssertionError'>':
  File "rdiff_backup\Main.pyc", line 306, in error_check_Main
  File "rdiff_backup\Main.pyc", line 326, in Main
  File "rdiff_backup\Main.pyc", line 282, in take_action
  File "rdiff_backup\Main.pyc", line 336, in Backup
  File "rdiff_backup\fs_abilities.pyc", line 957, in backup_set_globals
  File "rdiff_backup\fs_abilities.pyc", line 654, in get_readonly_fsa
  File "rdiff_backup\fs_abilities.pyc", line 132, in init_readonly
File "rdiff_backup\fs_abilities.pyc", line 354, in set_case_sensitive_readonly
  File "rdiff_backup\fs_abilities.pyc", line 337, in test_triple

Traceback (most recent call last):
  File "rdiff-backup", line 30, in <module>
  File "rdiff_backup\Main.pyc", line 306, in error_check_Main
  File "rdiff_backup\Main.pyc", line 326, in Main
  File "rdiff_backup\Main.pyc", line 282, in take_action
  File "rdiff_backup\Main.pyc", line 336, in Backup
  File "rdiff_backup\fs_abilities.pyc", line 957, in backup_set_globals
  File "rdiff_backup\fs_abilities.pyc", line 654, in get_readonly_fsa
  File "rdiff_backup\fs_abilities.pyc", line 132, in init_readonly
File "rdiff_backup\fs_abilities.pyc", line 354, in set_case_sensitive_readonly
  File "rdiff_backup\fs_abilities.pyc", line 337, in test_triple
AssertionError: Path: E:\test_sync/??.txt
Index: ('??.txt',)
Data: {'type': None}
-----------

On Linux, this example works as I would expect it to. I am wondering if this is fixable without changing my locale or if that would even help. Since this is a Python program, I doubt it would make a difference, would it? In any case, it doesn't seem to depend on the console I use (cmd doesn't display the characters, ConEmu does).

I am also wondering if there's a manual for building on Windows. The wiki doesn't seem to be available anymore and the setup.py script that I found in https://github.com/pgodel/rdiff-backup doesn't work for me, probably because I don't know how to properly include librsync.

Hope you have some advice.

Best regards,
Matthias Kauer



reply via email to

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