sms exception

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <001a01c5e9af$59488280$6400a8c0@HOME>
If you select a message under sms and hit the delete button it causes an
exception.

Also the + sign next to the SMS root is not shown.

 

 

An unexpected exception has occurred.

Please see the help for details on what to do.

 

Traceback (most recent call last):

  File "C:\projects\bitpim\gui.py", line 1426, in OnEditDeleteEntry

    self.nb.GetPage(self.nb.GetSelection()).OnDelete(evt)

  File "C:\projects\bitpim\sms_tab.py", line 396, in OnDelete

    if self._sms.delete_selection(self._data):

  File "C:\projects\bitpim\sms_tab.py", line 332, in delete_selection

    sel_idx=self._item_list.GetSelection()

  File "c:\python23\lib\site-packages\wx-2.6-msw-unicode\wx\_controls.py",
line 5430, in GetSelection

    return _controls_.TreeCtrl_GetSelection(*args, **kwargs)

PyAssertionError: C++ assertion "wxAssertFailure" failed in
..\..\src\msw\treectrl.cpp(1460): this only works with single selection
controls

 

Variables by last 8 frames, innermost last

 

Frame run in C:\projects\bitpim\gui.py at line 482

           args =  (['bp.py'],)

              m =  <gui.MainApp; proxy of C++ wxPyApp instance at
_d80aae01_p_wxPyApp>

 

Frame MainLoop in
c:\python23\lib\site-packages\wx-2.6-msw-unicode\wx\_core.py at line 7493

           self =  <gui.MainApp; proxy of C++ wxPyApp instance at
_d80aae01_p_wxPyApp>

 

Frame MainLoop in
c:\python23\lib\site-packages\wx-2.6-msw-unicode\wx\_core.py at line 6926

           args =  (<gui.MainApp; proxy of C++ wxPyApp instance at
_d80aae01_p_wxPyApp>,)

         kwargs =  Keys []

                   {}

 

Frame MyWndProc in C:\projects\bitpim\gui.py at line 1022

         wparam =  146

         lparam =  9307118

           self =  <gui.MainWindow; proxy of C++ wxFrame instance at
_d8619300_p_wxFrame>

           hwnd =  7865340

            msg =  273

 

Frame OnEditDeleteEntry in C:\projects\bitpim\gui.py at line 1426

           self =  <gui.MainWindow; proxy of C++ wxFrame instance at
_d8619300_p_wxFrame>

            evt =  <wx._core.CommandEvent; proxy of C++ wxCommandEvent
instance at _84eb1200_p_wxCo

 

Frame OnDelete in C:\projects\bitpim\sms_tab.py at line 396

           self =  <sms_tab.SMSWidget; proxy of C++ wxPanel instance at
_4082cd02_p_wxPanel>

              _ =  <wx._core.CommandEvent; proxy of C++ wxCommandEvent
instance at _84eb1200_p_wxCo

 

Frame delete_selection in C:\projects\bitpim\sms_tab.py at line 332

           self =  <sms_tab.FolderPage; proxy of C++ wxPanel instance at
_a884cd02_p_wxPanel>

           data =  Keys ['1132035937.640011', '1132035937.830012']

                   {'1132035937.640011': <sms.SMSEntry object at
0x02D92EF0>, '1132035937.830012': 

 

Frame GetSelection in
c:\python23\lib\site-packages\wx-2.6-msw-unicode\wx\_controls.py at line
5430

           args =  (<wx._controls.TreeCtrl; proxy of C++ wxPyTreeCtrl
instance at _488ccd02_p_wxPyT

         kwargs =  Keys []

                   {}
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.