[sugar] Possible presence service bug

Marco Pesenti Gritti mpg
Fri Oct 6 05:46:09 EDT 2006


Hi,

when I try to join a shared activity I get the following trace. Any ideas?

Marco

Traceback (most recent call last):
  File 
"/home/marco/sugar-jhbuild/source/sugar/shell/view/home/MeshBox.py", 
line 42, in _clicked_cb
    self._shell.join_activity(bundle.get_id(), self._model.get_id())
  File "/home/marco/sugar-jhbuild/source/sugar/shell/view/Shell.py", 
line 124, in join_activity
    activity.join(activity_ps.object_path())
  File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in 
__call__
    ret = self._proxy_method (*args, **keywords)
  File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 102, in 
__call__
    reply_message = self._connection.send_with_reply_and_block(message, 
timeout)
  File "dbus_bindings.pyx", line 455, in 
dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/dbus/service.py", line 304, in 
_message_cb
    retval = candidate_method(self, *args, **keywords)
  File 
"/home/marco/sugar-jhbuild/source/sugar/sugar/activity/Activity.py", 
line 42, in join
    return self._activity.join(activity_ps)
  File 
"/home/marco/sugar-jhbuild/source/sugar/activities/browser/BrowserActivity.py", 
line 124, in join
    Activity.join(self, activity_ps)
  File 
"/home/marco/sugar-jhbuild/source/sugar/sugar/activity/Activity.py", 
line 123, in join
    self._default_type, properties, addr, port)
  File 
"/home/marco/sugar-jhbuild/source/sugar/sugar/presence/PresenceService.py", 
line 191, in share_activity
    serv_op = self._ps.shareActivity(actid, stype, properties, address, 
port, domain)
  File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 102, in 
__call__
    reply_message = self._connection.send_with_reply_and_block(message, 
timeout)
  File "dbus_bindings.pyx", line 455, in 
dbus_bindings.Connection.send_with_reply_and_block
DBusException: Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/dbus/service.py", line 304, in 
_message_cb
    retval = candidate_method(self, *args, **keywords)
  File 
"/home/marco/sugar-jhbuild/source/sugar/services/presence/PresenceService.py", 
line 238, in shareActivity
    port, domain, sender)
  File 
"/home/marco/sugar-jhbuild/source/sugar/services/presence/PresenceService.py", 
line 718, in share_activity
    raise ValueError("address must be a unicode string.")
ValueError: address must be a unicode string.



More information about the Sugar-devel mailing list