1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BitPim crash when saving data

Discussion in 'LG Electronics' started by stercir, Jan 22, 2012.

  1. stercir

    stercir New Member

    Joined:
    Jan 22, 2012
    Messages:
    1
    Likes Received:
    0
    Location:
    Winston-Salem, NC, USA
    BitPim 1.0.7 correctly reads data from my LGVX5500. It displays the 'Import Phonebook data screen' The data is correctly read.
    When I click on "OK" to save the data, BitPim crashes, giving this exception report:

    >>>------------------------------------------> Start of exception report. More information at the end of it.
    BitPim version: 1.0.7-Debian
    An unexpected exception has occurred.
    Please see the help for details on what to do.

    Traceback (most recent call last):
    File "/usr/share/bitpim/code/gui.py", line 1784, in OnCallback
    event()
    File "/usr/share/bitpim/code/gui.py", line 183, in __call__
    return apply(self.cb, self.args, self.kwargs)
    File "/usr/share/bitpim/code/gui.py", line 140, in __call__
    apply(self.method, self.args+args, d)
    File "/usr/share/bitpim/code/gui.py", line 1383, in OnDataGetPhoneResults
    self.GetActivePhonebookWidget().importdata(results['phonebook'], results.get('categories', []), merge, results.get('group_wallpapers', []))
    File "/usr/share/bitpim/code/phonebook.py", line 1310, in importdata
    self.populate(d, False)
    File "/usr/share/bitpim/code/phonebook.py", line 1248, in populate
    pb_groupwps.append(str(cat['category'])+":0") #the wallpaper is unknown as this point
    UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-16: ordinal not in range(128)

    Variables by last 8 frames, innermost last

    Frame OnCallback in /usr/share/bitpim/code/gui.py at line 1784
    self = <gui.MainWindow; proxy of <Swig Object of type 'wxFrame *' at 0x31b35c0> >
    event = <gui.HelperReturnEvent; proxy of <Swig Object of type 'wxPyEvent *' at 0x7f17b27

    Frame __call__ in /usr/share/bitpim/code/gui.py at line 183
    self = <gui.HelperReturnEvent; proxy of <Swig Object of type 'wxPyEvent *' at 0x7f17b27

    Frame __call__ in /usr/share/bitpim/code/gui.py at line 140
    self = <gui.Callback instance at 0x68d1a28>
    args = (None, {'phonebook': {0: {'serials': [{'serial2': 1, 'serial1': 1, 'sourcetype':
    d = Keys []
    {}
    kwargs = Keys []
    {}

    Frame OnDataGetPhoneResults in /usr/share/bitpim/code/gui.py at line 1454
    self = <gui.MainWindow; proxy of <Swig Object of type 'wxFrame *' at 0x31b35c0> >
    merge = True
    exception = None
    results = Keys ['calendar', 'categories', 'groups', 'memo', 'phonebook', 'ringtone', 'ringtone-index', 'sync', 'uniqueserial', 'wallpaper-index', 'wallpapers']
    {'phonebook': {0: {'serials': [{'serial2': 1, 'serial1': 1, 'sourcetype': 'lgvx5
    v = 'MERGE'

    Frame importdata in /usr/share/bitpim/code/phonebook.py at line 1310
    importdata = Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201]
    {0: {'serials': [{'serial2': 1, 'serial1': 1, 'sourcetype': 'lgvx5500', 'sourceu
    dlg = <phonebook.ImportDialog; proxy of <Swig Object of type 'wxDialog *' at 0x6ba0200
    d = Keys ['categories', 'group_wallpapers', 'phonebook']
    {'group_wallpapers': [], 'phonebook': {0: {'serials': [{'serial2': 1, 'serial1':
    self = <phonebook.PhoneWidget; proxy of <Swig Object of type 'wxPanel *' at 0x3dca060>
    groupwpsinfo = []
    merge = True
    result = Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201]
    {0: {'serials': [{'serial2': 1, 'serial1': 1, 'sourcetype': 'lgvx5500', 'sourceu
    categoriesinfo = [u'\u0c00\u0100\u5400\u6500\u6400\u6400\u7900\u2700\u7300\u2000\u4600\u7200\u690
    retcode = 5100

    Frame populate in /usr/share/bitpim/code/phonebook.py at line 1248
    savetodb = False
    i = 0
    self = <phonebook.PhoneWidget; proxy of <Swig Object of type 'wxPanel *' at 0x3dca060>
    cat = Keys ['category']
    {'category': u'\u0c00\u0100\u5400\u6500\u6400\u6400\u7900\u2700\u7300\u2000\u460
    pb = Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201]
    {0: {'serials': [{'serial2': 1, 'serial1': 1, 'sourcetype': 'lgvx5500', 'sourceu
    cats = [u'\u0c00\u0100\u5400\u6500\u6400\u6400\u7900\u2700\u7300\u2000\u4600\u7200\u690
    dict = Keys ['categories', 'group_wallpapers', 'phonebook']
    {'group_wallpapers': [], 'phonebook': {0: {'serials': [{'serial2': 1, 'serial1':
    pb_groupwps = []

    >>>----------------------------------------------------------------------> End of exception report.


    BitPim has written the SQLite database, It may well be partially written, but I see the information from the phone in the GUI.

    Any help is most appreciated.
     

Share This Page