View source for Talk:PyPhonelog

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Talk:PyPhonelog.

Personal tools

Hi, sorry, i have problem with phonelog. When i start it in the terminal i get the error

Traceback (most recent call last):
 File "/usr/bin/phonelog", line 471, in <module>
   populateList(incomingList, "incoming", last_time)
 File "/usr/bin/phonelog", line 250, in populateList
   calls = getPhonekitCallsList(type)
 File "/usr/bin/phonelog", line 141, in getPhonekitCallsList
   calls = database.execute("SELECT %s FROM calls WHERE direction = ? AND activeTime IS NOT NULL ORDER BY startTime DESC" % (get_fields, ), (CALL_STATUS_INCOMING, )).fetchall()
sqlite3.OperationalError: no such table: calls

I dont know what to set, to get logging on in ophonekitd. I use a SHR-image from 9.12.08. Do i need to use the daemon? The daemon doesn't seem to run:

Traceback (most recent call last):
 File "/usr/bin/phonelog", line 468, in <module>
   contacts = contactsObject.RetrievePhonebook("contacts")
 File "/usr/lib/python2.5/site-packages/dbus/", line 68, in __call__
   return self._proxy_method(*args, **keywords)
 File "/usr/lib/python2.5/site-packages/dbus/", line 140, in __call__
 File "/usr/lib/python2.5/site-packages/dbus/", line 622, in call_blocking
   message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

What can i do? g0m3z

For the moment, including with SHR, we should install the daemon. try to reboot he phone if the daemon doesn't work at first try.

Also note that for the moment, there's a little bug that prevents populating the list. A workaround is, line 255 in phonelog : (take care of tabulating, it's python!)

   return False

--Zupert 11:16, 13 December 2008 (UTC)