Stephen Wood
2004-08-23 04:50:42 UTC
I am getting the following assertiaon error on trying to read a
phonebook from a Sanyo phone as a MERGE.
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "/home/saw/BITPIM/bitpim/phonebook.py", line 634, in OnIdle
self.populatefs(self.getdata({}))
File "/home/saw/BITPIM/bitpim/phonebook.py", line 782, in getdata
self.EnsureBitPimSerials()
File "/home/saw/BITPIM/bitpim/phonebook.py", line 648, in
EnsureBitPimSerials
assert s["id"] not in d
AssertionError
This occurs after clicking the OK on the merge popup and seems to occur
if I have entries in the BitPim phonebook that were added by BitPim. I
don't get the error if I read into an empty phonebook. I don't get it
if I add one entry with BitPim, and then merge into the phonebook.
However, if I have a BitPim phonebook containing all the entries that
the phone has plus one entry added by BitPim, then I get the error.
The entry I added via bitpim does have an id in serials.
I am too tired to look further right now.
Stephen
phonebook from a Sanyo phone as a MERGE.
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "/home/saw/BITPIM/bitpim/phonebook.py", line 634, in OnIdle
self.populatefs(self.getdata({}))
File "/home/saw/BITPIM/bitpim/phonebook.py", line 782, in getdata
self.EnsureBitPimSerials()
File "/home/saw/BITPIM/bitpim/phonebook.py", line 648, in
EnsureBitPimSerials
assert s["id"] not in d
AssertionError
This occurs after clicking the OK on the merge popup and seems to occur
if I have entries in the BitPim phonebook that were added by BitPim. I
don't get the error if I read into an empty phonebook. I don't get it
if I add one entry with BitPim, and then merge into the phonebook.
However, if I have a BitPim phonebook containing all the entries that
the phone has plus one entry added by BitPim, then I get the error.
The entry I added via bitpim does have an id in serials.
I am too tired to look further right now.
Stephen