Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing newline when a magic is called from the qtconsole menu #2151

Closed
pierre-haessig opened this issue Jul 17, 2012 · 5 comments
Closed

missing newline when a magic is called from the qtconsole menu #2151

pierre-haessig opened this issue Jul 17, 2012 · 5 comments

Comments

@pierre-haessig
Copy link
Contributor

A tiny display glitch when calling the a magic from the qtconsole magic menu (which is a great addition by the way).

How to reproduce this display issue :

  1. launch a qtconsole
  2. type some commands, assign some variables, like a=1...
  3. click the %who magic from the bottom part of the magic menu (or similarly %history, or %who_ls)

This ends up with the output from %who being directly written to the right of the magic without a newline being inserted.

After playing a bit with this bug, I'm getting confused because I cannot reproduce it 100 % of the time. Sometimes the display is fine while sometimes the newline is missing : weird ! Also, it seems that when the %who magic is called from the "Namespace magics" submenu (instead of the root of the magic menu) the display is fine !!

@Carreau
Copy link
Member

Carreau commented Jul 17, 2012

Dear Pierre,
I suppose you observed the bug in debian ?
Was it from master or 0.13 ?
If it was from 0.13 can you try from master, especially after the merge of #2101 ?

Thanks.

@pierre-haessig
Copy link
Contributor Author

Indeed I'm using IPython 0.13 from Debian testing.

Now that you mentioned pull request, I feel this bug may another avatar of issue #2082.

I could try master if I knew how to install it quickly and safely (without destroying my system-wide Python installation). I'll take a look at http://ipython.org/ipython-doc/dev/development/testing.html.

@Carreau
Copy link
Member

Carreau commented Jul 17, 2012

just clone the source and do

python ipython.py qtconsole

from the root of the source tree.

#2101 was ment to fix #2082.

@pierre-haessig
Copy link
Contributor Author

Yep, thanks to the dev documentation, I was able to do it by myself ! but thanks for the help anyway. The abilty to run the IPython program directly from the source tree is great for quick testing.

And by the way, I think #2101 indeed fixes this issue.
(would be good if a 0.13.1 release could make its way to Debian testing before the stable release)

@Carreau
Copy link
Member

Carreau commented Jul 17, 2012

Working on it, we'll just finish SciPy2012 first.

Take care and have fun :-)
see you soon.
--
Matt

@minrk minrk added this to the no action milestone Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants