[Shr-Devel] SHR-U oddity: "failed to add contact" but I didn't try!
Klaus 'mrmoku' Kurzmann
mok at mnet-online.de
Tue Jun 22 19:02:32 CEST 2010
Am Dienstag, 22. Juni 2010, 17:04:50 schrieb Helge Hafting:
> On 14. juni 2010 21:01, David Kozub wrote:
> > On Mon, 14 Jun 2010, Tom Hacohen wrote:
> >> Date: Mon, 14 Jun 2010 18:28:20 +0300
> >> From: Tom Hacohen <tom at stosb.com>
> >> To: Helge Hafting <helge.hafting at hist.no>
> >> Cc: SHR-devel <shr-devel at lists.shr-project.org>
> >> Subject: Re: [Shr-Devel] SHR-U oddity: "failed to add contact" but I
> >> didn't
> >> try!
> >> What version? I guess it has something to do with the new error
> >> handling patches.
> It has been like this for some time.
> I upgraded the day before posting this - and the problem was there still.
> > Sounds similar to this:
> > http://lists.shr-project.org/pipermail/shr-user/2010-June/005432.html
> > The issue was not resolved. :-/ The meat of the issue is here:
> > http://lists.shr-project.org/pipermail/shr-user/2010-June/005442.html
> > ("CRITICAL: error_message_ok_cb" was a stray test-debug-msg, meanwhile
> > removed - so ignore that particular msg.)
> > @Helge Hafting: Could you please get some logs from the event? Look into
> > /var/log/phoneuid.log.
> Ok. I called my office phone (from the contact list). Picked up the
> office phone and hung up immediately.
> On the screen:
> Failed adding contact.
This message is very much confusing - it should better read 'Failed adding a
contact to the list' :-) Why this happens during an outgoing call? No idea :/
> (0) Traceback (most recent call last) File
> line 649, in _message_cb (candidate_method,
> parent_method)= _method_lookup(self,
> method_name, interface_name) File
> line 244, in _method_lookup raise
> UnknownMethodException('%s is not a valid
> method of interface %s'% (method_name,
> dbus_interface)) UnknownMethodException:
> Unknown method: GetContent is not a valid
> method of interface
> The error screen itself has a bad user interface - I need to sidescroll
> as well as scroll down in order to read it. Having to sidescroll text is
> In the logfile:
> 2010.06.22 16:51:22.347943 [libphone-ui] MESSAGE: 1. +4792438656
> 2010.06.22 16:51:47.986982 [libphone-ui] MESSAGE: Inititating a
> call to +4773559544
> 2010.06.22 16:51:55.349941 [libphone-ui-shr] WARNING: Failed adding a
> contact: (0) Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/dbus/service.py", line 649, in
> (candidate_method, parent_method) = _method_lookup(self,
> method_name, interface_name)
> File "/usr/lib/python2.6/site-packages/dbus/service.py", line 244, in
> raise UnknownMethodException('%s is not a valid method of interface
> %s' % (method_name, dbus_interface))
> UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod:
> Unknown method: GetContent is not a valid method of interface
> [ Line breaking added by thunderbird. :-( ]
> As we see, there was a call. And for some odd reason, the code tried to
> add a contact and theb failed to do so. Or maybe something else went
> wrong, and it is merely the text in the WARNING that is incorrect?
This message comes from org.freesmartphone.PIM.Contact.GetContent failing...
Question is why does it fail?
> Helge Hafting
Klaus 'mrmoku' Kurzmann
More information about the Shr-devel