From: Phillip J. <pjo...@gm...> - 2008-08-22 13:58:23
|
BitPim 1.0.6 - official (same bug noted in 1.0.5) LG-PM225 Only the first 4 Groups/Categories are correctly associated with contacts after retrieving information from the phone. A contact that is associated with the 5th group (or higher) in the phone is displayed without any Group/Category in BitPim. (First 4 refers to the order in which groups are listed in the phone, BitPim later arranges the group names in alphabetical order) All of the group/category names are correctly downloaded from the phone. If I edit a contact using BitPim, all of the groups that are defined in the phone appear in the list of categories in BitPim. I haven't worked with python before, but I poked around the code a bit to see if I could find something. In "phonebook.py" there's a section dealing with categories: 'Category', ("categories", 0, None, "category", False), 'Category2', ("categories", 1, None, "category", False), 'Category3', ("categories", 2, None, "category", False), 'Category4', ("categories", 3, None, "category", False), 'Category5', ("categories", 4, None, "category", False), 'Categories', ("categories", None, None, formatcategories, True), As a naive quick attempt, I tried modifying this code to the following: 'Category', ("categories", 0, None, "category", False), 'Category2', ("categories", 1, None, "category", False), 'Category3', ("categories", 2, None, "category", False), 'Category4', ("categories", 3, None, "category", False), 'Category5', ("categories", 4, None, "category", False), 'Category6', ("categories", 5, None, "category", False), 'Category7', ("categories", 6, None, "category", False), 'Categories', ("categories", None, None, formatcategories, True), since I have 6 categories defined on my phone. Alas, my lofty dreams of submitting a bug-fix at the same time were dashed :-( Any ideas? or pointers where else to poke around in the code? -Phillip |