Opened 7 years ago

Closed 7 years ago

#13877 closed enhancement (duplicate)

Metaticket: Make SAGE_DEBUG work

Reported by: SimonKing Owned by: GeorgSWeber
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords: SAGE_DEBUG
Cc: nbruin, vbraun, jpflori, jdemeyer Merged in:
Authors: Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #13832, #13864, #13867. #13868, #13876 Stopgaps:

Description (last modified by jdemeyer)

Currently, building Sage with SAGE_DEBUG set to "yes" does not work.

Duplicate of #13864.

Change History (5)

comment:1 Changed 7 years ago by SimonKing

  • Dependencies set to #13832, #13864, #13867. #13868, #13876

Applying #13832, #13864, #13867. #13868, #13876, I get the following when starting Sage:

/home/simon/SAGE/debug/sage-5.5.rc0/local/lib/python2.7/site-packages/sage/all.py:76: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
  import sage.symbolic.pynac
---------------------------------------------------------------------------
SystemError                               Traceback (most recent call last)

/home/simon/SAGE/debug/sage-5.5.rc0/local/lib/python2.7/site-packages/IPython/ipmaker.py in force_import(modname, force_reload)
     61         reload(sys.modules[modname])
     62     else:
---> 63         __import__(modname)
     64         
     65 

/home/simon/SAGE/debug/sage-5.5.rc0/local/bin/ipy_profile_sage.py in <module>()
      5     preparser(True)
      6     
----> 7     import sage.all_cmdline
      8     sage.all_cmdline._init_cmdline(globals())
      9     

/home/simon/SAGE/debug/sage-5.5.rc0/local/lib/python2.7/site-packages/sage/all_cmdline.py in <module>()
     12 try:
     13 
---> 14     from sage.all import *
     15     from sage.calculus.predefined import x
     16     preparser(on=True)

/home/simon/SAGE/debug/sage-5.5.rc0/local/lib/python2.7/site-packages/sage/all.py in <module>()
     74 
     75 # This must come before Calculus -- it initializes the Pynac library.
---> 76 import sage.symbolic.pynac
     77 
     78 from sage.modules.all    import *

SystemError: Objects/object.c:854: bad argument to internal function
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

So, I guess that's the job of #13868...

comment:2 follow-up: Changed 7 years ago by vbraun

  • Milestone changed from sage-5.6 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

I beat you to it, the metaticket is #13864 ;-)

I suggest we close this as duplicate

comment:3 in reply to: ↑ 2 Changed 7 years ago by SimonKing

  • Cc jpflori jdemeyer added
  • Reviewers set to vbraun
  • Status changed from needs_review to positive_review

Replying to vbraun:

I beat you to it, the metaticket is #13864 ;-)

I suggest we close this as duplicate

I first considered #13864 not as a meta-ticket, but as a ticket with the single purpose to configure Python with pydebug when SAGE_DEBUG is set to "yes". But as you now changed it into a "task": Yes, it is a duplicate.

comment:4 Changed 7 years ago by leif

  • Reviewers changed from vbraun to Volker Braun

comment:5 Changed 7 years ago by jdemeyer

  • Description modified (diff)
  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.