[Sugar-devel] Browse failed to start with dbus UnknownMethod error in openSUSE

Peter Robinson pbrobinson at gmail.com
Sat May 5 12:25:21 EDT 2012


On Sat, May 5, 2012 at 5:10 PM, Xin Wang <dram.wang at gmail.com> wrote:
> On Sat, May 5, 2012 at 11:48 PM, Peter Robinson <pbrobinson at gmail.com> wrote:
>> On Sat, May 5, 2012 at 4:47 PM, Xin Wang <dram.wang at gmail.com> wrote:
>>> Hi all,
>>>
>>> Recently I'm trying to package sugar for openSUSE. Glucose packages
>>> have finished, and now I'm packaging Browse. But it failed to start
>>> with following error.
>>>
>>> ---
>>> Traceback (most recent call last):
>>>  File "/usr/bin/sugar-activity", line 146, in <module>
>>>    main()
>>>  File "/usr/bin/sugar-activity", line 141, in main
>>>    instance = create_activity_instance(activity_constructor, activity_handle)
>>>  File "/usr/bin/sugar-activity", line 34, in create_activity_instance
>>>    activity = constructor(handle)
>>>  File "/usr/share/sugar/activities/Browse.activity/webactivity.py",
>>> line 153, in __init__
>>>    activity.Activity.__init__(self, handle)
>>>  File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py",
>>> line 358, in __init__
>>>    warn_if_none=False)
>>>  File "/usr/lib/python2.7/site-packages/sugar3/presence/presenceservice.py",
>>> line 89, in get_activity
>>>    dbus_interface=CONN_INTERFACE_ACTIVITY_PROPERTIES)
>>>  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
>>>    return self._proxy_method(*args, **keywords)
>>>  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
>>>    **keywords)
>>>  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line
>>> 630, in call_blocking
>>>    message, timeout)
>>> dbus.exceptions.DBusException:
>>> org.freedesktop.DBus.Error.UnknownMethod: Method "GetActivity" with
>>> signature "s" on interface "org.laptop.Telepathy.ActivityProperties"
>>> doesn't exist
>>> ---
>>>
>>> Browse is 137,  sugar-toolkit-gtk3 is 0.96.1.
>>>
>>> I have no clue how to fix it, could someone figure me out what should I do?
>>
>> Maybe use the Fedora .spec file as a base because it works OK for us.
>>
>> Peter
>
> There's nothing special in Fedora's spec files of sugar-browse and
> sugar-toolkit-gtk3.
>
> But I found that the version of telepathy-gabble is a bit old in
> openSUSE, maybe I should got a newer version first.

Yes, the sugar stack is fairly dependent on new versions of telepathy
and webkit. Also make sure all the dependencies have introspection
bindings enabled as Browse uses introspection for most of the language
bindings.

Peter


More information about the Sugar-devel mailing list