Comments (6)
See #145
from qtconsole.
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.
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.
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.
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.
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)
- AttributeError: 'QtInProcessChannel' object has no attribute 'closed' HOT 2
- How to access objects in my application follow the example qtconsole/examples/inprocess_qtconsole.py? HOT 2
- Qt bindings version outdated in documentation HOT 2
- Matplotlib Qt5Agg backend is given anonymous icon when used with qtconsole on macOS HOT 3
- Weird pytest error: 'CompletionHtml' object has no attribute '_text_edit' HOT 4
- Qtconsole quits when trying to drag in PyQt6 HOT 12
- Segmentation Fault on `jupyter qtconsole` HOT 10
- Stop using `IPythonLexer` from ` IPython.lib.lexers` HOT 3
- TypeError due to wrong spelling in keyword HOT 1
- compute_item_matrix() got an unexpected keyword argument 'displaywidth' HOT 1
- New tab causes crash for --existing kernels
- intersphinx warning HOT 1
- possibly removing `qtconsole` from jupyter metapackage HOT 2
- Horizontal scrolling not updated until wndow resize event HOT 3
- misspelled keyword arg in qtconsole.util.compute_item_matrix HOT 2
- Segfault on import running against Qt 6.7 on 64 bit Windows 11 w/ python 3.12 HOT 3
- Embed interactive matplotlib widgets? HOT 4
- QtConsole Freeze and Error After calling input() "QTextCursor::setPosition: out of range"
- Profiling once active/enabled cannot be deactivated/disabled HOT 1
- Add pre-commit/code linting/code formatting checks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtconsole.