IPython post-mortem report {'commit_hash': u'5c9c918', 'commit_source': 'installation', 'default_encoding': 'UTF-8', 'ipython_path': '/home/rjoshua/Downloads/SageMath/local/lib/python2.7/site-pac\ kages/IPython', 'ipython_version': '5.1.0', 'os_name': 'posix', 'platform': 'Linux-4.8.6-300.fc25.x86_64-x86_64-with-fedora-25-Twenty_Five', 'sys_executable': '/home/rjoshua/Downloads/SageMath/local/bin/python', 'sys_platform': 'linux2', 'sys_version': '2.7.13 (default, Mar 26 2017, 18:34:22) \n[GCC 6.3.1 20161221 \ (Red Hat 6.3.1-1)]'}
*************************************************************************** Crash traceback: --------------------------------------------------------------------------- --------------------------------------------------------------------------- ImportErrorPython 2.7.13: /home/rjoshua/Downloads/SageMath/local/bin/python Thu Dec 28 22:03:45 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. /home/rjoshua/Downloads/SageMath/src/bin/sage-ipython in <module>() 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 = <bound method SageTerminalApp.initialize of <sag\ e.repl.interpreter.SageTerminalApp object at 0x7ff3b3204050>> 11 app.start() <decorator-gen-109> in initialize(self=<sage.repl.interpreter.SageTerminalApp ob\ ject>, argv=None) /home/rjoshua/Downloads/SageMath/local/lib/python2.7/site-packages/traitlets/con\ fig/application.pyc in catch_config_error(method=<function initialize>, app=<sag\ e.repl.interpreter.SageTerminalApp object>, *args=(None,), **kwargs={}) 72 TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR = False 73 else: 74 raise ValueError("Unsupported value for environment variable: 'TRAIT\ LETS_APPLICATION_RAISE_CONFIG_FILE_ERROR' is set to '%s' which is none of {'0',\ '1', 'false', 'true', ''}."% _envvar ) 75 78 def catch_config_error(method, app, *args, **kwargs): 79 """Method decorator for catching invalid config (Trait/ArgumentError\ s) during init. 80 81 On a TraitError (generally caused by bad config), this will print th\ e trait's 82 message, and exit the app. 83 84 For use on init methods, to prevent invoking excepthook on invalid i\ nput. 85 """ 86 try: ---> 87 return method(app, *args, **kwargs) method = <function initialize at 0x7ff3a428c320> app = <sage.repl.interpreter.SageTerminalApp object at 0x7ff3b3204050> 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 294 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 = <bound method SageTerminalApp.init_shell of <sage.repl\ .interpreter.SageTerminalApp object at 0x7ff3b3204050>> 310 # and draw the banner 311 self.init_banner() 312 # Now a variety of things that happen after the banner is printe\ d. 313 self.init_gui_pylab() 314 self.init_extensions() 315 self.init_code() 316 317 def init_shell(self): 318 """initialize the InteractiveShell instance""" 319 # Create an InteractiveShell instance. 320 # shell.display_banner should always be False for the terminal 321 # based app, because we call shell.show_banner() by hand below 322 # so the banner shows *before* all extension loading stuff. 323 self.shell = TerminalInteractiveShell.instance(parent=self, 324 profile_dir=self.profile_dir, 749 # Load the %lprun extension if available 750 try: 751 import line_profiler 752 except ImportError: 753 pass 754 else: 755 self.extensions.append('line_profiler') 756 757 if self.shell.has_sage_extensions: 758 self.extensions.remove(SAGE_EXTENSION) 759 760 # load sage extension here to get a crash if 761 # something is wrong with the sage library --> 762 self.shell.extension_manager.load_extension(SAGE_EXTENSION) self.shell.extension_manager.load_extension = <bound method ExtensionMan\ ager.load_extension of <IPython.core.extensions.ExtensionManager object at 0x7ff\ 3a30b7950>> global SAGE_EXTENSION = 'sage' 763 764 -- 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.