← Back to team overview

ulc-devs team mailing list archive

Re: libfolks backport

 

Hello,

first of all, I wish all of you a Happy New Year. I hope you all had a good
time over Christmas and New Year's.
Don't know about you, but in my family Christmas time is always very busy.
But anyway, after finishing a book I had to read for English class "The
White Tiger" by Aravind Adiga (a story about an Indian entrepreneur - very
interesting!) earlier today, I wanted to try accessing libfolks from python.

Unfortunately, Frederik, your ppa didn't work for me because I'm using
ubuntu precise. So I while I was compiling folks-0.6.6 by myself, I
realized that I already have version 0.6.6 installed. This is what is
currently installed on my system:

folks-common             0.6.6-1      library to aggregates people into
metacontacts (common files)
gir1.2-folks-0.6            0.6.6-1      library to aggregates people into
metacontacts - GObject-Introspection
libfolks-dev                 0.6.6-1      library to aggregates people into
metacontact - development files
libfolks-eds25             0.6.6-1      Evolution-data-server backend for
libfolks
libfolks-telepathy25     0.6.6-1       elepathy backend for libfolks
libfolks25                  0.6.6-1        library to aggregates people
into metacontacts

I'm now running into the same problem as Frederik was before. I can import
Folks from gi.repository but when I do:

agg= Folks.IndividualAggregator()
agg.prepare()

I get the same error:
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
TypeError: prepare() takes exactly 3 arguments (1 given)

Any Ideas?

Regards,
Patrick

On Thu, Dec 15, 2011 at 10:01 PM, Frederik Elwert <frederik.elwert@xxxxxx>wrote:

> Am Sonntag, den 11.12.2011, 15:05 +0100 schrieb Frederik Elwert:
> > Hi folks! ;-)
> >
> > The fix for the libfolks bug that prevented using it from python just
> > hit the git master:
> >
> >
> http://git.gnome.org/browse/folks/commit/?id=2247cdd5f71a65f330343da2438e68fb8a3ecfd3
> >
> > I think the way to go would be to provide an updated libfolks from our
> > PPA, so we can easily install the fixed version, and later users can get
> > it from the same channel as the lens itself.
> >
> > I see two options doing this:
> >
> >       * Start with folks 0.6.3.2 (which is in Oneiric) and cherry-pick
> >         that patch. This way, we stay closer to Ubuntu, but also might
> >         miss other fixes in later upstream releases.
> >       * Package git master, and update it. Once a new release containing
> >         the fix is made, we might decide to stay with that.
>
> Option three: use the newly released[1] folks 0.6.6. :-) Great to see
> how fast the folks team released this fix!
>
> I created a ppa[2] that contains the fixed libfolks. It showed that I
> also had to rebuild Oneiric’s telepathy-glib using valac 0.14, due to a
> bug[3].
>
> So I think we now have the prerequisites in place to actually start
> hacking! Yeah!
>
> Feel free to experiment with libfolks and the lens. To avoid unnecessary
> extra work, I’d just recommend you let us others know on the list when
> you start working on specific features.
>
> Regards
> Frederik
>
>
> [1]
> http://lists.freedesktop.org/archives/telepathy/2011-December/005922.html
> [2] https://launchpad.net/~ulc-devs/+archive/ppa/
> [3] https://bugs.freedesktop.org/show_bug.cgi?id=42296
>
>
> --
> Mailing list: https://launchpad.net/~ulc-devs
> Post to     : ulc-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ulc-devs
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Patrick Seemann

launchpad: ~patrickseemann
irc.freenode.net: patsee14

Follow ups

References