Ask Your Question

Process Sage illegal instruction: 4 [closed]

asked 2018-11-01 07:50:54 +0200

anonymous user


If this is a known bug, I've not been able to find a solution. Please advice.

I get this error:

Process Sage illegal instruction: 4

when I run this code:

from matplotlib import rc
g=Graph({1:[2,3], 2:[1,3], 3:[1,2]});

It used to run. This is not new code. The versions I'm running are:

Mac OS X El Capitan 10.11.6 (15G22010)

XCode Version 8.0 (8A218a)

SageMath version 8.3, Release Date: 2018-08-03

GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G22010))

ob-sagemath 0.4

sage-shell-mode 0.3

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ufopp
close date 2018-11-05 21:39:18.758336


Have you updated your OS, your version of Xcode, anything like that? Maybe those could interfere with an existing Sage installation.

John Palmieri gravatar imageJohn Palmieri ( 2018-11-02 22:04:35 +0200 )edit

No, other than normal secutiry updates I've not upgraded XCcode or the OS.

ufopp gravatar imageufopp ( 2018-11-05 09:11:45 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-11-05 21:33:33 +0200

ufopp gravatar image

updated 2018-11-05 21:36:40 +0200

The problem was traced to a misspelling, "sagemth" instead of "sagemath" in two places in ob-sagemath.el file. The best way to solve this problem is to re-install ob-sagemath package in Emacs from melpa repository instead of melpa-stable repository. Don't know when the corrected version will propogate to melpa-stable. Both versions are marked 0.4, so normal package update can't tell which repository has the most recent version.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-11-01 07:50:54 +0200

Seen: 391 times

Last updated: Nov 05 '18