Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metaticket: Make SAGE_DEBUG work #13877

Closed
simon-king-jena opened this issue Dec 28, 2012 · 7 comments
Closed

Metaticket: Make SAGE_DEBUG work #13877

simon-king-jena opened this issue Dec 28, 2012 · 7 comments

Comments

@simon-king-jena
Copy link
Member

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

Duplicate of #13864.

Depends on #13832
Depends on #13864
Depends on #13868
Depends on #13876

Dependencies: #13832, #13864, #13867. #13868, #13876

CC: @nbruin @vbraun @jpflori @jdemeyer

Component: build

Keywords: SAGE_DEBUG

Reviewer: Volker Braun

Issue created by migration from https://trac.sagemath.org/ticket/13877

@simon-king-jena
Copy link
Member Author

comment:1

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...

@simon-king-jena
Copy link
Member Author

Dependencies: #13832, #13864, #13867. #13868, #13876

@vbraun
Copy link
Member

vbraun commented Dec 28, 2012

comment:2

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

I suggest we close this as duplicate

@vbraun vbraun removed this from the sage-5.6 milestone Dec 28, 2012
@simon-king-jena
Copy link
Member Author

comment:3

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.

@simon-king-jena
Copy link
Member Author

Reviewer: vbraun

@nexttime
Copy link
Mannequin

nexttime mannequin commented Dec 28, 2012

Changed reviewer from vbraun to Volker Braun

@jdemeyer

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants