On 9 May 2009, at 12:04, William Stein wrote:

> If you want a more sophisticated source browser, type this
>
>
>  sage: hg_sage.browse()
>
> This will start a separate server with a Mercurial HG repo browser.



It would be nice to have a more useful error message if a browser is  
not found. I'm running sage from a VM, with a minimal Ubuntu server as  
OS, with no GUI.  So the default address of "localhost" won't work, as  
I can't run a browser from there.  So I tried the local IP, but   
"sage: hg_sage.browse(address='10.0.1.5')" fails with:

cd "/opt/sage-3.4.2/devel/sage" && hg serve --address 10.0.1.5 --port  
8200
http://10.0.1.5:8200: No such file or directory
= 
= 
= 
========================================================================

I eventually figured out that that I needed:

sage: hg_sage.browse(address='10.0.1.5', open_viewer=False)

If the hg server can't find a browser, it would be more useful to post  
a descriptive warning message but continue to start the server.

--
Kevin Horton
Ottawa, Canada




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to