Error submitting script if I close python window first
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
I'm using the latest trunk version of python-mode (March 1, 2012) under OS X, with ipython as my shell. If I open a python script and press C-c C-c, a new ipython buffer is created and the script runs fine, though the ipython buffer replaces the original script buffer, rather than the window splitting into two, which means I now need to manually switch buffers to get back to the script file. I think this counts as inconvenient behavior, if not an actual bug...
The more serious problem is as follows. After running the program as above,
1) Ask Emacs to kill the *IPython* buffer and agree to kill the running python process.
2) Return to the original script file buffer and press C-c C-c again
A new ipython buffer is created OK, but the script file doesn't run. Instead, here's what I see:
# executing /var/folders/
Enthought Python Distribution -- www.enthought.com
Python 2.7.2 |EPD 7.2-2 (64-bit)| (default, Sep 7 2011, 16:31:15)
Type "copyright", "credits" or "license" for more information.
IPython 0.12 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: -------
IOError Traceback (most recent call last)
/Users/
----> 1 execfile(
IOError: [Errno 2] No such file or directory: '/var/folders/
In [2]:
Changed in python-mode: | |
status: | New → Triaged |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
Am 01.03.2012 23:33, schrieb Richard Stanton:
> Public bug reported:
>
> I'm using the latest trunk version of python-mode (March 1, 2012) under
> OS X, with ipython as my shell. If I open a python script and press C-c
> C-c, a new ipython buffer is created and the script runs fine, though
> the ipython buffer replaces the original script buffer, rather than the
> window splitting into two, which means I now need to manually switch
> buffers to get back to the script file. I think this counts as
> inconvenient behavior, if not an actual bug...
>
it is.
Made
https:/ /bugs.launchpad .net/python- mode/+bug/ 944681
for this.
thanks