Ed Leafe wrote: > On Oct 21, 2010, at 2:55 PM, Jim Byrnes wrote: > >> 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): > > [snip] > >> 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. > > > I haven't been able to reproduce this problem, so let's just chalk it > up to a combination of the phase of the moon, barometric pressure and > the presence of ghosts.
It is after all almost Halloween. > But if you find a way to reproduce it, send me the .cdxml file with > instructions, and I'll see if I can find what was causing the dead > object error. > In the next couple of days I will have a chance to replace the remaining regular textboxes with the dMaskedTextBoxes. I will see if I can trigger the error and let you know. 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]
