[sugar] Re: Possible presence service bug

Dan Williams dcbw
Fri Oct 6 07:12:37 EDT 2006


On Fri, 2006-10-06 at 11:40 +0200, Marco Pesenti Gritti wrote:
> Hi,
> 
> when I try to join a shared activity I get the following trace. Any ideas?

Probably related to the type checking changes John put in a bit ago.
We'll have to make sure they work as expected.

Dan

> 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