[shr-testing] phonelog wont run

arne anka openmoko at ginguppin.de
Wed May 20 10:27:13 CEST 2009

> Traceback (most recent call last):
>   File "/usr/bin/phonelog", line 752, in <module>
>     incoming.populateList()
>   File "/usr/bin/phonelog", line 223, in populateList
>     tmp_duration = int(call[3])
> ValueError: invalid literal for int() with base 10: '00:30'

apparently the sql query either returns a string or formats wrong.

you should check, where the query is constructed/used and open the sqlite  
db to try it out and find the right format, that returns an int (probably  
the seconds) instead of a time string.

More information about the community mailing list