u1sdtool does not support utf-8 symbols in --waiting-meta
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Confirmed
|
Medium
|
Ubuntu One Foundations+ team |
Bug Description
STR:
1. Add non-latin-1 file to Ubuntu One folder
2. Run u1sdtool --waiting-content, see that it is queued
3. Run u1sdtool --waiting-meta
Expected Results:
Metadata queue list with the file in question
Actual Results:
rtg@lucidity:~$ u1sdtool --waiting-content
operation='Upload' node_id=
rtg@lucidity:~$ u1sdtool --waiting-meta
Oops, an error ocurred:
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 characters in position 0-9: ordinal not in range(128)
Changed in ubuntuone-client: | |
assignee: | nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+) |
tags: | added: chicharra foundations+ |
Changed in ubuntuone-client: | |
status: | New → Confirmed |
tags: | added: chicharra-maverick |
Changed in ubuntuone-client: | |
importance: | Undecided → Medium |
tags: |
added: chicharra-natty removed: chicharra-maverick |
tags: |
added: chicharra-oneiric removed: chicharra-natty |
Got similar while syncing my test suite FS. (lots and lots of Chinese and Japanese characters)
Traceback (most recent call last): .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__
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'\u5bd5' in position 0: ordinal not in range(128)