Sage Crash Report: `TypeError` upon startup (Sage 9.0.0)

33 views
Skip to first unread message

Samuel Tang

unread,
Aug 2, 2020, 11:31:01 PM8/2/20
to sage-support
Hi team,

This issue happened to me just one day ago.

I am aware of https://trac.sagemath.org/ticket/18492 and https://www.mail-archive.com/debian-b...@lists.debian.org/msg1671690.html as they have the same TypeError, but I think that is not my case.

Thanks for the help in advance!
Sage_crash_report.txt

slelievre

unread,
Aug 3, 2020, 1:57:05 AM8/3/20
to sage-support
Hi Samuel,

Did you just install Sage? Probably not or you would have installed
either Sage 9.1 or Sage 9.2.beta7.

More likely, did you have Sage installed on your computer for a while,
via some package manager, and working well, and did you just upgrade
the system Python from Python 3.7.x to Python 3.8.x?

Python 3.8.x is not supported yet, we're slowly getting there, see:

- Sage Trac ticket 27754
  Upgrade: Python 3.8.5

For more support, what is your OS and how did you install Sage?

Samuel Tang

unread,
Aug 3, 2020, 2:31:57 AM8/3/20
to sage-support
Hi,

Thanks for your quick response. I am running on Ubuntu 20.04, and installed Sagemath via `sudo apt-get install sagemath`.
From what I recorded, it was Sage 9.0 on Python 3.8.2 since I've installed Ubuntu (in early July The version are consistent on Sage and Python when I referred just now:

```
$ sage --version
SageMath version 9.0, Release Date: 2020-01-01

$ python --version
Python 3.8.2
```

Since I was using Sage in a daily basis in the previous week, so I think I've triggered something lately causing the problem.
Moreover I found an entry from /var/log/dpkg.log.1 that may cause the problem (unsure about that).

```
2020-07-30 11:52:47 upgrade python3-distupgrade:all 1:20.04.21 1:20.04.23
2020-07-30 11:52:47 status half-configured python3-distupgrade:all 1:20.04.21
2020-07-30 11:52:47 status unpacked python3-distupgrade:all 1:20.04.21
2020-07-30 11:52:47 status half-installed python3-distupgrade:all 1:20.04.21
2020-07-30 11:52:48 status unpacked python3-distupgrade:all 1:20.04.23
```

Should I downgrade my Python version to see if Sage could start up properly? Thanks much!

Matthias Koeppe

unread,
Aug 3, 2020, 2:54:05 PM8/3/20
to sage-support
Problems with the Ubuntu packaging should be reported as an Ubuntu bug.
Reply all
Reply to author
Forward
0 new messages