Comment 3 for bug 696901

Revision history for this message
Roman Yepishev (rye) wrote :

This bug causes notification subsystem break the connection procedure:

2011-08-08 13:45:47,585 - ubuntuone.SyncDaemon.sync - ERROR - T:NONE:F 195f1596-0577-4015-af4b-170fb01e6fff ['root'::marker:195f1596-0577-4015-af4b-170fb01e6fff] ''Ubuntu One/\xef\
xf0\xe8\xe2\xe5\xf2.txt'' | Executing ACTION_FUNC 'new_local_file' gave an exception: UnicodeDecodeError('utf8', '\xef\xf0\xe8\xe2\xe5\xf2.txt', 0, 1, 'invalid continuation byte')
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/fsm/fsm.py", line 137, in on_event
    af(event_name, parameters, *args)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/sync.py", line 534, in new_local_file
    self.m.action_q.make_file(share_id, parent_id, name, marker, path)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/action_queue.py", line 1023, in make_file
    name, marker, path).go()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/action_queue.py", line 1421, in __init__
    self.name = name.decode("utf8")
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xef in position 0: invalid continuation byte
2011-08-08 13:45:47,612 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: SYS_QUEUE_ADDED in <ubuntuone.syncdaemon.interaction_interfaces.SyncdaemonEventListene
r object at 0x31af7d0>
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/event_queue.py", line 287, in _dispatch
    method(**kwargs)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 1117, in handle_SYS_QUEUE_ADDED
    self.interface.status.emit_requestqueue_added(op_name, op_id, data)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 389, in emit_requestqueue_added
    self.RequestQueueAdded(op_name, str(op_id), data)
  File "/usr/lib/pymodules/python2.7/dbus/decorators.py", line 309, in emit_signal
    message.append(signature=signature, *args)
UnicodeError: String parameters to be sent over D-Bus must be valid UTF-8
...
2011-08-08 13:45:53,165 - dbus.service - ERROR - Unable to append ([('Upload', '124857576', {'share_id': '', 'hash': 'sha1:da39a3ee5e6b4b0d3255bfef95601890afd80709', 'running': '', 'node_id': 'marker:195f1596-0577-4015-af4b-170fb01e6fff', 'upload_id': 'None', 'crc32': '0', 'path': '/home/rtg/Ubuntu One/\xef\xf0\xe8\xe2\xe5\xf2.txt', 'previous_hash': '', 'size': '0'})],) to message with signature a(ssa{ss}): <type 'exceptions.UnicodeError'>: String parameters to be sent over D-Bus must be valid UTF-8
2011-08-08 13:45:53,230 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: SYS_CONNECTION_MADE in <ubuntuone.syncdaemon.status_listener.StatusListener object at 0x6e37450>
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/event_queue.py", line 287, in _dispatch
    method(**kwargs)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/status_listener.py", line 123, in handle_SYS_CONNECTION_MADE
    self.status_frontend.server_connection_made()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 852, in server_connection_made
    self.aggregator.connection_made()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 782, in connection_made
    self.file_discovery_bubble.connection_made()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 501, in connection_made
    self._popup()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 476, in _popup
    self.notification.send_notification(UBUNTUONE_TITLE, text)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 135, in send_notification
    return self.notification.send_notification(*args)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/platform/linux/notification.py", line 55, in send_notification
    self.notification.show()
GError: Connection was disconnected before a reply was received