Ask Your Question

Revision history [back]

how do I get sage terminal to not crash on OS 10?

This is the message I receive:

Last login: Thu Sep 7 10:19:25 on ttys003 jsc4857:~ stevehennagin$ /Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/sage; exit +--------------------------------------------------------------------+ | Sage Version 5.11, Release Date: 2013-08-13 | | Type "notebook()" for the browser-based notebook interface. | | Type "help()" for help. | +--------------------------------------------------------------------+ Traceback (most recent call last): File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/bin/sage-ipython", line 6, in <module> from sage.misc.interpreter import SageTerminalApp File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/interpreter.py", line 67, in <module> import os, log, re, new, sys File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/log.py", line 65, in <module> import latex File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/latex.py", line 51, in <module> import shutil, re File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python/shutil.py", line 12, in <module> import collections File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python/collections.py", line 9, in <module> from operator import itemgetter as _itemgetter, eq as _eq ImportError: dlopen(/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString Referenced from: /Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so Expected in: flat namespace in /Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

[Process completed]

click to hide/show revision 2
None

how do I get sage terminal to not crash on OS 10?

This is the message I receive:

Last login: Thu Sep  7 10:19:25 on ttys003
jsc4857:~ stevehennagin$ /Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/sage; exit
+--------------------------------------------------------------------+
| Sage Version 5.11, Release Date: 2013-08-13                        |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
+--------------------------------------------------------------------+
Traceback (most recent call last):
  File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/bin/sage-ipython", line 6, in <module>
    from sage.misc.interpreter import SageTerminalApp
  File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/interpreter.py", line 67, in <module>
    import os, log, re, new, sys
  File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/log.py", line 65, in <module>
    import latex
  File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/latex.py", line 51, in <module>
    import shutil, re
  File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python/shutil.py", line 12, in <module>
    import collections
  File "/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python/collections.py", line 9, in <module>
    from operator import itemgetter as _itemgetter, eq as _eq
ImportError: dlopen(/Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString
  Referenced from: /Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
  Expected in: flat namespace
 in /Users/stevehennagin/Documents/Sage-5.11-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

...completed. [Process completed]

completed]