[Sugar-devel] Installing sugar-jhbuild in F17

Ajay Garg ajaygargnsit at gmail.com
Mon May 7 04:09:26 EDT 2012


Hi all.

I am trying to setup sugar-jhbuild, on Fedora-17-Beta-2 on a VirtualBox.

I cloned the sources for setting up sugar-jhbuild (as per
http://wiki.sugarlabs.org/go/Development_Team/Jhbuild).

However, when I myself could not build "telepathy-mission-control".
So, as suggested in this thread, I skipped this module, and instead tried
relying on the the system package.

So, when I started "./sugar-jhbuild run sugar-emulator", the emulator
crashed, with the following shell.logs ::


##############################################################
:30
** (sugar-session:1544): DEBUG: starting phase 1

** (sugar-session:1544): DEBUG: ending phase 1

** (sugar-session:1544): DEBUG: starting phase 2

** (sugar-session:1544): DEBUG: ending phase 2

** (sugar-session:1544): DEBUG: starting phase 3

** (sugar-session:1544): DEBUG: ending phase 3

** (sugar-session:1544): DEBUG: starting phase 4

** (sugar-session:1544): DEBUG: ending phase 4

** (sugar-session:1544): DEBUG: starting phase 5

** (sugar-session:1544): DEBUG: ending phase 5

1336377507.786258 WARNING root: No gtk.AccelGroup in the top level window.
1336377507.803286 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.7/site-packages/sugar/graphics/palette.py:412: Warning:
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  _sugarext.Menu.do_insert(self, item, position)
/usr/lib/python2.7/site-packages/jarabe/desktop/homewindow.py:73: Warning:
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.add(self._home_box)
1336377513.719197 ERROR dbus.proxies: Introspect error on
org.freedesktop.ohm:/org/freedesktop/ohm/Keystore:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freedesktop.ohm was not provided by any .service files
1336377513.720229 ERROR root: Cannot unfreeze the DCON
/usr/bin/sugar-session:273: Warning: g_object_set_qdata: assertion
`G_IS_OBJECT (object)' failed
  gtk.main()
:30
1336377513.990562 WARNING root: No gtk.AccelGroup in the top level window.
1336377513.999429 WARNING root: No gtk.AccelGroup in the top level window.
1336377514.007111 WARNING root: No gtk.AccelGroup in the top level window.
1336377514.012310 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.7/site-packages/jarabe/frame/framewindow.py:132: Warning:
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self._container.get_child().pack_start(child, expand=expand, fill=fill)
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
1336377520.564602 WARNING root: No gtk.AccelGroup in the top level window.
1336377520.564989 WARNING root: No gtk.AccelGroup in the top level window.
1336377528.639316 ERROR dbus.connection: Exception in handler for D-Bus
signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 214, in
maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 430, in __buddy_info_updated_cb
    self.emit('buddy-updated', self._buddy_handles[handle], properties)
KeyError: dbus.UInt32(2L)
1336377528.645824 ERROR dbus.connection: Exception in handler for D-Bus
signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 214, in
maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 430, in __buddy_info_updated_cb
    self.emit('buddy-updated', self._buddy_handles[handle], properties)
KeyError: dbus.UInt32(6L)
1336377528.647117 ERROR dbus.connection: Exception in handler for D-Bus
signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 214, in
maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 430, in __buddy_info_updated_cb
    self.emit('buddy-updated', self._buddy_handles[handle], properties)
KeyError: dbus.UInt32(11L)
1336377528.652646 ERROR dbus.connection: Exception in handler for D-Bus
signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 214, in
maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 430, in __buddy_info_updated_cb
    self.emit('buddy-updated', self._buddy_handles[handle], properties)
KeyError: dbus.UInt32(15L)
1336377528.653358 ERROR dbus.connection: Exception in handler for D-Bus
signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 214, in
maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 430, in __buddy_info_updated_cb
    self.emit('buddy-updated', self._buddy_handles[handle], properties)
KeyError: dbus.UInt32(16L)
1336377528.658987 ERROR dbus.connection: Exception in handler for D-Bus
signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 214, in
maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 430, in __buddy_info_updated_cb
    self.emit('buddy-updated', self._buddy_handles[handle], properties)
KeyError: dbus.UInt32(22L)
1336377528.659838 ERROR dbus.connection: Exception in handler for D-Bus
signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 214, in
maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 430, in __buddy_info_updated_cb
    self.emit('buddy-updated', self._buddy_handles[handle], properties)
KeyError: dbus.UInt32(24L)
1336377528.903081 WARNING root: Ignoring shared activity we dont have
1336377529.162894 WARNING root: Ignoring shared activity we dont have
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 589, in
msg_reply_handler
    *message.get_args_list()))
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 213, in __error_handler_cb
    error))
RuntimeError: Error when calling BuddyInfo.GetProperties:
org.freedesktop.Telepathy.Error.DoesNotExist: Failed to query the PEP node:
WOCKY_XMPP_ERROR_ITEM_NOT_FOUND (#9):
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 589, in
msg_reply_handler
    *message.get_args_list()))
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 213, in __error_handler_cb
    error))
RuntimeError: Error when calling BuddyInfo.GetActivities:
org.freedesktop.Telepathy.Error.DoesNotExist: Error in pubsub reply:
WOCKY_XMPP_ERROR_ITEM_NOT_FOUND (#9):
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 589, in
msg_reply_handler
    *message.get_args_list()))
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py",
line 213, in __error_handler_cb
    error))
RuntimeError: Error when calling BuddyInfo.GetActivities:
org.freedesktop.Telepathy.Error.DoesNotExist: Error in pubsub reply:
WOCKY_XMPP_ERROR_ITEM_NOT_FOUND (#9):
/usr/lib/python2.7/site-packages/sugar/graphics/palette.py:211: Warning:
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  if menu_item.props.submenu is not None:
/usr/lib/python2.7/site-packages/sugar/graphics/palette.py:361: Warning:
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.menu.embed(self._menu_box)
/usr/lib/python2.7/site-packages/sugar/graphics/palette.py:367: Warning:
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.menu.unembed()
/usr/lib/python2.7/site-packages/sugar/graphics/palette.py:378: Warning:
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.menu.embed(self._menu_box)
/usr/lib/python2.7/site-packages/sugar/graphics/palette.py:375: Warning:
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.menu.unembed()

(sugar-session:1544): GConf-WARNING **: Got Disconnected from DBus.
##############################################################



Then, I tried "sudo yum install sugar-emulator", and then launching the
system-wide binary "sugar-emulatory", it worked.



So, two queries ::


a)
Is the above expected?
Would the fact that I am using VirtualBox, and a guest image, makes any
diffeerence?



b)
When I launched system-wide sugar-emulator, I could not see any
wifi-icons/adhoc-network-icons in the neighborhood-view (only buddies,
logged onto "jabber.sugarlabs.org"). In my VBox settings, I have already
set "Network" settings to "Bridged Adapter" -> "wlan0" (which happens to be
the wireless device on F14 host machine).
So, is this again due to the fact that I am using VirtualBox?


Looking forward to a reply.


Regards,
Ajay


On Thu, Apr 26, 2012 at 1:41 PM, Peter Robinson <pbrobinson at gmail.com>wrote:

> On Wed, Apr 25, 2012 at 7:47 PM, Gonzalo Odiard <gonzalo at laptop.org>
> wrote:
> > I have installed sugar-jhbuild in a new pristine F17.
> > Here my findings, works, but with little problems:
> >
> > $ git clone git://git.sugarlabs.org/sugar-jhbuild/mainline.gitsugar-jhbuild
> > $ cd sugar-jhbuild
> > $ ./sugar-jhbuild update
> > $ ./sugar-jhbuild depscheck
> >
> > Install dependencies:
> > # yum install alsa-lib-devel at-spi-python avahi-gobject-devel
> avahi-tools
> > boost-devel cmake csound dbus-devel dbus-glib-devel enchant-devel
> > evince-devel expat-devel fribidi-devel gcc gcc-c++ GConf2-devel
> > gettext-devel git-email gnome-common gnome-doc-utils gnome-python2-rsvg
> > gnome-vfs2-devel gobject-introspection-devel gtk2-devel gtk3-devel
> > hippo-canvas-python icon-naming-utils icon-slicer intltool libabiword
> > libabiword libcroco-devel libffi-devel libglade2-devel libgsf-devel
> > libnice-devel librsvg2-devel libsoup-devel libtool libXt-devel
> > loudmouth-devel numpy openssl-devel poppler-glib-devel popt-devel
> pyabiword
> > pygame pygtk2-devel pygtksourceview python-cjson python-dateutil
> > python-devel python-distutils-extra python-lxml python-pep8 sqlite-devel
> > subversion libuuid-devel webkitgtk3-devel wv-devel xapian-bindings-python
> > xapian-core-libs vte zlib-devel pylint python-xklavier
> >
> > $./sugar-jhbuild build
> >
> > Build finish with a error compiling telepathy-mission-control.
> > We can use the packaged version more updated than the requested sources.
>
> We should use the packaged version as the telepathy stack has some
> pretty explicit version dependencies.
>
> > If we select continue with the next module, when try to compile
> activities,
> > don't found the python sugar modules. sugar emulator doesn't work.
>
> Really? It all works with the standard F17 stack as that's exactly
> what we're using for the 12.1.x builds. Are we missing another dep?
>
> Peter
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120507/f8f13417/attachment.html>


More information about the Sugar-devel mailing list