Tuesday, May 26, 2009

offer tube error caused by conary

It turns out that I wasted a lot of time on this, even it's the second time the problem occurred...

The 'Offer' operation (to offer a DBusTube to a contact) fails,

ERROR:dbus.connection:Unable to set arguments ({},) according to signature None: : Unable to guess signature from an empty dict
Traceback (most recent call last):
  File "./caller.py", line 159, in _connection_added_cb
    offer_tube(connection, handle, self.TUBE_SERVICE)
  File "./caller.py", line 272, in offer_tube
    address = chan[CHANNEL_TYPE_DBUS_TUBE].Offer({})
  File "/usr/lib64/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 620, in call_blocking
    message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

I don't understand the problem at the moment, but the cause of it is,

$ conary q telepathy-glib --troves
telepathy-glib=/jesse.rpath.org@fl:2-devel/0.7.30-1-1[~!builddocs]
  telepathy-glib:doc=0.7.30-1-1[~!builddocs]
  telepathy-glib:lib=0.7.30-1-1[~!builddocs]
telepathy-glib=/foresight.rpath.org@fl:devel//2/0.7.25-0.1-2[~!builddocs]
  telepathy-glib:devel=0.7.25-0.1-2[~!builddocs]
  telepathy-glib:devellib=0.7.25-0.1-2[~!builddocs]

I.e., the packages are messed up. Maybe some problem with my configuration of conary (e.g. :devel and :devellib troves are not updated together with :doc and :lib).

[Update]: The problem is not solved after "conary update -telepathy-glib:{devel,devellib} telepathy-glib:{devel,devellib}=/jesse.rpath.org@fl:2-devel". I had to update telepathy-gabble as well, from 0.7.26 to 0.7.27.

Wrote this down for future references...

Tuesday, May 19, 2009

evolution won't fetch mails?

OK, the solution turns out to be trivial, (however it caused big inconvenience for me).
If your evolution didn't get mails properly, make sure it's not marking all incoming mails as 'Junk'.
For me, it's 'Edit' => 'Preferences' => 'Mail Preferences' => 'Junk' => 'Check custom headers for junk', and this custom list contains:

HeaderContains Value
X-Spam-FlagYES
X-Spam-Level*****

Days ago, evolution stopped fetching mails (gmail, pop3), but gmail's web interface is all ok. I suspected google since there happened to be rumors about google servers at that time. And I suspected evolution too, since not long ago I experienced a problme with it.

Then it turned out to be the mail filter. I installed bogofilter to fix the 'Check junk failed' problem, but the configuration somehow messed up and it thought all the mails are junk.

Maybe it's a problem of Foresight packaging?

Tuesday, May 5, 2009

Three! mentors

Just got the confirmation that I will have three mentors for my GSoC project. Isn't it fantastic? :D

So, Thomas Andersen from GNOME-Games, Guillaume Desmottes and Sjoerd Simons from Telepathy will co-mentor me. It will surely be an interesting summer :)

About the status of my project: during this week, I mainly worked on my wiki page. In the end of last week it's a small three-day holiday so I went on a break. Then I got engaged in some homework. So not really much work done, but this week will be better.

In two weeks, the official coding phase will start. So I will continue with the design, use cases, etc. Most will happen on the wiki.