#19131: sage -gdb doesn't work
---------------------------+----------------------------
   Reporter:  mmezzarobba  |            Owner:
       Type:  defect       |           Status:  new
   Priority:  major        |        Milestone:  sage-6.9
  Component:  misc         |         Keywords:
  Merged in:               |          Authors:
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:
   Stopgaps:               |
---------------------------+----------------------------
 {{{
 $ ./sage -gdb
 ┌────────────────────────────────────────────────────────────────────┐
 │ SageMath Version 6.9.beta2, Release Date: 2015-08-13               │
 │ Type "notebook()" for the browser-based notebook interface.        │
 │ Type "help()" for help.                                            │
 └────────────────────────────────────────────────────────────────────┘
 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
 ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
 gdb: /home/marc/co/sage/local/lib/libncurses.so.5: no version information
 available (required by gdb)
 gdb: /home/marc/co/sage/local/lib/libncurses.so.5: no version information
 available (required by gdb)
 gdb: /home/marc/co/sage/local/lib/libtinfo.so.5: no version information
 available (required by gdb)
 Fatal Python error: Py_Initialize: Unable to get the locale encoding
   File "/home/marc/co/sage/local/lib/python/encodings/__init__.py", line
 123
     raise CodecRegistryError,\
                             ^
 SyntaxError: invalid syntax

 Current thread 0x00007f97dbdc0780 (most recent call first):
 }}}

 {{{
 $ ./sage -t --gdb src/sage/rings/integer.pyx
 too many failed tests, not using stored timings
 exec gdb -x "$SAGE_LOCAL/bin/sage-gdb-commands" --args python
 "$SAGE_LOCAL/bin/sage-runtests" --serial --timeout=0
 --stats_path=/home/marc/.sage/timings2.json
 --optional=mpir,python2,sage,scons src/sage/rings/integer.pyx
 gdb: /home/marc/co/sage/local/lib/libncurses.so.5: no version information
 available (required by gdb)
 gdb: /home/marc/co/sage/local/lib/libncurses.so.5: no version information
 available (required by gdb)
 gdb: /home/marc/co/sage/local/lib/libtinfo.so.5: no version information
 available (required by gdb)
 Fatal Python error: Py_Initialize: Unable to get the locale encoding
   File "/home/marc/co/sage/local/lib/python/encodings/__init__.py", line
 123
     raise CodecRegistryError,\
                             ^
 SyntaxError: invalid syntax

 Current thread 0x00007fe6c331e780 (most recent call first):
 (exit 250)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19131>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to