#10171: sage -hg serve is completely broken on OS X
----------------------+-----------------------------------------------------
Reporter: was | Owner: jason
Type: defect | Status: new
Priority: major | Milestone: sage-4.6
Component: misc | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------+-----------------------------------------------------
On OS X with a fresh install of Sage:
{{{
wst...@bsd:~/build/sage-4.5.3/devel/sage/sage$ sage -hg serve -p 8200
}}}
In another window type
{{{
wst...@bsd:~$ open http://localhost:8200
}}}
And in the first window see:
{{{
/Users/was/build/sage-4.5.3/local/bin/sage-sage: line 440: 49631 Trace/BPT
trap hg "$@"
}}}
The same happens with sage-4.6.alpha3 and port 8000.
This is not a problem on Linux. It's only on OS X, as far as I can tell.
The solution to this is probably the same as for #6440 -- which is Upgrade
Mercurial.
The version in Sage is ancient -- 1.3.1 -- but the current version of
Mercurial is version 1.6.4. That said, I just tried upgrading (which is
really confusing, since mercurial is in local/lib/python/, not in
local/lib/python/site-packages), and still get the problem:
{{{
deep:notes wstein$ psage -hg version
Mercurial Distributed SCM (version 1.6.4)
Copyright (C) 2005-2010 Matt Mackall <[email protected]> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
deep:notes wstein$ psage -hg serve -p 8200
/Users/wstein/purple/psage-10.09.30/local/bin/sage-sage: line 440: 79089
Trace/BPT trap hg "$@"
}}}
However, installing Mercurial into my systemwide Python works fine. So I
don't know what is messed up about Sage's Python.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10171>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.