Ed

I just upgraded to:  Platform: GTK
                      Python Version: 2.6.5 on linux2
                      Dabo Version: Version 0.9.3; Revision ~6108
                      UI Version: 2.8.11.0 on wxGTK (gtk2)

and the dMaskedTextBox seems to be working in the CD. Thanks for the 
quick update.

I did encounter a bit of strange behavior. I opened a form that used the 
regular textboxes and replaced them with the dMaskedTextBoxes.  I ran 
the form from the CD and everything worked as it should. Meaning the 
masks were respected and the ones that should show '-'s did so, but when 
I closed the form I got this error message:

        Traceback (most recent call last):
   File 
"/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 14636, in <lambda>
     lambda event: event.callable(*event.args, **event.kw) )
   File 
"/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/masked/textctrl.py",
 
line 135, in _SetInsertionPoint
     self.SetInsertionPoint(pos)
   File 
"/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 14586, in __getattr__
     raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the dMaskedTextBox object 
has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
   File 
"/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 14636, in <lambda>
     lambda event: event.callable(*event.args, **event.kw) )
   File 
"/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/masked/textctrl.py",
 
line 120, in _SetSelection
     return self.SetSelection( sel_start, sel_to )
   File 
"/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 14586, in __getattr__
     raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the dMaskedTextBox object 
has been deleted, attribute access no longer allowed.

I saved the form and closed the CD and ran the app from the terminal 
outside the CD but there were no dMasdedTextBoxes.  Checking the time 
stamp on the cdxml file showed it had not been updated.  Thinking I had 
pointed the CD at the wrong version of the app I repeated the process 
with the same result. The 3d time I saved my changes before running it 
from the CD and this time it saved properly and the dMaskedTextBoxes 
worked fine when I ran it outside the CD. No errors showed in the 
terminal at anytime.

Thanks again for putting the dMasedTextBox in the CD.

Regards,  Jim




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to