UnicodeError: String parameters to be sent over D-Bus must be valid UTF-8

Bug #807671 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Expired
Undecided
Unassigned

Bug Description

following on from bug 368626, on current natty:

the client gets stuck with this shown at the end of the log:

2011-07-09 05:08:04,274 - ubuntuone.SyncDaemon.ActionQueue - DEBUG - Upload share:'8f2ec7b1-7722-484e-
babb-3905965a43dc' node:marker:4ac245fa-2e2d-4500-8b60-738fa3596a99 Upload(share_id="'8f2ec7b1-7722-484e-babb-3905965a43dc
'", hash="'sha1:e768d5e5baf40b1cb188be282b3b5359b9dbb872'", running='False', node_id='marker:4ac245fa-2e2d-4500-8b60-738fa35
96a99', upload_id='None', crc32='2246405089L', path="'/home/mbp/Music/Sigur_R\\xc3\\xb3s/\\xc3\\x81g\\xc3\\xa6tis Byrjun/05_
Sigur_Ros__N\\xfd_batter\\xed.ogg'", previous_hash="''", size='13478182') starting
2011-07-09 05:08:04,274 - ubuntuone.SyncDaemon.ActionQueue - DEBUG - Upload share:'8f2ec7b1-7722-484e-
babb-3905965a43dc' node:marker:4ac245fa-2e2d-4500-8b60-738fa3596a99 Upload(share_id="'8f2ec7b1-7722-484e-babb-3905965a43dc
'", hash="'sha1:e768d5e5baf40b1cb188be282b3b5359b9dbb872'", running='False', node_id='marker:4ac245fa-2e2d-4500-8b60-738fa35
96a99', upload_id='None', crc32='2246405089L', path="'/home/mbp/Music/Sigur_R\\xc3\\xb3s/\\xc3\\x81g\\xc3\\xa6tis Byrjun/05_
Sigur_Ros__N\\xfd_batter\\xed.ogg'", previous_hash="''", size='13478182') semaphore acquired
2011-07-09 05:08:04,275 - ubuntuone.SyncDaemon.sync - DEBUG - T:LOCAL:F 4ac245fa-2e2d-4500-8b60-738fa3596a99 ['8f2ec7b1-7722
-484e-babb-3905965a43dc'::marker:4ac245fa-2e2d-4500-8b60-738fa3596a99] ''Music/Sigur_R\xc3\xb3s/\xc3\x81g\xc3\xa6tis Byrjun/
05_Sigur_Ros__N\xfd_batter\xed.ogg'' | Called put_file
2011-07-09 05:08:04,275 - ubuntuone.SyncDaemon.ActionQueue - DEBUG - Upload share:'8f2ec7b1-7722-484e-
babb-3905965a43dc' node:marker:4ac245fa-2e2d-4500-8b60-738fa3596a99 Upload(share_id="'8f2ec7b1-7722-484e-babb-3905965a43dc
'", hash="'sha1:e768d5e5baf40b1cb188be282b3b5359b9dbb872'", running='False', node_id='marker:4ac245fa-2e2d-4500-8b60-738fa35
96a99', upload_id='None', crc32='2246405089L', path="'/home/mbp/Music/Sigur_R\\xc3\\xb3s/\\xc3\\x81g\\xc3\\xa6tis Byrjun/05_
Sigur_Ros__N\\xfd_batter\\xed.ogg'", previous_hash="''", size='13478182') compressing: '/home/mbp/Music/Sigur_R\xc3\xb3s/\xc
3\x81g\xc3\xa6tis Byrjun/05_Sigur_Ros__N\xfd_batter\xed.ogg'
2011-07-09 05:08:04,276 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: SYS_QUEUE_ADDED in <ubuntuone.
syncdaemon.interaction_interfaces.SyncdaemonEventListener object at 0x46d1650>
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/event_queue.py", line 286, in _dispatch
    method(**kwargs)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 1108, 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 355, in emit_request
queue_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-07-09 05:08:04,278 - ubuntuone.SyncDaemon.InvalidNames - INFO - IN_OPEN in u'/home/mbp/Music/Sigur_R\xf3s/\xc1g\xe6tis Byrjun': path '05_Sigur_Ros__N\xfd_batter\xed.ogg'
2011-07-09 05:08:04,278 - ubuntuone.SyncDaemon.EQ - DEBUG - push_event: FS_INVALID_NAME, kwargs: {'dirname': u'/home/mbp/Music/Sigur_R\xf3s/\xc1g\xe6tis Byrjun', 'filename': '05_Sigur_Ros__N\xfd_batter\xed.ogg'}
2011-07-09 05:08:04,581 - ubuntuone.SyncDaemon.ActionQueue - INFO - Connection made.
2011-07-09 05:08:04,581 - ubuntuone.SyncDaemon.StorageClient - INFO - Connection made.
2011-07-09 05:08:04,582 - ubuntuone.SyncDaemon.EQ - DEBUG - push_event: SYS_CONNECTION_MADE, kwargs: {}
2011-07-09 05:08:04,582 - ubuntuone.SyncDaemon.StateManager - DEBUG - received event 'SYS_CONNECTION_MADE'
2011-07-09 05:08:04,582 - ubuntuone.SyncDaemon.StateManager - DEBUG - Transition READY --[SYS_CONNECTION_MADE]--> CHECK_VERSION (queues: WORKING; connection: With User With Network)
2011-07-09 05:08:04,583 - ubuntuone.SyncDaemon.ConnectionManager - DEBUG - Setting up the 'handshake' timer on 50 secs
2011-07-09 05:08:04,583 - ubuntuone.SyncDaemon.EQ - DEBUG - push_event: SYS_STATE_CHANGED, kwargs: {'state': CHECK_VERSION (error=False connected=True online=False) Queue: WORKING Connection: With User With Network}
2011-07-09 05:08:04,591 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: SYS_CONNECTION_MADE in <ubuntuone.syncdaemon.status_listener.StatusListener object at 0x46d1990>
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/event_queue.py", line 286, in _dispatch
    method(**kwargs)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/status_listener.py", line 111, in handle_SYS_CONNECTION_MADE
    self.status_frontend.server_connection_made()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 857, in server_connection_made
    self.aggregator.connection_made()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 779, in connection_made
    self.file_discovery_bubble.connection_made()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 515, in connection_made
    self._popup()
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 490, in _popup
    self.notification.send_notification(UBUNTUONE_TITLE, text)
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/status/aggregator.py", line 149, 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
2011-07-09 05:08:04,594 - ubuntuone.SyncDaemon.InteractionInterfaces - DEBUG - called current_status

magicicada shows it repeatedly starting and stopping.

those names apparently are invalid but obviously it shouldn't stop.

Revision history for this message
Leo Arias (elopio) wrote :

Hi Martin,

We have fixed some encoding issues on recent versions. Does this problem still happen to you with an updated client?

Thanks.

Changed in ubuntuone-client:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu One Client because there has been no activity for 60 days.]

Changed in ubuntuone-client:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.