On Tue, Apr 7, 2015 at 8:29 AM, Jonathan Maw <jonathan.maw@codethink.co.uk> wrote:
On Tue, Apr 07, 2015 at 07:05:54AM -0700, Kevron Rees wrote:
> Yes, through gi.repository (GObject - introspection).  ambctl needs to be
> updated slightly to use that instead of the old version.
> On Apr 7, 2015 3:40 AM, "Jonathan Maw" <jonathan.maw@codethink.co.uk> wrote:
>
> > Hi all,
> >
> > I am building Automotive Message Broker as part of Baserock, and while I
> > can
> > build it and run ambd successfully, I am having a few difficulties with
> > running ambctl.
> >
> > Specifically, the problem is finding the project that provides 'gobject'
> > for
> > ambctl's `import gobject`. After a bit of searching, it is apparently
> > provided by pygtk (git.gnome.org/pygtk), but that has the disadvantage of
> > having not been updated for 2 years, which itself depends on an outdated
> > version of pygobject and glib. Is there a preferred alternative way of
> > getting
> > 'gobject' in python?
> >
> > Thanks,
> >
> > Jonathan Maw

Thanks for the advice.

Also, after further investigation, pygtk was not required, but pygobject-2.0
was required. In case anyone comes across a similar issue in the future, the
branch "pygobject-2-28" was known to build successfuly.


Very good.  FYI, I have a patch to use the newer gi.repository GObject bindings on my personal 0.13 branch:

https://github.com/tripzero/automotive-message-broker/commit/32df7f8c751417e6da110f45b755cfd4cb7a7733

If this would be desirable, I can submit this patch to the upstream mainline 0.13 branch.
 
Best regards,

Jonathan Maw