#3945: sage -gdb doesn't work (ipython related?)
--------------------+-------------------------------------------------------
 Reporter:  was     |        Owner:  cwitty  
     Type:  defect  |       Status:  new     
 Priority:  major   |    Milestone:  sage-3.2
Component:  misc    |   Resolution:          
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by mabshoff):

  * summary:  sage -gdb doesn't work under OS X 10.5 => sage -gdb doesn't
              work (ipython related?)

Comment:

 Ok, I think I am now hitting the same problem. On sage.math:
 {{{
 [EMAIL PROTECTED]:/scratch/mabshoff/release-cycle/sage-3.1.3.alpha3$ ./sage
 -gdb
 ----------------------------------------------------------------------
 | SAGE Version 3.1.3.alpha2, Release Date: 2008-09-30                |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 /scratch/mabshoff/release-cycle/sage-3.1.3.alpha3/local/bin/sage-gdb-
 pythonstartup
 GNU gdb 6.4.90-debian
 Copyright (C) 2006 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db
 library "/lib/libthread_db.so.1".

 [Thread debugging using libthread_db enabled]
 [New Thread 46983635287904 (LWP 15466)]
 Python 2.5.2 (r252:60911, Sep 30 2008, 17:45:52)
 [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
 Type "help", "copyright", "credits" or "license" for more information.

 ----------------------------------------------------------------------
 | SAGE Version 3.1.3.alpha2, Release Date: 2008-09-30                |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------

 Program exited normally.
 (gdb)
 }}}
 By best guess would be that this is ipython related, specifically in
 {{{local/bin/sage-gdb-pythonstartup}}} we have
 {{{
 from sage.all import *
 import os, sys
 sys.argv = ['', '-rc', os.environ['IPYTHONRC'], \
                 '-c', os.environ['SAGE_STARTUP_COMMAND'] + '; banner()']
 import IPython
 IPython.Shell.IPShell().mainloop(sys_exit=1, banner='')
 }}}

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3945#comment:2>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to