Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opening "old" Sage Notebooks in Jupyter: not UTF-8 encoded

I've decided to pay attention to the "Sage Notebook is Depreciated" message at the top of all of my Notebooks, and convert everything into Jupyter. So it seems that I'm got Jupyter running on my system (through Anaconda), but when I save all my SageMath notebooks (as .sws files, since that seems to happen by default), and open them in Jupyter, (I'm running Jupyter with "sage -n jupyter"), I get the message in the notebook that the file is not UTF-8 encoded, and nothing else (sorry, I can't for the life of me seem to cut and paste this exact message from the Jupyter notebook...).

I did a little searching and at least discovered this:

$ file -bi Embedded\ Torus\ in\ Invariant\ Coordinates\ \(S3\ Scale\ Factor\,\ Bump\).sws 
$ application/x-bzip2; charset=binary

So this file (and all my Sage Notebook Files) have "binary" listed as the character set. That seems bad to me - if it's a character set, shouldn't it be ASCII at least, or something?

Anyone know how I can get these notebooks into Jupyter? I can go back and save them as something different if I knew what I needed to do.

click to hide/show revision 2
None

Opening "old" Sage Notebooks in Jupyter: not UTF-8 encoded

I've decided to pay attention to the "Sage Notebook is Depreciated" Deprecated" message at the top of all of my Notebooks, and convert everything into Jupyter. So it seems that I'm got Jupyter running on my system (through Anaconda), but when I save all my SageMath notebooks (as .sws files, since that seems to happen by default), and open them in Jupyter, (I'm running Jupyter with "sage -n jupyter"), I get the message in the notebook that the file is not UTF-8 encoded, and nothing else (sorry, I can't for the life of me seem to cut and paste this exact message from the Jupyter notebook...).

I did a little searching and at least discovered this:

$ file -bi Embedded\ Torus\ in\ Invariant\ Coordinates\ \(S3\ Scale\ Factor\,\ Bump\).sws 
$ application/x-bzip2; charset=binary

So this file (and all my Sage Notebook Files) have "binary" listed as the character set. That seems bad to me - if it's a character set, shouldn't it be ASCII at least, or something?

Anyone know how I can get these notebooks into Jupyter? I can go back and save them as something different if I knew what I needed to do.

click to hide/show revision 3
retagged

Opening "old" Sage Notebooks in Jupyter: not UTF-8 encoded

I've decided to pay attention to the "Sage Notebook is Deprecated" message at the top of all of my Notebooks, and convert everything into Jupyter. So it seems that I'm got Jupyter running on my system (through Anaconda), but when I save all my SageMath notebooks (as .sws files, since that seems to happen by default), and open them in Jupyter, (I'm running Jupyter with "sage -n jupyter"), I get the message in the notebook that the file is not UTF-8 encoded, and nothing else (sorry, I can't for the life of me seem to cut and paste this exact message from the Jupyter notebook...).

I did a little searching and at least discovered this:

$ file -bi Embedded\ Torus\ in\ Invariant\ Coordinates\ \(S3\ Scale\ Factor\,\ Bump\).sws 
$ application/x-bzip2; charset=binary

So this file (and all my Sage Notebook Files) have "binary" listed as the character set. That seems bad to me - if it's a character set, shouldn't it be ASCII at least, or something?

Anyone know how I can get these notebooks into Jupyter? I can go back and save them as something different if I knew what I needed to do.

click to hide/show revision 4
retagged

Opening "old" Sage Notebooks in Jupyter: not UTF-8 encoded

I've decided to pay attention to the "Sage Notebook is Deprecated" message at the top of all of my Notebooks, and convert everything into Jupyter. So it seems that I'm got Jupyter running on my system (through Anaconda), but when I save all my SageMath notebooks (as .sws files, since that seems to happen by default), and open them in Jupyter, (I'm running Jupyter with "sage -n jupyter"), I get the message in the notebook that the file is not UTF-8 encoded, and nothing else (sorry, I can't for the life of me seem to cut and paste this exact message from the Jupyter notebook...).

I did a little searching and at least discovered this:

$ file -bi Embedded\ Torus\ in\ Invariant\ Coordinates\ \(S3\ Scale\ Factor\,\ Bump\).sws 
$ application/x-bzip2; charset=binary

So this file (and all my Sage Notebook Files) have "binary" listed as the character set. That seems bad to me - if it's a character set, shouldn't it be ASCII at least, or something?

Anyone know how I can get these notebooks into Jupyter? I can go back and save them as something different if I knew what I needed to do.