Tomo Vuckovic wrote:
Traceback (most recent call last):
File
"/usr/lib/python2.3/site-packages/wx/lib/maskednumctrl.py", line
1028, in OnTextChange if not MaskedTextCtrl._OnTextChange(self,
event): File
"/usr/lib/python2.3/site-packages/wx/lib/maskededit.py", line
2637, in _OnTextChange self._CheckValid() # Recolor control as
appropriate File
"/usr/lib/python2.3/site-packages/wx/lib/maskededit.py", line 4868,
in _CheckValid self._applyFormatting() File
"/usr/lib/python2.3/site-packages/wx/lib/maskededit.py", line 4314,
in _applyFormatting text, signpos, right_signpos =
self._getSignedValue() File
"/usr/lib/python2.3/site-packages/wx/lib/maskededit.py", line
4484, in _getSignedValue abstext, signpos, right_signpos =
self._getAbsValue(text) File
"/usr/lib/python2.3/site-packages/wx/lib/maskededit.py", line 4448,
in _getAbsValue if text[signpos+1] in ('-','('): IndexError: string
index out of rangeProblem with empty string.
Attached file correct problem.Regards.
Tomo
Tomo,
Thanks for the patch; I have incorporated it into my next version to
Robin, but I'd like some description of how you generated the traceback,
so I can test a bit to make sure it doesn't introduce any other problems,
and also deduce if there are other places where I need to make a similar
adjustment. Could you do that for me please?
Thanks,
Will Sadkin
Parlance Corporation
www.nameconnector.com