GNU bug report logs - #19904
24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work

Previous Next

Package: emacs;

Reported by: Aron Lagerberg <aronlagerberg <at> gmail.com>

Date: Thu, 19 Feb 2015 17:53:02 UTC

Severity: normal

Fixed in version 24.4

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19904 in the body.
You can then email your comments to 19904 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19904; Package emacs. (Thu, 19 Feb 2015 17:53:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aron Lagerberg <aronlagerberg <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 19 Feb 2015 17:53:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aron Lagerberg <aronlagerberg <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; IPython shell output under windows: no out-prompt appears,
 printing doesn't work
Date: Thu, 19 Feb 2015 18:32:57 +0100
[Message part 1 (text/plain, inline)]
Hi all!

I'm having trouble getting IPython to work with emacs 24.4 under windows
7 (on my linux laptop, it works out-of-the-box). When using ipython and
running
'run-python' I see the IPython interpreter loaded. I get no 'in' prompt,
but when writeing for instance '2+4' and hitting enter, I get 'Out [1]:
6'. When typing 'print("foo")', hitting enter produces nothing. But,
after running 'quit()' I see 'In [5]: foo'. There seems to be something
wrong in how emacs is handling the IPython output. How can I fix this?
Where can I start to look? Which file is responsible for the interaction
between the ipython output and emacs buffer?

I'm at a loss here and would apriceate any help. Thank you in advance! :)

Best regards,

Aron



In GNU Emacs 24.4.1 (i686-pc-mingw32)
 of 2014-10-24 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr'

Important settings:
  value of $LANG: SVE
  locale-coding-system: cp1252

Major mode: Emacs-Lisp

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  ido-everywhere: t
  cua-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19904; Package emacs. (Sat, 21 Feb 2015 17:13:01 GMT) Full text and rfc822 format available.

Message #8 received at 19904 <at> debbugs.gnu.org (full text, mbox):

From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
To: Aron Lagerberg <aronlagerberg <at> gmail.com>
Cc: 19904 <at> debbugs.gnu.org
Subject: Re: bug#19904: 24.4;
 IPython shell output under windows: no out-prompt appears, printing
 doesn't work
Date: Sat, 21 Feb 2015 14:12:13 -0300
Aron Lagerberg <aronlagerberg <at> gmail.com> writes:

> Hi all! 
>
> I'm having trouble getting IPython to work with emacs 24.4 under windows
> 7 (on my linux laptop, it works out-of-the-box). When using ipython and
> running
> 'run-python' I see the IPython interpreter loaded. I get no 'in' prompt,
> but when writeing for instance '2+4' and hitting enter, I get 'Out [1]:
> 6'. When typing 'print("foo")', hitting enter produces nothing. But,
> after running 'quit()' I see 'In [5]: foo'. There seems to be something
> wrong in how emacs is handling the IPython output. How can I fix this?
> Where can I start to look? Which file is responsible for the interaction
> between the ipython output and emacs buffer?
>
> I'm at a loss here and would apriceate any help. Thank you in advance! :)
>
> Best regards,
>
> Aron

Hi Aron,

Have you tried following this comment from python.el's header:

;; Running IPython on Windows needs more tweaking.  The way you should
;; set `python-shell-interpreter' and `python-shell-interpreter-args'
;; is as follows (of course you need to modify the paths according to
;; your system):

;; (setq python-shell-interpreter "C:\\Python27\\python.exe"
;;       python-shell-interpreter-args
;;       "-i C:\\Python27\\Scripts\\ipython-script.py")

If not, please give it a go and let me know if it worked.



Cheers,
Fabián.




Reply sent to fgallina <at> gnu.org (Fabián Ezequiel Gallina):
You have taken responsibility. (Sat, 21 Feb 2015 21:46:01 GMT) Full text and rfc822 format available.

Notification sent to Aron Lagerberg <aronlagerberg <at> gmail.com>:
bug acknowledged by developer. (Sat, 21 Feb 2015 21:46:02 GMT) Full text and rfc822 format available.

Message #13 received at 19904-done <at> debbugs.gnu.org (full text, mbox):

From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
To: 19904-done <at> debbugs.gnu.org
Subject: 24.4;
 IPython shell output under windows: no out-prompt appears, printing
 doesn't work
Date: Sat, 21 Feb 2015 18:45:53 -0300
User reported this did the trick.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 22 Mar 2015 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.