#13864: Configure Python with  pydebug when SAGE_DEBUG is set
-------------------------------------+--------------------------------------
       Reporter:  jpflori            |         Owner:  jason          
           Type:  enhancement        |        Status:  positive_review
       Priority:  major              |     Milestone:  sage-5.6       
      Component:  misc               |    Resolution:                 
       Keywords:  python spkg        |   Work issues:                 
Report Upstream:  N/A                |     Reviewers:  Volker Braun   
        Authors:  Jean-Pierre Flori  |     Merged in:                 
   Dependencies:  #13865             |      Stopgaps:                 
-------------------------------------+--------------------------------------

Comment (by jpflori):

 Replying to [comment:12 vbraun]:
 > Some debugging hint: Use `python -v` to print imports as they happen:
 > {{{
 > [vbraun@volker-desktop sage-5.6.beta0]$ ./sage -python -v
 > ...
 > >>> import sage.all_cmdline
 > ...
 > import sage.rings.padics.padic_ext_element # dynamically loaded from
 /home/vbraun/opt/sage-5.6.beta0/local/lib/python2.7/site-
 packages/sage/rings/padics/padic_ext_element.so
 > Fatal Python error: UNREF invalid object
 >
 
/home/vbraun/opt/sage-5.6.beta0/local/lib/libcsage.so(print_backtrace+0x31)[0x7f0c88f3120d]
 >
 
/home/vbraun/opt/sage-5.6.beta0/local/lib/libcsage.so(sigdie+0x14)[0x7f0c88f3123f]
 >
 
/home/vbraun/opt/sage-5.6.beta0/local/lib/libcsage.so(sage_signal_handler+0x1da)[0x7f0c88f30deb]
 > }}}

 Could you add this to the dev doc in #13865, or here?

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

Reply via email to