Original Launchpad bug 372564: https://bugs.launchpad.net/ipython/+bug/372564
Reported by: kiyolee (kiyolee).
Get the latest development source of today with bzr.
In cygwin 1.7 (Windows Vista SP1 Business), sys.getfilesystemencoding() returns None and causes problem at line 993 of genutils.py: ipdir.decode(sys.getfilesystemencoding()).
Can't tell if this is actually a bug of cygwin or python.
However, it seems the code in genutils.py may probably be better not to assume sys.getfilesystemencoding() always returns sensible value.
[ LP comment 1 by: Fernando Perez, on 2010-04-25 03:10:49.493993+00:00 ]
More info from windows experts would really help us with this one, I'm not quite sure how to proceed...
From the Python docs for sys.getdefaultencoding:
On Unix, the encoding is the user’s preference according to the result of nl_langinfo(CODESET), or None if the nl_langinfo(CODESET) failed.
The fix should be easy, as ack reveals the calls only in util.path.py.
closing as duplicate of (more descriptive) #137