gnumed-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] <bug>: Just etering some data in the notes. Simila


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: Just etering some data in the notes. Simila
Date: Tue, 13 Jul 2010 13:07:35 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Jul 13, 2010 at 06:04:11AM -0400, John Jaarsveld wrote:

> user comment  : Just etering some data in the notes. Similar thing happened 
> before, maybe the field cannot containt enough text?

Not likely.

It is not so much that I don't know *what* the error is but
rather *why* it happens.

What:


> 2010-07-13 08:44:35  DEBUG     gm.gui 
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #101): unhandled exception caught:
> Traceback (most recent call last):
>   File 
> "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/expando.py", 
> line 111, in OnTextChanged
>     self._adjustCtrl()
>   File 
> "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/expando.py", 
> line 118, in _adjustCtrl
>     numLines = self.GetNumberOfLines()
>   File 
> "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/expando.py", 
> line 177, in GetNumberOfLines
>     count += self._wrapLine(line, dc, width)
>   File 
> "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/expando.py", 
> line 203, in _wrapLine
>     start = pte[idx]
> IndexError: list index out of range

It tries to access field content beyond the end of the
field. But *why* does it try to do that ?  The person to
best understand this is the person who wrote the code that
is the field. That's why I wrote to the wxPython mailing
list because the author of the code reads that list :-)

John, do you happen to use text expansion macros when it occurs ?

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]