Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipython oops in cygwin #77

Closed
ipython opened this issue May 10, 2010 · 3 comments
Closed

ipython oops in cygwin #77

ipython opened this issue May 10, 2010 · 3 comments
Milestone

Comments

@ipython
Copy link
Collaborator

ipython commented May 10, 2010

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.

@ipython
Copy link
Collaborator Author

ipython commented May 10, 2010

[ 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...

@minrk
Copy link
Member

minrk commented Mar 23, 2011

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.

@minrk
Copy link
Member

minrk commented Mar 23, 2011

closing as duplicate of (more descriptive) #137

@minrk minrk closed this as completed Mar 23, 2011
minrk added a commit to minrk/ipython that referenced this issue Jul 1, 2013
Jinja Templates

nbconvert basically rewritten entirely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant