Re: [sage-support] Sage Crash Report

2019-08-17 Thread Dima Pasechnik
This is built by Debian people, so it's really not our bug, I cc to
the relevant list,

On Sat, Aug 17, 2019 at 6:32 PM Carlos Mauricio Silva
 wrote:
>
> Hi,
> I would like to report a crash:
>
> Operating System: Debian Linux Testing
> carlos@arroway:~$ uname -a
> Linux arroway 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64 
> GNU/Linux
>
> SageMath was installed from Debian Repositories:
> apt-get install sagemath
>
> SageMath crashes right after intitialize:
> carlos@arroway:~$ sage
> ┌┐
> │ SageMath version 8.6, Release Date: 2019-01-15 │
> │ Using Python 2.7.16. Type "help()" for help.   │
> └┘
>
> **
>
> Oops, Sage crashed. We do our best to make it stable, but...
>
> Best Regards,
> Carlos
>
>
> --
> Carlos Mauricio Silva
> Departamento de Física
> Instituto Politécnico Superior "Gral. San Martín"
> Universidad Nacional de Rosario ~ República Argentina
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/CALgKwyrf%3D6GJ4x%2BH41HmrhHspf-tk02Zu1MtSj8qo5_TAMWg8g%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0%2Bc%2BH8oLGwL71iD0YhKJRzpH3K7RsQPmcUrhaEdH9V9g%40mail.gmail.com.


[sage-support] Sage Crash Report

2019-08-17 Thread Carlos Mauricio Silva
Hi,
I would like to report a crash:

Operating System: Debian Linux Testing
carlos@arroway:~$ uname -a
Linux arroway 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64
GNU/Linux

SageMath was installed from Debian Repositories:
apt-get install sagemath

SageMath crashes right after intitialize:
carlos@arroway:~$ sage
┌┐
│ SageMath version 8.6, Release Date: 2019-01-15 │
│ Using Python 2.7.16. Type "help()" for help.   │
└┘

**

Oops, Sage crashed. We do our best to make it stable, but...

Best Regards,
Carlos


-- 
Carlos Mauricio Silva
Departamento de Física
Instituto Politécnico Superior "Gral. San Martín"
Universidad Nacional de Rosario ~ República Argentina

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CALgKwyrf%3D6GJ4x%2BH41HmrhHspf-tk02Zu1MtSj8qo5_TAMWg8g%40mail.gmail.com.
***

IPython post-mortem report

{'commit_hash': u'033ab93c7',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': '/usr/lib/python2.7/dist-packages/IPython',
 'ipython_version': '5.8.0',
 'os_name': 'posix',
 'platform': 'Linux-4.19.0-5-amd64-x86_64-with-debian-bullseye-sid',
 'sys_executable': '/usr/bin/python2',
 'sys_platform': 'linux2',
 'sys_version': '2.7.16+ (default, Jul  8 2019, 09:45:29) \n[GCC 8.3.0]'}

***



***

Crash traceback:

---
---
ImportErrorPython 2.7.16+: /usr/bin/python2
   Sat Aug 17 12:13:21 2019
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.
/usr/share/sagemath/bin/sage-ipython in ()
  1 #!/usr/bin/env sage-python23
  2 # -*- coding: utf-8 -*-
  3 """
  4 Sage IPython startup script.
  5 """
  6 
  7 # Display startup banner. Do this before anything else to give the user
  8 # early feedback that Sage is starting.
  9 from sage.misc.banner import banner
 10 banner()
 11 
 12 from sage.repl.interpreter import SageTerminalApp
 13 
 14 app = SageTerminalApp.instance()
---> 15 app.initialize()
global app.initialize = >
 16 app.start()

 in initialize(self=, argv=None)

/usr/lib/python2.7/dist-packages/traitlets/config/application.pyc 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 

/usr/lib/python2.7/dist-packages/IPython/terminal/ipapp.pyc in 
initialize(self=, argv=None)
301 
302 return super(TerminalIPythonApp, self).parse_command_line(argv)
303 
304 @catch_config_error
305 def initialize(self, argv=None):
306 """Do actions after construct, but before starting the app."""
307 super(TerminalIPythonApp, self).initialize(arg