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

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 1: ordinal not in range(128) #5054

Closed
nmweizi opened this issue Feb 7, 2014 · 2 comments
Milestone

Comments

@nmweizi
Copy link

nmweizi commented Feb 7, 2014

centos 5.6
python2.7
virtualenv

(python-env)[as@localhost ~]$ ipython notebook --ip 192.168.1.1 
2014-02-07 17:11:45.074 [NotebookApp] Using existing profile dir: u'/home/as/.config/ipython/profile_default'
Traceback (most recent call last):
  File "/web/python-env/bin/ipython", line 9, in <module>
    load_entry_point('ipython==1.1.0', 'console_scripts', 'ipython')()
  File "/web/python-env/lib/python2.7/site-packages/IPython/__init__.py", line 118, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "/web/python-env/lib/python2.7/site-packages/IPython/config/application.py", line 544, in launch_instance
    app.initialize(argv)
  File "<string>", line 2, in initialize
  File "/web/python-env/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/web/python-env/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 312, in initialize
    super(TerminalIPythonApp, self).initialize(argv)
  File "<string>", line 2, in initialize
  File "/web/python-env/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/web/python-env/lib/python2.7/site-packages/IPython/core/application.py", line 362, in initialize
    self.parse_command_line(argv)
  File "/web/python-env/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 307, in parse_command_line
    return super(TerminalIPythonApp, self).parse_command_line(argv)
  File "<string>", line 2, in parse_command_line
  File "/web/python-env/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/web/python-env/lib/python2.7/site-packages/IPython/config/application.py", line 474, in parse_command_line
    return self.initialize_subcommand(subc, subargv)
  File "<string>", line 2, in initialize_subcommand
  File "/web/python-env/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/web/python-env/lib/python2.7/site-packages/IPython/config/application.py", line 412, in initialize_subcommand
    self.subapp.initialize(argv)
  File "<string>", line 2, in initialize
  File "/web/python-env/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/web/python-env/lib/python2.7/site-packages/IPython/html/notebookapp.py", line 663, in initialize
    self.init_configurables()
  File "/web/python-env/lib/python2.7/site-packages/IPython/html/notebookapp.py", line 507, in init_configurables
    self.cluster_manager.update_profiles()
  File "/web/python-env/lib/python2.7/site-packages/IPython/html/services/clusters/clustermanager.py", line 78, in update_profiles
    for profile in list_profiles_in(path):
  File "/web/python-env/lib/python2.7/site-packages/IPython/core/profileapp.py", line 102, in list_profiles_in
    full_path = os.path.join(path, f)
  File "/web/python-env/lib/python2.7/posixpath.py", line 71, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 1: ordinal not in range(128)

If you suspect this is an IPython bug, please report it at:
    https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev@scipy.org

You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    c.Application.verbose_crash=True
@takluyver
Copy link
Member

Looks like this was fixed in #4264, but not released yet. @minrk , you said 'candidate for backport' on that one - shall we backport it for 1.2?

@minrk
Copy link
Member

minrk commented Feb 7, 2014

Definitely, I'm not sure why the backport script isn't finding it.

closed by #4264.

@minrk minrk closed this as completed Feb 7, 2014
@minrk minrk added this to the 2.0 milestone Feb 7, 2014
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

No branches or pull requests

3 participants