[IPython-dev] [Fwd: IPython 0.7 - possible bug with "%edit -p"]

Fernando Perez Fernando.Perez at colorado.edu
Mon Jan 16 12:29:09 CST 2006


Bug report from a user - I'm forwarding it just so it's recorded here and we 
don't miss it.  I told him not to bother with filing on the tracker, as this 
should get taken are of soon by me or Ville, before the 0.7.1 bugfix release.

Cheers,

f

-------- Original Message --------
Subject: IPython 0.7 - possible bug with "%edit -p"
Date: Mon, 16 Jan 2006 11:05:51 +0000 (GMT)
From: IAN OZSVALD <i.m.ozsvald at btinternet.com>
To: Fernando.Perez at colorado.edu

Hi Fernando.  I think I have a bug, I wanted to check
that I'm not being foolish before I file a bug report.
  I've upgraded from 0.6.15 to 0.7, and I've lost the
functionality for editing the previous temporary file.


Normally I'd start to prototype new code using:
> edit
> # do some work in Textpad on Windows
> edit -p # to continue working on that previous
temporary file
but now if I use -p it just starts a new temporary
file, rather than using the code I'd generated
previously.  If I edit a file that I have saved, I can
use -p to call up that file, so '-p' is still an
option in your code, it just works differently I
think.

I've upgraded to 0.7 on two machines and the behaviour
is the same on both machines, previously it worked on
both machines.

I see a possibly-relevant Changelog entry:
http://ipython.scipy.org/ChangeLog
2006-01-02  Fernando Perez
<Fernando.Perez at colorado.edu>
	* IPython/Magic.py (magic_edit): added support to
edit in-memory
	macros (automatically creates the necessary temp
files).  %edit
	also doesn't return the file contents anymore, it's
just noise.

Is it something to do with %edit not returning file
contents for temp files?
	
Whilst going over you site looking for tips on this
problem, I noticed two broken links:
via http://ipython.scipy.org/
# If you want to browse the whole repository with a
clean inteface, use this Trac link.
# The new IPython Trac system is here, with a Wiki for
development, SVN access and more.
http://projects.scipy.org/ipython/ipython/browser/ipython/trunk/
http://projects.scipy.org/ipython/ipython
both give 404 Not Found reports.

Assuming both are bugs, I'll figure out how to file a
bug report on each if you'd like?

I'd like to take a moment to say Thanks to you - I've
been using IPython for over a year now, it is a
fantastic system!  I do a lot of research/development
code using Python in a commercial physics research
lab, your software certainly makes my life a lot more
comfortable.

Thanks Fernando,
Ian.

Ian Ozsvald
i.m.ozsvald at btinternet.com

Personal - http://ianozsvald.com
Founder  - http://showmedo.com
Owner    - http://morconsulting.com




More information about the IPython-dev mailing list