[sage-support] Re: Excessive snapshots

2009-03-08 Thread Rob Beezer
OK, I have a better, but still imperfect, idea of what is happening. Discussion below is now at http://trac.sagemath.org/sage_trac/ticket/5459 (I'm cross-posting the contnuation of this thread from sage-support to sage-devel). There is a notebook configuration item indexed by 'save_interval'. Th

[sage-support] Re: Excessive snapshots

2009-03-07 Thread Rob Beezer
On Mar 7, 6:52 pm, William Stein wrote: > > 4.  Worksheet code suggests saves are based on per-user time > > intervals, but my testing seems to suggest it is a notebook-wide > > setting that prevails.  Consider > > > sage: nb = load('/home/rob/.sage/sage_notebook/nb.sobj', > > compress=False) > >

[sage-support] Re: Excessive snapshots

2009-03-07 Thread William Stein
On Sat, Mar 7, 2009 at 11:07 AM, Rob Beezer wrote: > > William and Michael, > > 1.  Its not clear from discussion around the topic that  user_conf.py > is applicable to newly created notebooks, so that explanation is very > helpful.  Thanks. > > 2.  I think it might also be very helpful to have a

[sage-support] Re: Excessive snapshots

2009-03-07 Thread Rob Beezer
William and Michael, 1. Its not clear from discussion around the topic that user_conf.py is applicable to newly created notebooks, so that explanation is very helpful. Thanks. 2. I think it might also be very helpful to have a configurable maximum number of snapshots - like the configurable

[sage-support] Re: Excessive snapshots

2009-03-07 Thread William Stein
On Fri, Mar 6, 2009 at 11:41 PM, mabshoff wrote: > > > > On Mar 6, 11:22 pm, Rob Beezer wrote: >> My 30 MB nb.sobj was also being saved twice a minute.  Is this a >> reasonable size for this file? >> >> After some head-scratching, I found the threadhttp://tinyurl.com/aht325 >> >> which had the f

[sage-support] Re: Excessive snapshots

2009-03-06 Thread Rob Beezer
Hi Michael, No - didn't rebuild. Guess I figured it was some sort of configuration file that got read at start-up. :-( At least now I know which version to edit. I don't think this explains why it was saving twice a minute originally, when I'd built from source. user_conf.py must have been r

[sage-support] Re: Excessive snapshots

2009-03-06 Thread mabshoff
On Mar 6, 11:22 pm, Rob Beezer wrote: > My 30 MB nb.sobj was also being saved twice a minute.  Is this a > reasonable size for this file? > > After some head-scratching, I found the threadhttp://tinyurl.com/aht325 > > which had the following commands to use at the sage command line: > > sage: n

[sage-support] Re: Excessive snapshots

2009-03-06 Thread Rob Beezer
My 30 MB nb.sobj was also being saved twice a minute. Is this a reasonable size for this file? After some head-scratching, I found the thread http://tinyurl.com/aht325 which had the following commands to use at the sage command line: sage: nb = load('/home/rob/.sage/sage_notebook/ nb.sobj',com

[sage-support] Re: Excessive snapshots

2009-03-06 Thread Rob Beezer
Marshall, Thanks for the reply. I'm using 3.4.rc0, built from the source. I find three copies of user_conf.py: ./devel/sage-main/sage/server/notebook/user_conf.py ./devel/sage-main/build/lib.linux-x86_64-2.5/sage/server/notebook/ user_conf.py ./devel/sage-main/build/sage/server/notebook/user_c

[sage-support] Re: Excessive snapshots

2009-03-06 Thread Marshall Hampton
Yes, running 3.3 should fix that. You can safely delete most of those snapshots if you want to save some space. Also, you can edit user_conf.py (in sage/server/notebook) to change the autosave_interval to something bigger (this is #5371 that you referred to, although there we are only thinking o