Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

no method available for opening http localhost 8000

I have built Sage 7.2 from source on a Red Hat machine, and when I try to start a notebook server, I get

/usr/bin/xdg-open: line 402: htmlview: command not found

/usr/bin/xdg-open: line 402: firefox: command not found

/usr/bin/xdg-open: line 402: mozilla: command not found

/usr/bin/xdg-open: line 402: netscape: command not found

/usr/bin/xdg-open: line 402: links: command not found

/usr/bin/xdg-open: line 402: lynx: command not found

xdg-open: no method available for opening 'http://localhost:8080?startup_token=a19cd71a527ae07b9d079e9e71c73c5a'

Now, I've looked at http://ask.sagemath.org/question/9162/no-method-available-for-opening-http-localhost-8000/ and http://www.linuxquestions.org/questions/programming-9/xdg-open-no-method-available-for-opening-889242/ but the machine is shared, so I don't want to go around messing with anything in /usr/bin. I don't have direct access (or ability to install an X-client on the physical machine I'm using), so I can't check there is a browser installed on the machine I put Sage on.

Is there a way to work around this just within Sage? I didn't see anything that answered this here in ask, or in Sage for Power Users. Perhaps I can't fix this without better access to the machine I put Sage on. In that case, I'll just have to run Sage from command line. But it's nice to have notebook access.