Ask Your Question

Issue with the notebook: won't display output

asked 2014-02-05 05:47:54 +0100

Alasdair gravatar image

I am dealing with a worksheet which every now and then I have to interrupt or restart. However, after restarting my worksheet becomes unusable. Either it hangs on a simple instruction (like "2+2"), or doesn't hang, but produces no output. I'm using Firefox in Linux (Ubuntu 12.04), and Sage 5.11. I'm not quite sure what to do here, aside from shutting everything down (the notebook, and Sage) and then restarting. And is there a way of opening up a saved worksheet and not automatically evaluating all the cells?

edit retag flag offensive close merge delete


Typically, opening up an existing worksheet shouldn't evaluate *any* cells, unless you have `%auto` in some of them. That said, it sounds to me like there is something hidden in this worksheet that is causing the trouble - have you looked at the raw code version? Sometimes extra stuff gets in there if you got a worksheet from someone else.

kcrisman gravatar imagekcrisman ( 2014-02-05 15:00:44 +0100 )edit

I discovered that the problem (at least partly) is MathJax - I can obtain un-typeset output after a restart, but not typeset output. It looks as though MathJax needs to be somehow restarted - and this I don't know how to do.

Alasdair gravatar imageAlasdair ( 2014-02-05 20:04:52 +0100 )edit

But it's only this one particular worksheet, correct?

kcrisman gravatar imagekcrisman ( 2014-02-05 20:07:33 +0100 )edit

Well, I've only noticed it in one particular worksheet. I sometimes (in error) have it output the results, which can be very long indeed.

Alasdair gravatar imageAlasdair ( 2014-02-05 21:27:10 +0100 )edit

I think this is something worth debugging on this worksheet, then. In fact, my advice is below as an answer.

kcrisman gravatar imagekcrisman ( 2014-02-06 09:12:21 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-06 09:14:39 +0100

kcrisman gravatar image

This may not work. But here is what I recommend.

  1. Open the worksheet.
  2. Click "Edit".
  3. Copy this raw text out.
  4. Close the worksheet.
  5. Open a new worksheet.
  6. Click "Edit".
  7. Paste the raw text in the new one.
  8. Hope that whatever strange metacharacters or something caused it are now gone!

Good luck.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2014-02-05 05:47:54 +0100

Seen: 426 times

Last updated: Feb 06 '14