ipython/ipython — Issue #1392: QTextCursor::setPosition: Position '16786' out of range
Author: aweinstein
Created: 2012-02-09 04:03:28+00:00
State: open

Sometimes (rather infrequently) when using the IPython QtConsole I get the following error message (in the terminal where I launched the QtConsole):

QTextCursor::setPosition: Position '16786' out of range

And an incorrect behavior with the prompt in the QtConsole itself.

I am running Python 2.7.2, IPython 0.12 in an Ubuntu 11.10 machine.

This is a screenshot right after I got the error:

![Screenshot](https://lh3.googleusercontent.com/-mM-KZtBlX5I/TzNDQWZI_MI/AAAAAAAABi8/fSMrijmXfdk/s604/ipython_qtconsole.png)