[sage-support] Re: Sage Crash Report

2017-06-21 Thread whit3rd


On Wednesday, June 21, 2017 at 3:01:09 AM UTC-7, Dima Pasechnik wrote:
>
>
>
> On Wednesday, June 21, 2017 at 9:04:12 AM UTC+1, whit3rd wrote:
>>
>> Seconds after install of version 7.6, on MacOS 10.11.6
>> on a MacBook Pro (Core 2 duo, 4GB RAM)
>>
>
> it might be that the executable you downloaded needs a better CPU (Core 2 
> duo is quite old...)
> What exactly have you installed, what file?
>
> It's "sage-7.6-OSX_10.11.6-x86_64.dmg" for the installer.

Core 2 is certainly  both x86 and 64-bit.   This CPU is 2.26 GHz, probably 
Penryn P8400 or SP9300
Apple MacBook Pro 5.5 is the machine designation
 

> As well, it might be that you have some kind of conflict with some stuff 
> in /sw/ you have in your PATH.
> Could you temporarily rename /sw/ and try again?
>

That works!  Don't see any reason there'd be conflict, though.  Sage 
doesn't put anything into /sw,
 but /sw overrides anyhow?

How might I restore the /sw directory and still keep Sage running?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Merging univariate and multivariate polynomial functionality for polynomials over one variable

2017-06-21 Thread kcrisman
This seems more appropriate to sage-devel, forwarding there ...

On Tuesday, June 13, 2017 at 11:06:59 AM UTC-4, Joey van Langen wrote:
>
> I am currently working on making an iterator for finite quotients of 
> polynomial rings (over the integers), i.e. R / I with R a polynomial ring 
> and I an ideal such that R / I is finite. Whilst working on this I had to 
> deal with the difference between the different implementations of 
> univariate and multivariate polynomials in sage. Although most differences 
> are subtle and simple to overcome (the multivariate case often has a method 
> with an additional s as there are mutliple values returned instead of one), 
> I have now come to a point where I am definetily stuck. Apparently checking 
> whether an element is contained in an ideal of a univariate polynomial ring 
> is not implemented. When however I create a multivariate polynomial ring 
> with only one variable explicitly I can use the __contains__ method of the 
> ideal.
>
> I would like to suggest that the functionality of univariate and 
> multivariate polynomials would be combined into one. The most obvious 
> choice to me would seem to make a univariate polynomial ring a special case 
> of the multivariate polynomial ring using the category framework, such that 
> polynomial rings in only one variable can profit from the functionality of 
> both.
>
> I am willing to help implement this functionality into sage, but as of now 
> I am too inexperienced with the sage source code to do so. Therefore I 
> would like to ask if there is anyone who wants to help implement this as I 
> think it is a usefull feature for sage.
>
> I did not know whether this would be the right place to post this 
> question/suggestion. If it has to be moved, please let me know.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Error Building Sage 7.6

2017-06-21 Thread Dima Pasechnik
Where have you gotten the source?
You need to get it, say, from
http://www.sagemath.org/download-source.html

(looks like you are trying to build a binary distribution)


