Searching local HTML Docs with Chrome browser doesn't find anything, ever

asked 2013-05-14 03:01:54 -0600

rickhg12hs gravatar image

updated 2013-07-11 21:00:15 -0600

Using locally generated documentation ("make doc" in install dir), the Chrome browser search feature doesn't ever find anything. It used to work, but I don't know when it broke.

My local browser URLs:

file:///usr/local/src/sage/sage-5.9/devel/sage/doc/output/html/en/reference/search.html?q=lfsr

file:///usr/local/src/sage/sage-5.9/devel/sage-main/doc/output/html/en/reference/search.html?q=lfsr

... only show Searching ... forever.

This URL returns with doc references quickly.

http://www.sagemath.org/doc/reference...

What could be blocking my local doc searches? Where can I look to start debugging? Interestingly, Firefox works fine.

Chrome's javascript console reports:

Failed to load resource: Origin null is not allowed by Access-Control-Allow-Origin. file:///usr/local/src/sage/sage-5.10/devel/sage-main/doc/output/html/en/reference/searchindex.js
XMLHttpRequest cannot load file:///usr/local/src/sage/sage-5.10/devel/sage-main/doc/output/html/en/reference/searchindex.js. Origin null is not allowed by Access-Control-Allow-Origin.
edit retag flag offensive close merge delete

Comments

It works for me with sage-5.9.

tmonteil gravatar imagetmonteil ( 2013-05-14 06:00:29 -0600 )edit

@tmonteil: What URL do you use in your browser?

rickhg12hs gravatar imagerickhg12hs ( 2013-05-14 15:22:48 -0600 )edit

I used `file:///opt/sagemath/sage/devel/sage-main/doc/output/html/en/reference/search.html?q=lfsr` since sage-5.9 is installed at `/opt/sagemath/sage/` on my computer.

tmonteil gravatar imagetmonteil ( 2013-05-15 02:42:30 -0600 )edit

My Chrome still just sits there. No cpu or disk activity that I can see. However, just checked Firefox and it works! Must be a weird Chrome setting.

rickhg12hs gravatar imagerickhg12hs ( 2013-05-15 03:10:48 -0600 )edit

Same symptoms for Sage 5.10 and Chrome Version 28.0.1500.71 8-(

rickhg12hs gravatar imagerickhg12hs ( 2013-07-11 19:39:34 -0600 )edit