py-shell invoking python not ipython
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
I've just upgraded from 6.0.1 to 6.0.2. I dropped the *.el files into
my load-path on top of the old files, removed the old *.elc, byte
compiled, exited & re-entered emacs. Confirmed I'm now running 6.0.2
from py-version.
If I visit a .py file and immediately C-c ! the resulting *Python*
buffer has this in it:
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'olors' is not defined
>>>
I'm a bit tired and haven't managed to fully track down what's going
on. I normally use ipython from python mode, and the ipython.el on my
box hasn't changed for a long time. My emacs setup is as it was. I have
ipython-command = "ipython"
py-python-command = "ipython"
py-python-
I don't set any of those vars myself, those are the values I see from
C-h v.
Despite this, it's clear that "python" is being called instead of
"ipython".
From iptyhon.el: (executable-find ipython-command) produces
"/usr/bin/ipython".
I'm happy to help debug, just let me know what's needed.
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
Changed in python-mode: | |
status: | Fix Released → New |
Changed in python-mode: | |
status: | Fix Committed → Triaged |
milestone: | 6.0.3 → 6.0.6 |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
Am 27.08.2011 01:49, schrieb Terry Jones:
> NameError: name 'olors' is not defined
Hi Terry,
think this is a well known bug of ipython.el, which doesn't bite AFAIK,
just that nasty warning.
see for example report at
http:// mail.scipy. org/pipermail/ ipython- user/2007- March/004180. html
Would flag this report "invalid" with resp. to python-mode.el.
However, think we should deliver ipython.el together with
python-mode.el, as it's entry point for beginners is lower than
python-mode.el's usage.
What about a feature-request at <email address hidden> resp. an
Blueprint for that?
Thanks,
Andreas