[IPython-dev] Re: Re: Windows fixes, new prompts in CVS, testers?

Thorsten Kampe thorsten at thorstenkampe.de
Thu Jun 10 12:54:59 EDT 2004

* Fernando Perez (2004-06-10 17:54 +0100)
> Thorsten Kampe wrote:
>> * Fernando Perez (2004-06-08 08:42 +0100)
>> The coloured out prompt now works.
> Thanks for the confirmation.
> WINDOWS USERS: please note that I'm thinking about making Gary's readline 
> (which in turn requires ctypes) REQUIREMENTS for ipython.  It makes ipyhton 
> under windows provide most of the linux functionality, and it finally seems to 
> work pretty well.
> If anyone objects, now is the time to say so.

Gary Bishop's readline (which seems to me the best of the usable
Windows readline clones) unfortunately makes typing for me on my
Windows XP machine painfully slow (about one character per second)[1].

With his readline I can neither use IPython nor plain vanilla Python.
>> But there is now a problem only with the Windows version (not the
>> Cygwin):
>> WARNING: Couldn't start log: [Errno 17] File exists
>> Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
>> This corresponds to these settings in ipythonrc:
>> log 0
>> logfile ~/.ipython/ipython.log backup
> Bummer.  I'll try to borrow again a windows computer to see if I can test 
> this.  I suspect the problem is the expansion of '~' under Windows.  Please 
> try to see if you can set this path explicitly, since I suspect that '~' 
> doesn't expand to anything sensible under Windows.

Sorry, I was too laconic. This only happens when
IPYTHONDIR/ipython.log and IPYTHONDIR/ipython.log~ exist( I'm using
the same directory for the Windows and Cygwin IPython). When I delete
the files Windows IPython shows no errors and creates those files.
When both exist IPython errors on the next IPython startup.


[1] No on-access virus scanner running

More information about the IPython-dev mailing list