On Wednesday, June 21, 2017 at 12:40:15 PM UTC+1, Eric wrote:
>
> Dear all,
>
> I am new to Sage. In installation part, I've got this message when
> building the Sage.
>
> Could you please help me?
>
> Thank you very much.
>
> make build/make/Makefile
> make[1]: Entering directory `/home/eric/Sage/SageMath'
> make[1]: `build/make/Makefile' is up to date.
> make[1]: Leaving directory `/home/eric/Sage/SageMath'
> build/bin/sage-logger \
> "cd build/make && ./install 'all'" logs/install.log
> *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
> CLUTTER_IM_MODULE=xim
> COLORTERM=gnome-terminal
> COMPIZ_CONFIG_PROFILE=ubuntu
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-XWvPOj2kHc
> DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
> DESKTOP_SESSION=ubuntu
> DISPLAY=:0
> GDM_LANG=en_US
> GDMSESSION=ubuntu
> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Ku5pqL
> GNOME_KEYRING_PID=1767
> GPG_AGENT_INFO=/run/user/1000/keyring-Ku5pqL/gpg:0:1
> GTK_IM_MODULE=ibus
> GTK_MODULES=overlay-scrollbar:unity-gtk-module
> HOME=/home/eric
> IM_CONFIG_PHASE=1
> INSTANCE=Unity
> JOB=gnome-session
> LANG=en_US.UTF-8
> LANGUAGE=en_US
> LESSCLOSE=/usr/bin/lesspipe %s %s
> LESSOPEN=| /usr/bin/lesspipe %s
> LOGNAME=eric
>
> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
> MAKEFLAGS=
> MAKELEVEL=1
> MAKE=make
> MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
> MFLAGS=
>
> PATH=/home/eric/Sage/SageMath/build/bin:/home/eric/Sage/SageMath/src/bin:/home/eric/Sage/SageMath/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> PWD=/home/eric/Sage/SageMath/build/make
> PYTHONPATH=/home/eric/Sage/SageMath/local
> QT4_IM_MODULE=xim
> QT_IM_MODULE=ibus
> QT_QPA_PLATFORMTHEME=appmenu-qt5
> SAGE_EXTCODE=/home/eric/Sage/SageMath/local/share/sage/ext
> SAGE_LOCAL=/home/eric/Sage/SageMath/local
> SAGE_LOGS=/home/eric/Sage/SageMath/logs/pkgs
> SAGE_ORIG_PATH_SET=True
>
> SAGE_ORIG_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> SAGE_ROOT=/home/eric/Sage/SageMath
> SAGE_SHARE=/home/eric/Sage/SageMath/local/share
> SAGE_SPKG_INST=/home/eric/Sage/SageMath/local/var/lib/sage/installed
> SAGE_SRC=/home/eric/Sage/SageMath/src
> SAGE_VERSION=7.6
> SELINUX_INIT=YES
> SESSIONTYPE=gnome-session
> SHELL=/bin/bash
> SHLVL=3
> SSH_AUTH_SOCK=/run/user/1000/keyring-Ku5pqL/ssh
> TERM=xterm
> TEXTDOMAINDIR=/usr/share/locale/
> TEXTDOMAIN=im-config
> UPSTART_EVENTS=started starting
> UPSTART_INSTANCE=
> UPSTART_JOB=unity-settings-daemon
> UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1771
> USER=eric
> _=/usr/bin/env
> V=1
> VTE_VERSION=3409
> WINDOWID=58720268
> XAUTHORITY=/home/eric/.Xauthority
> XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
> XDG_CURRENT_DESKTOP=Unity
>
> XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/eric
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SEAT=seat0
> XDG_SESSION_ID=c2
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_VTNR=7
> XMODIFIERS=@im=ibus
> ***
> make[1]: Entering directory `/home/eric/Sage/SageMath/build/make'
> make base
> make[2]: Entering directory `/home/eric/Sage/SageMath/build/make'
> make[2]: Nothing to be done for `base'.
> make[2]: Leaving directory `/home/eric/Sage/SageMath/build/make'
> env SAGE_BUILD_TOOLCHAIN=yes make toolchain
> m

[sage-support] Error Building Sage 7.6 in Ubuntu

2017-06-21 Thread Eric
Dear all,

I am having trouble in installing Sage 7.6, in Ubuntu 14.04.

Could anyone help?

Here is the message.

Thank you all.

Eric

[sagelib-7.6] make[3]: Entering directory `/home/eric/Sage/SageMath/src'
[sagelib-7.6] (cd .\
[sagelib-7.6]  && export SAGE_ROOT=/doesnotexist\
[sagelib-7.6]SAGE_SRC=/doesnotexist\
[sagelib-7.6]SAGE_SRC_ROOT=/doesnotexist\
[sagelib-7.6]SAGE_DOC_SRC=/doesnotexist\
[sagelib-7.6]SAGE_SCRIPTS_DIR=/doesnotexist\
[sagelib-7.6]SAGE_BUILD_DIR=/doesnotexist\
[sagelib-7.6]SAGE_PKGS=/home/eric/Sage/SageMath/build/pkgs\
[sagelib-7.6]
SAGE_CYTHONIZED=/home/eric/Sage/SageMath/src/build/cythonized
\
[sagelib-7.6]  && python -u setup.py --no-user-cfg build install)
[sagelib-7.6] /home/eric/Sage/SageMath/local/bin/python: 1: 
/home/eric/Sage/SageMath/local/bin/python: Syntax error: word unexpected 
(expecting ")")
[sagelib-7.6] make[3]: *** [sage] Error 2
[sagelib-7.6] make[3]: Leaving directory `/home/eric/Sage/SageMath/src'
[sagelib-7.6] 
[sagelib-7.6] real0m0.017s
[sagelib-7.6] user0m0.000s
[sagelib-7.6] sys0m0.000s
make[2]: *** [sagelib] Error 2
make[2]: Leaving directory `/home/eric/Sage/SageMath/build/make'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/eric/Sage/SageMath/build/make'

