First time here? Check out the FAQ!

Ask Your Question
1

Issue with the notebook: won't display output

asked 11 years ago

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?

Preview: (hide)

Comments

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 ( 11 years ago )

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 ( 11 years ago )

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

kcrisman gravatar imagekcrisman ( 11 years ago )

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 ( 11 years ago )

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

kcrisman gravatar imagekcrisman ( 11 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

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.

Preview: (hide)
link

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

Stats

Asked: 11 years ago

Seen: 599 times

Last updated: Feb 06 '14