Unicode error syncinc non ascii path with u1sync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
u1sync |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
u1sync fails initializing non ascii directory
$ u1sync non-ascii-dir-éà
Traceback (most recent call last):
File "/usr/bin/u1sync", line 29, in <module>
exit(
File "/usr/lib/
do_
File "/usr/lib/
func()
File "/usr/lib/
dry_
File "/usr/lib/
metadata_dir = os.path.
File "/usr/lib/
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128)
or syncinc non ascii path
$ pwd
/home/pplr/
$ u1sync --init test
Initializing directory...
Writing mirror metadata...
Done.
$ u1sync test
Traceback (most recent call last):
File "/usr/bin/u1sync", line 29, in <module>
exit(
File "/usr/lib/
do_
File "/usr/lib/
func()
File "/usr/lib/
dry_
File "/usr/lib/
metadata_dir = os.path.
File "/usr/lib/
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 31: ordinal not in range(128)
Related branches
Changed in ubuntuone-client: | |
status: | New → Confirmed |
assignee: | nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+) |
tags: | added: foundations+ |
Changed in ubuntuone-client: | |
assignee: | Ubuntu One Desktop+ team (ubuntuone-desktop+) → Ubuntu One Ops+ team (ubuntuone-ops+) |
tags: |
added: ops+ removed: foundations+ |
affects: | ubuntuone-client → u1sync |
Changed in u1sync: | |
assignee: | Registry Administrators (registry) → nobody |
This bug seems to block all file synchronization in lucid rc
directories placed in ubuntuone directory are sync'ed but not the files in directories - their names appear markes as 'uploading' but nothing happens
I have tried to sync ~/Documents in place, and same thing happens.
u1sdtool --waiting-content
lists a lot of files ready to be uploaded
u1stdtool --waiting-metadata give this:
Oops, an error ocurred: .DBusException: org.freedesktop .DBus.Python. UnicodeEncodeEr ror: Traceback (most recent call last): pymodules/ python2. 6/dbus/ service. py", line 702, in _message_cb method( self, *args, **keywords) python2. 6/dist- packages/ ubuntuone/ syncdaemon/ dbus_interface. py", line 204, in waiting_metadata metadata. append( str(cmd) ) python2. 6/dist- packages/ ubuntuone/ syncdaemon/ action_ queue.py" , line 1442, in __str__
Traceback (most recent call last):
Failure: dbus.exceptions
File "/usr/lib/
retval = candidate_
File "/usr/lib/
waiting_
File "/usr/lib/
for attr in str_attrs]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe6' in position 25: ordinal not in range(128)
Is there a way to have a clue as to identify the offending file? Or to remove the queued files? As it stands now absolutely nothing can be sync'ed - only uploaded one file at a time.