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
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)
--
Can't create UDF with non-ASCII names (valid UTF-8)
https://bugs.launchpad.net/bugs/557160
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs