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

syntax highlighting in chrome on OSX 10.8.3 #3292

Closed
kjemmett opened this issue May 8, 2013 · 2 comments
Closed

syntax highlighting in chrome on OSX 10.8.3 #3292

kjemmett opened this issue May 8, 2013 · 2 comments
Milestone

Comments

@kjemmett
Copy link

kjemmett commented May 8, 2013

Hi all,

Syntax highlighting is not working for code cells in Google Chrome. Just the code cells, output cells and line numbers are fine. No problems in Safari and Firefox. This is on a fresh copy of the repo, installed with:

git clone https://github.com/ipython/ipython
cd ipython/ && python setup.py submodule && python setup.py install

OS: OSX 10.8.3
Google Chrome: Version 26.0.1410.65
Python: 2.7.2

This was working fine yesterday, a git pull broke loading the submodules, which I fixed, leaving only this syntax highlighting problem.

Thanks!

@minrk
Copy link
Member

minrk commented May 8, 2013

I can confirm that your code results in a working install, exactly as typed on:

OS X 10.8.3
Chrome 28.0.1500.2
(System) Python 2.7.2

in a fresh virtualenv (after easy_install pyzmq tornado jinja2)

My guess is there was some stale IPython sitting around somewhere. Try pip uninstall ipython until it stops finding anything, then reinstall.

@kjemmett
Copy link
Author

kjemmett commented May 8, 2013

I noticed that when I started a second ipython kernel syntax highlighting was working, though the shell was giving me an error:

ERROR:root:First ws message didn't have the form 'identity:[cookie]' - ''

This gave an urge to clear the cache in Chrome, which fixed the problem.

@kjemmett kjemmett closed this as completed May 8, 2013
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

2 participants