Am I confused? My sage root directory is /Applications/sage. I cd to
/Applications/sage/src/sage
and then attempt to start sage with either
/Applications/sage/sage
or
../../sage
Either of these results in a crash which looks related to ipython
(traceback below). Sage does start for me when I'm in other directories
(either the sage root directory, or $SAGE_ROOT/src, or
$SAGE_ROOT/src/sage/plot). I've tested this with one of the 5.13 betas and
with 6.0. I've also tested in on two different machines (a mac for the
commands above, and RHEL with analogous commands). Anyone else have this
problem?
-Niles
njohnson@galileo:sage$ pwd
/Applications/sage/src/sage
njohnson@galileo:sage$ /Applications/sage/sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.0, Release Date: 2013-12-17 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
Error in sys.excepthook:
Traceback (most recent call last):
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/application.py",
line 175, in excepthook
return self.crash_handler(etype, evalue, tb)
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/crashhandler.py",
line 158, in __call__
traceback = TBhandler.text(etype,evalue,etb,context=31)
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.py",
line 412, in text
tb_offset, context)
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.py",
line 963, in structured_traceback
ipinst = ipapi.get()
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/ipapi.py",
line 28, in get
return InteractiveShell.instance()
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/config/configurable.py",
line 318, in instance
inst = cls(*args, **kwargs)
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py",
line 476, in __init__
self.init_reload_doctest()
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py",
line 666, in init_reload_doctest
doctest_reload()
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/utils/doctestreload.py",
line 74, in doctest_reload
doctest.DocTestRunner.run = dhook_wrap(doctest.DocTestRunner.run)
AttributeError: 'module' object has no attribute 'DocTestRunner'
Original exception was:
Traceback (most recent call last):
File "/Applications/sage/src/bin/sage-ipython", line 17, in <module>
app.initialize()
File "<string>", line 2, in initialize
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/config/application.py",
line 84, in catch_config_error
return method(app, *args, **kwargs)
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py",
line 324, in initialize
self.init_shell()
File
"/Applications/sage/local/lib/python2.7/site-packages/sage/misc/interpreter.py",
line 748, in init_shell
ipython_dir=self.ipython_dir)
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/config/configurable.py",
line 318, in instance
inst = cls(*args, **kwargs)
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/frontend/terminal/interactiveshell.py",
line 360, in __init__
user_module=user_module, custom_exceptions=custom_exceptions
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py",
line 476, in __init__
self.init_reload_doctest()
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py",
line 666, in init_reload_doctest
doctest_reload()
File
"/Applications/sage/local/lib/python2.7/site-packages/IPython/utils/doctestreload.py",
line 74, in doctest_reload
doctest.DocTestRunner.run = dhook_wrap(doctest.DocTestRunner.run)
AttributeError: 'module' object has no attribute 'DocTestRunner'
--
You received this message because you are subscribed to the Google Groups
"sage-devel" 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-devel.
For more options, visit https://groups.google.com/groups/opt_out.