GithubHelp home page GithubHelp logo

Comments (6)

wmvanvliet avatar wmvanvliet commented on May 27, 2024 2

See #145

from qtconsole.

jrovegno avatar jrovegno commented on May 27, 2024 1

I open (File > New Tab with Same Kernel) after the problem occurred.
Then I close the hanged tab and I work in the new tab.

from qtconsole.

takluyver avatar takluyver commented on May 27, 2024

Is there any message in the terminal where you started the qtconsole? Try running with --debug.

There's a problem that comes up occasionally where you get an error message in the terminal saying something like 'cursor position out of bounds'. I think some progress was made with that, but it seems there are still some bugs lurking.

from qtconsole.

taerath avatar taerath commented on May 27, 2024

On 01/30/2016 10:30 AM, Thomas Kluyver wrote:

Is there any message in the terminal where you started the qtconsole?
Try running with |--debug|.

There's a problem that comes up occasionally where you get an error
message in the terminal saying something like 'cursor position out of
bounds'. I think some progress was made with that, but it seems there
are still some bugs lurking.

Yeah, I get lot's of exactly these messages on the terminal:

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

Best,
-Nikolaus

from qtconsole.

thertz avatar thertz commented on May 27, 2024

Hi,

I am also getting similar messages to the ones reported above. I have found that on mac running El-Capitan (but also true on previous versions) if I run jupyter-qtconsole 4.1.1 (installed by anaconda) from the shell, certain keystrokes (which I have not tracked down) cause the qtconsole to hang and I get messages of the following format to appear in the shell:

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

The only solution I have found is to quite the ipython shell and start again. It seems to me that this is happening more than it did in previous versions of the qtconsole.

I have googled and found no information regarding this bug, or how to resolve it.

Best,
--Tomer

from qtconsole.

dashesy avatar dashesy commented on May 27, 2024

This issue here can be reproduced with latest Jupyter. Use QTextCursorError.py from that issue along with the png file and rename the png to BurrIndx.png

Jupyter QtConsole 4.3.0.dev
IPython 4.1.1 
Python 2.7.10 

P.S. I get tons of QTextCursor::setPosition: Position '29659' out of range errors on the terminal (not QtConsole) now but have not seen the input hang, so it is not anything more than small annoyance. If I can reproduce hanging that would be great.

from qtconsole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.