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

properly handle unicode characters in home dirs #131

Merged
merged 2 commits into from Sep 19, 2019

Conversation

vit-tucek
Copy link
Contributor

Sometimes users have home directories that contain unicode characters outside of ASCII (such as č). This leads to exception thrown in migrate.py:migrate namely in the line:
dst = dst_t.format(**env)
because jupyter_config_dir and jupyter_data_dir do not return unicode.

@embray
Copy link

embray commented May 21, 2018

You don't need to open new PRs. You can update the existing ones by pushing new versions of a change to the existing branch using git push -f at the command line.

Nevertheless, I don't think this is the correct fix. Can you post the full traceback and exception you get when trying to run the migrate script?

@embray
Copy link

embray commented Jul 10, 2018

This could probably be updated to work the same as jupyter/notebook#3664.

@vit-tucek
Copy link
Contributor Author

Done. Now if only the devs would notice.

mistaken copy/paste from notebook
@minrk
Copy link
Member

minrk commented Sep 19, 2019

Sorry for the delay on this one. Merged with a small fix.

@minrk minrk merged commit 340b63a into jupyter:master Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants