Hi,

The Phonelog application crashes since I upgraded yesterday. I think it
is related to the change in the opim/pim.db. The error message I get is
this:

r...@om-gta02 /etc/freesmartphone/opim $ python /usr/bin/phonelog
Phonelog
Initialized global vars
Initializing gtk interface
Showing main window
Upright
Started caching contacts
Failed to initialize contacts
Started populating list
Started getting missed
Finished getting missed
Traceback (most recent call last):
  File "/usr/bin/phonelog", line 779, in <module>
      populateListByPageNum(incoming, outgoing, missed, general,
      startup_page)
        File "/usr/bin/phonelog", line 676, in populateListByPageNum
            missed.populateList()
              File "/usr/bin/phonelog", line 236, in populateList
                  tmp_duration = ceil(call['Duration'])
                  TypeError: a float is required

This fix worked for me: change line 236 in /usr/bin/phonelog to:

tmp_duration = ceil(float(call['Duration']))

Hope this helps someone. Should I open a bug (where?) and/or report to
shr-devel?

Stuart
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to