kcrisman wrote: > >> When you delete all output, does that actually delete the physical >> images in the cell directory? (You may not know, but someone can check). > > Not only does it not remove the physical images e.g. sage0.png, it > doesn't even remove the cell directories!!! My current worksheet only > has cells 4, 8, 9, 12, 14, and 15 (none of which have images, just > function definitions) and yet there are directories for cells 10, 13, > 16, and 17 as well, three of which have sage0.png (which is just a > small graph of x^3). Oddly, cells 1, 2, 3, etc. are not there, which > is somewhat comforting. But this is after opening and closing this > worksheet (and saving it, etc.) a number of times. > > Okay, I just checked this specifically. I added a graph in a cell, > then deleted that cell, saved the worksheet, trashed the worksheet. > (I did not empty the trash!) And the result: > > $ ls -l 15/ > total 32 > -rw-r--r-- <snip> 14328 Feb 4 12:06 sage0.png > > I even cp'ed it to my Desktop and it loads in at a hefty 16 KB. And > even after deleting the cell, the sws goes from 133 KB to 146 KB. > This could add up REALLY fast with intense graphics. > > Thanks for any tracking down of this; I definitely consider this a > bug.
This has caused me a lot of headache in the past too, where closing and then opening a worksheet and re-evaluating something (or creating something) used an image from an old cell or something. I consider it a bug too. Can you open a ticket for it? Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---