#4991: [with spkg, positive review] GDB is broken on OSX due to ipython's
readline
detection
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: assigned
Priority: critical | Milestone: sage-3.3
Component: packages | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by was):
* summary: [with spkg, needs review] GDB is broken on OSX due to
ipython's readline detection => [with spkg,
positive review] GDB is broken on OSX due to
ipython's readline detection
Comment:
I took a clean Sage install, installed your spkg, then started sage -gdb
and get
{{{
...
. done
Reading symbols for shared libraries warning: Could not find object file
"/Users/wstein/sage-3.2.3/devel/sage-
main/build/temp.macosx-10.3-i386-2.5/sage/ext/interactive_constructors_c.o"
- no debug information available for
"sage/ext/interactive_constructors_c.c".
. done
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call
last)
/Users/wstein/sage/local/lib/python2.5/site-packages/IPython/ipmaker.pyc
in force_import(modname)
64 reload(sys.modules[modname])
65 else:
---> 66 __import__(modname)
67
68
/Users/wstein/ipy_profile_sage.py in <module>()
14 from sage.misc.interpreter import attached_files
15
---> 16 branch =
sage.misc.misc.branch_current_hg_notice(sage.misc.misc.branch_current_hg())
17 if branch:
18 print branch
/Users/wstein/sage/local/lib/python2.5/site-packages/sage/misc/misc.pyc in
branch_current_hg()
1502 i = s.rfind('->')
1503 if i == -1:
-> 1504 raise RuntimeError, "unable to determine branch?!"
1505 s = s[i+2:]
1506 i = s.find('-')
RuntimeError: unable to determine branch?!
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
sage:
}}}
That said, it gets farther and is running into a different error than
before. Also, the patch you did include looks good and is done right.
Thus this ticket gets a positive review since it's summary specifically
says it's only supposed to fix a readline detection issue, not a branch
detection issue.
Please create another ticket though with the branch detection issue (just
paste the above log).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4991#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---