However after this is applied the UDF is created on the server properly but notification about new UDF fails with:
2010-04-29 11:21:48,741 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered wh
ile handling: VM_UDF_CREATED in <ubuntuone.syncdaemon.dbus_interface.EventListen
er object at 0xabcb9ac>
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/event_queue.py", line 794, in _dispatch
method(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 640, in handle_VM_UDF_CREATED
self.dbus_iface.folders.emit_folder_created(udf)
File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 1322, in emit_folder_created
udf_dict = self._get_udf_dict(folder)
File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 1250, in _get_udf_dict
udf_dict[unicode(k)] = unicode(v)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 2: ordinal not in range(128)
First item to fix is the udf name decoding in AQ:
CreateUDF.__init__:
# XXX Unicode boundary?
self.name = name.decode('utf8')
However after this is applied the UDF is created on the server properly but notification about new UDF fails with:
2010-04-29 11:21:48,741 - ubuntuone. SyncDaemon. EQ - ERROR - Error encountered wh syncdaemon. dbus_interface. EventListen python2. 6/dist- packages/ ubuntuone/ syncdaemon/ event_queue. py", line 794, in _dispatch python2. 6/dist- packages/ ubuntuone/ syncdaemon/ dbus_interface. py", line 640, in handle_ VM_UDF_ CREATED dbus_iface. folders. emit_folder_ created( udf) python2. 6/dist- packages/ ubuntuone/ syncdaemon/ dbus_interface. py", line 1322, in emit_folder_created udf_dict( folder) python2. 6/dist- packages/ ubuntuone/ syncdaemon/ dbus_interface. py", line 1250, in _get_udf_dict dict[unicode( k)] = unicode(v)
ile handling: VM_UDF_CREATED in <ubuntuone.
er object at 0xabcb9ac>
Traceback (most recent call last):
File "/usr/lib/
method(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
udf_dict = self._get_
File "/usr/lib/
udf_
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 2: ordinal not in range(128)