real0m0.441s
user0m0.064s
sys0m0.084s
***
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all'):

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

make: *** [all] Error 1

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Error Building Sage 7.6

2017-06-21 Thread Eric
Dear all,

I am new to Sage. In installation part, I've got this message when
building the Sage.

Could you please help me?

Thank you very much.

make build/make/Makefile
make[1]: Entering directory `/home/eric/Sage/SageMath'
make[1]: `build/make/Makefile' is up to date.
make[1]: Leaving directory `/home/eric/Sage/SageMath'
build/bin/sage-logger \
"cd build/make && ./install 'all'" logs/install.log
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
CLUTTER_IM_MODULE=xim
COLORTERM=gnome-terminal
COMPIZ_CONFIG_PROFILE=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-XWvPOj2kHc
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GDM_LANG=en_US
GDMSESSION=ubuntu
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Ku5pqL
GNOME_KEYRING_PID=1767
GPG_AGENT_INFO=/run/user/1000/keyring-Ku5pqL/gpg:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=overlay-scrollbar:unity-gtk-module
HOME=/home/eric
IM_CONFIG_PHASE=1
INSTANCE=Unity
JOB=gnome-session
LANG=en_US.UTF-8
LANGUAGE=en_US
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LOGNAME=eric
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MAKEFLAGS=
MAKELEVEL=1
MAKE=make
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
MFLAGS=
PATH=/home/eric/Sage/SageMath/build/bin:/home/eric/Sage/SageMath/src/bin:/home/eric/Sage/SageMath/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/eric/Sage/SageMath/build/make
PYTHONPATH=/home/eric/Sage/SageMath/local
QT4_IM_MODULE=xim
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
SAGE_EXTCODE=/home/eric/Sage/SageMath/local/share/sage/ext
SAGE_LOCAL=/home/eric/Sage/SageMath/local
SAGE_LOGS=/home/eric/Sage/SageMath/logs/pkgs
SAGE_ORIG_PATH_SET=True
SAGE_ORIG_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SAGE_ROOT=/home/eric/Sage/SageMath
SAGE_SHARE=/home/eric/Sage/SageMath/local/share
SAGE_SPKG_INST=/home/eric/Sage/SageMath/local/var/lib/sage/installed
SAGE_SRC=/home/eric/Sage/SageMath/src
SAGE_VERSION=7.6
SELINUX_INIT=YES
SESSIONTYPE=gnome-session
SHELL=/bin/bash
SHLVL=3
SSH_AUTH_SOCK=/run/user/1000/keyring-Ku5pqL/ssh
TERM=xterm
TEXTDOMAINDIR=/usr/share/locale/
TEXTDOMAIN=im-config
UPSTART_EVENTS=started starting
UPSTART_INSTANCE=
UPSTART_JOB=unity-settings-daemon
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1771
USER=eric
_=/usr/bin/env
V=1
VTE_VERSION=3409
WINDOWID=58720268
XAUTHORITY=/home/eric/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/eric
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SEAT=seat0
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_VTNR=7
XMODIFIERS=@im=ibus
***
make[1]: Entering directory `/home/eric/Sage/SageMath/build/make'
make base
make[2]: Entering directory `/home/eric/Sage/SageMath/build/make'
make[2]: Nothing to be done for `base'.
make[2]: Leaving directory `/home/eric/Sage/SageMath/build/make'
env SAGE_BUILD_TOOLCHAIN=yes make toolchain
make[2]: Entering directory `/home/eric/Sage/SageMath/build/make'
make[2]: Nothing to be done for `toolchain'.
make[2]: Leaving directory `/home/eric/Sage/SageMath/build/make'
make toolchain-deps
make[2]: Entering directory `/home/eric/Sage/SageMath/build/make'
make /home/eric/Sage/SageMath/local/var/lib/sage/installed/zlib-1.2.8.p0
make[3]: Entering directory `/home/eric/Sage/SageMath/build/make'
make[3]:
`/home/eric/Sage/SageMath/lo

[sage-support] Re: Sage Crash Report

2017-06-21 Thread Dima Pasechnik


On Wednesday, June 21, 2017 at 9:04:12 AM UTC+1, whit3rd wrote:
>
> Seconds after install of version 7.6, on MacOS 10.11.6
> on a MacBook Pro (Core 2 duo, 4GB RAM)
>

it might be that the executable you downloaded needs a better CPU (Core 2 
duo is quite old...)
What exactly have you installed, what file?

As well, it might be that you have some kind of conflict with some stuff in 
/sw/ you have in your PATH.
Could you temporarily rename /sw/ and try again?



> On initially installing Sage, there was one warning 
> ***
> /Applications/SageMath/src/bin/sage-env: line 291: /sw/bin/sed: Bad CPU 
> type in executable
> **
> then this crash happened seconds after it seemed to complete, after
>  the prompt 
> ***
> │ SageMath version 7.6, Release Date: 2017-03-25 │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> ***
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Sage Crash Report

2017-06-21 Thread whit3rd
Seconds after install of version 7.6, on MacOS 10.11.6
on a MacBook Pro (Core 2 duo, 4GB RAM)

On initially installing Sage, there was one warning 
***
/Applications/SageMath/src/bin/sage-env: line 291: /sw/bin/sed: Bad CPU 
type in executable
**
then this crash happened seconds after it seemed to complete, after
 the prompt 
***
│ SageMath version 7.6, Release Date: 2017-03-25 │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.│
***

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
***

IPython post-mortem report

{'commit_hash': u'5c9c918',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': 
'/Applications/SageMath/local/lib/python2.7/site-packages/IPython',
 'ipython_version': '5.1.0',
 'os_name': 'posix',
 'platform': 'Darwin-15.6.0-x86_64-i386-64bit',
 'sys_executable': '/Applications/SageMath/local/bin/python',
 'sys_platform': 'darwin',
 'sys_version': '2.7.13 (default, Mar 31 2017, 15:02:06) \n[GCC 5.4.0]'}

***



***

Crash traceback:

---
---
ImportError  Python 2.7.13: /Applications/SageMath/local/bin/python
   Tue Jun 20 14:53:18 2017
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/Applications/SageMath/src/bin/sage-ipython in ()
  1 #!/usr/bin/env python
  2 # -*- coding: utf-8 -*-
  3 """
  4 Sage IPython startup script.
  5 """
  6 
  7 from sage.repl.interpreter import SageTerminalApp
  8 
  9 app = SageTerminalApp.instance()
---> 10 app.initialize()
global app.initialize = >
 11 app.start()

 in initialize(self=, argv=None)

/Applications/SageMath/local/lib/python2.7/site-packages/traitlets/config/application.py
 in catch_config_error(method=, 
app=, *args=(None,), **kwargs={})
 72 TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR = False
 73 else:
 74 raise ValueError("Unsupported value for environment variable: 
'TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR' is set to '%s' which is none of 
 {'0', '1', 'false', 'true', ''}."% _envvar )
 75 
 76 
 77 @decorator
 78 def catch_config_error(method, app, *args, **kwargs):
 79 """Method decorator for catching invalid config 
(Trait/ArgumentErrors) during init.
 80 
 81 On a TraitError (generally caused by bad config), this will print 
the trait's
 82 message, and exit the app.
 83 
 84 For use on init methods, to prevent invoking excepthook on invalid 
input.
 85 """
 86 try:
---> 87 return method(app, *args, **kwargs)
method = 
app = 
args = (None,)
kwargs = {}
 88 except (TraitError, ArgumentError) as e:
 89 app.print_help()
 90 app.log.fatal("Bad config encountered during initialization:")
 91 app.log.fatal(str(e))
 92 app.log.debug("Config at the time: %s", app.config)
 93 app.exit(1)
 94 
 95 
 96 class ApplicationError(Exception):
 97 pass
 98 
 99 
100 class LevelFormatter(logging.Formatter):
101 """Formatter with additional `highlevel` record
102 

/Applications/SageMath/local/lib/python2.7/site-packages/IPython/terminal/ipapp.py
 in initialize(self=, argv=None)
294 
295 return super(TerminalIPythonApp, self).parse_command_line(argv)
296 
297 @catch_config_error
298 def initialize(self, argv=None):
299 """Do actions after construct, but before starting the app."""
300 super(TerminalIPythonApp, self).initialize(argv)
301 if self.subapp is not None:
302 # don't bother initializing further, starting subapp
303 return
304 # print self.extra_args
305 if self.extra_args and not self.something_to_run:
306 self.file_to_run = self.extra_args[0]
307 self.init_path()
308 # create the shell
--> 309 self.init_shell()
self.init_shell = >
310 # and draw th