View Single Post
Posts: 20 | Thanked: 16 times | Joined on Jan 2010 @ Norway
#313
Hi,

Seems that nokia updated the librtcom-eventlogger.so library, as evident from:
Code:
# ldd /usr/lib/hildon-control-panel/libcallnotify.so|grep found
librtcom-eventlogger.so.0 => not found
I managed to get settings to work by creating a link to the new version, this a tempory hack, but a recompile of the library should sort that out.
Code:
ln -s /usr/lib/librtcom-eventlogger.so.1 s/usr/lib/librtcom-eventlogger.so.0
They also changed the database format and i had to change the getMissedCalls function:
Code:
    def getMissedCallsCount(self, isSms):
                self.dbg('getMissedCallsCount started. agrs: ' + str(isSms))
                conn = sqlite3.connect(self.path)
                cur = conn.cursor()
                if isSms:
                        #Nokia changed the event number from 7 to 11 and also combined the incomming and outgoing sms's
                        cur.execute("select count(id) from Events where event_type_id = 11 and outgoing = 0")
                else:
                        #Nokia changed the event from 3 to 2
                        cur.execute("select count(id) from Events where event_type_id = 2")
Seems to work well now.

Rene
 

The Following User Says Thank You to rcastberg For This Useful Post: