Ask Your Question
1

What causes sage to crash as it starts?

asked 2018-04-21 05:54:09 +0100

BCWDave gravatar image

Installed sage 7.6 on Ubuntu 16.04 LTS to work with a colleague who is also on 7.X release (they are on Fedora). It all seemed to go OK but consistently get a crash message as soon as it starts. A crash report text file is created - can supply that for someone to look at.

Here is the terminal output:

┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 7.6, Release Date: 2017-03-25 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘


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

A crash report was automatically generated with the following information: - A verbatim copy of the crash traceback. - A copy of your input history during this session. - Data on your current Sage configuration.

It was left in the file named: '/home/davelautzenheiser/.sage/ipython-5.0.0/Sage_crash_report.txt' If you can email this file to the developers, the information in it will help them in understanding and correcting the problem.

You can mail it to: sage-support at sage-support@googlegroups.com with the subject 'Sage Crash Report'.

If you want to do it now, the following command will work (under Unix): mail -s 'Sage Crash Report' sage-support@googlegroups.com < /home/davelautzenheiser/.sage/ipython-5.0.0/Sage_crash_report.txt

edit retag flag offensive close merge delete

Comments

We need mor information to understand what happened:

  • did you install Sage from the binaries, and which ones ?
  • did you compile Sage yourself ?
  • which error message did you get (crash report) ?
  • ... ?
tmonteil gravatar imagetmonteil ( 2018-04-21 15:02:27 +0100 )edit

Installation was from binaries - sage-7.6-Ubuntu_16.04-x86_64.tar.bz2 with target machine running Ubuntu 16.04 LTS.

Yes, a crash report was generated. Not sure how to upload the whole thing - 21KB Start of crash report has following:


Crash traceback:

---------------------------------------------------------------------------

ImportError Python 2.7.13: /sagemath/SageMath/local/bin/python Fri Apr 20 14:00:45 2018 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.

BCWDave gravatar imageBCWDave ( 2018-04-21 21:08:15 +0100 )edit

If you do not have a presonal web page, you could use some pastebin service.

tmonteil gravatar imagetmonteil ( 2018-04-21 21:42:00 +0100 )edit

The full crash report can be found here:

https://spaces.hightail.com/receive/V...

BCWDave gravatar imageBCWDave ( 2018-04-23 01:13:55 +0100 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2018-04-23 07:00:26 +0100

BCWDave gravatar image

Discovered that gfortran was not installed. Now appears that Sage is working!

edit flag offensive delete link more

Comments

1

Congratulations for answering your own question. You should accept your answer by clicking the "accept" button (tick mark next to the top of the answer), so that the answer will be marked as accepted, and the question will be marked as solved.

slelievre gravatar imageslelievre ( 2018-04-23 12:12:20 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-04-21 05:54:09 +0100

Seen: 737 times

Last updated: Apr 23 '18