You are not logged in.

#1 2015-08-27 00:58:31

MatterCloud
Member
Registered: 2014-02-07
Posts: 10

SageMath creating database files with invalid encoding

Hello all,

When the sage interpreter starts, it creates a database to store the command history for the session.  The problem is the files are being named with a long string of weird “?” characters followed by "(invalid encoding)".  The first time I enter a command, it complains:

The history saving thread hit an unexpected error (OperationalError('no such table: history',)).History will not be written to the database.

The wiki doesn't say anything about it and web searches have only turned up things relating to using non-English characters in the sage notebook, which doesn't seem to be related.  Searching the forums also didn't turn up anything relevant.  I've tried uninstalling and reinstalling all sage-related packages, as well as installing all optional dependencies, but nothing has helped.  (I tried building the full sage distribution from source, but there's apparently a bug in gcc 5.2 that causes an error and the patches I've found online don't seem to help; I'll follow that up with the sage devs in parallel with this.)

So I'm wondering if there are any sage users out there that have encountered this problem and might have a solution.  I'm happy to provide any additional information that might help. 

Many thanks!

Offline

Board footer

Powered by FluxBB