Opened 11 years ago

Closed 11 years ago

#4947 closed defect (fixed)

worksheets with interact cells auto-launch

Reported by: mhampton Owned by: boothby
Priority: blocker Milestone: sage-3.3
Component: notebook Keywords: notebook, interact
Cc: TimothyClemans Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Note: this is NOT a duplicate of #4363.

Since 3.2.2 (possibly 3.2.1?), worksheets which contain @interact cells auto-launch when the notebook is started. This is an extremely serious problem for notebooks with many such worksheets.

Change History (9)

comment:1 Changed 11 years ago by was

Note: this is NOT a duplicate of #4363.

Since 3.2.2 (possibly 3.2.1?), worksheets which contain @interact cells auto-launch when the notebook is started. This is an extremely serious problem for notebooks with many such worksheets.

Are you sure??? This would be so wrong/horrible, that I would think I would have noticed. Also, I can't imagine how this is possible; from my understanding of the notebook code, this is highly unlikely to happen. Finally, I tried creating a worksheet with an interact cell on my laptop with sage-3.2.3 then restarting the sage notebook server, and that worksheet was *not* running. In only started running when I clicked to open the worksheet.

Can you please check that you didn't just get confused? Thanks.

comment:2 Changed 11 years ago by was

I just checked on the public sagenb.org, and *did* observe this behavior. So it does happen systematically on some installs. This is obviously a terrible bug.

comment:3 Changed 11 years ago by kcrisman

This happened to me, but I cannot replicate it on 3.2.1 - only 3.2.2. I hope that helps track it down.

comment:4 Changed 11 years ago by mabshoff

  • Milestone changed from sage-3.4 to sage-3.3

comment:5 Changed 11 years ago by kcrisman

After a non-expert look at all changesets for 3.2.2, the only one that really stuck out was #3950 - not that there was anything immediately obvious in it that would cause this behavior, but it seemed to be the only nontrivial change to the notebook. There were a few others that touched it, though all (including this one) seemed to be mostly on the listing of worksheets or html, not starting processes!

comment:6 Changed 11 years ago by jason

  • Cc TimothyClemans added

Is it possible that #3950 could have opened each worksheet, and when doing that, #4363 kicks in and starts running things?

TimothyClemans?, can you look at this and see if #3950 caused the problem?

comment:7 Changed 11 years ago by ghtdak

I can verify this behavior on 3.2.3 (ubuntu 8.10 x86_64) and wanted to also verify that the worksheets are indeed running and have @interact cells

comment:8 Changed 11 years ago by mhansen

This is fixed by #4363.

comment:9 Changed 11 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in Sage 3.3.alpha0 by merging #4363.

Cheers,

Michael

Note: See TracTickets for help on using tickets.