Exception in the Import Phoneboook Data window

Jerad Clark <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
If you clear an empty field in this window (Right Click-> Clear Field)
, you get this exception.

Let me know if more information is needed.

Thanks,
Jerad
--
All the evil in this world is a denial of what is true.
Exception2.txt (text/plain, 3.2 KB)
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "C:\projects\bitpim\phonebook.py", line 2061, in OnClearField
    assert resindex is not None
AssertionError

Variables by last 8 frames, innermost last

Frame __call__ in C:\projects\bitpim\gui.py at line 137
           self =  <gui.HelperReturnEvent; proxy of C++ wxPyEvent instance at _e0235a02_p_wxPyEvent

Frame __call__ in C:\projects\bitpim\gui.py at line 94
           self =  <gui.Callback instance at 0x02723D00>
           args =  (None, {'phonebook': {0: {'serials': [{'serial1': 15, 'sourcetype': 'lgpm325', '
              d =  Keys []
                   {}
         kwargs =  Keys []
                   {}

Frame OnDataGetPhoneResults in C:\projects\bitpim\gui.py at line 1105
           self =  <gui.MainWindow; proxy of C++ wxFrame instance at _984a9300_p_wxFrame>
          merge =  True
      exception =  None
        results =  Keys ['categories', 'groups', 'phonebook', 'ringtone-index', 'sync', 'uniqueserial', 'wallpaper-index']
                   {'phonebook': {0: {'serials': [{'serial1': 15, 'sourcetype': 'lgpm325', 'sourceu
              v =  'MERGE'

Frame importdata in C:\projects\bitpim\phonebook.py at line 1067
            dlg =  <phonebook.ImportDialog; proxy of C++ wxDialog instance at _f0f8ab01_p_wxDialog>
              d =  Keys []
                   {}
           self =  <phonebook.PhoneWidget; proxy of C++ wxPanel instance at _80405202_p_wxPanel>
          merge =  True
     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]
                   {0: {'serials': [{'serial1': 15, 'sourcetype': 'lgpm325', 'sourceuniqueid': '347
 categoriesinfo =  ['Family', 'Friends', 'Colleagues', 'Business', 'School']
         result =  None

Frame ShowModal in C:\Python23\Lib\site-packages\wx-2.6-msw-unicode\wx\_windows.py at line 685
           args =  (<phonebook.ImportDialog; proxy of C++ wxDialog instance at _f0f8ab01_p_wxDialog
         kwargs =  Keys []
                   {}

Frame OnRightGridClick in C:\projects\bitpim\phonebook.py at line 2018
          event =  <wx.grid.GridEvent; proxy of C++ wxGridEvent instance at _e4dc1200_p_wxGridEvent
      importkey =  2
    resultvalue =  None
           self =  <phonebook.ImportDialog; proxy of C++ wxDialog instance at _f0f8ab01_p_wxDialog>
            pos =  wx.Point(539, 69)
    existingkey =  None
     columnname =  'Fax'
      resultkey =  2
            col =  6
              _ =  ''
            row =  2

Frame PopupMenu in C:\Python23\Lib\site-packages\wx-2.6-msw-unicode\wx\_core.py at line 9562
           args =  (<wx.grid.Grid; proxy of C++ wxGrid instance at _28635d02_p_wxGrid>, <wx._core.M
         kwargs =  Keys []
                   {}

Frame OnClearField in C:\projects\bitpim\phonebook.py at line 2061
         reskey =  'numbers'
           self =  <phonebook.ImportDialog; proxy of C++ wxDialog instance at _f0f8ab01_p_wxDialog>
       resindex =  None
     columnname =  'Fax'
            col =  6
              _ =  <wx._core.CommandEvent; proxy of C++ wxCommandEvent instance at _84d21200_p_wxCo
            row =  ('', 2, None, 2)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.