On 5/17/07, Marshall Hampton <[EMAIL PROTECTED]> wrote: > I have a more reproducible version of this bug. If you execute the > following three commands in seperate cells, you should see the sort of > problem I am having: > > show(line(((0,0),(1,1)))) > > show(line(((0,0),(1,1))),figsize=[1280,800])
Gees -- that is crazy huge. A reasonable figsize would be something like [8,5]. I think the units of figsize are something like inches... You probably seriously exceeded the capacity of SAGE/matplotlib or your browser by making such a large figure. > show(line(((0,0),(1,1)))) > > The middle command generates an error - I was originally trying to > resize a more complicated figure and this syntax must be wrong. But > then the show command won't work at all. Unlike my previous problems, > however, stopping and restarting sage will fix this, as will creating > a new worksheet. I sense they related somehow though. > > M.Hampton > > On May 16, 8:42 pm, Marshall Hampton <[EMAIL PROTECTED]> wrote: > > I copied/pasted it from the notebook, so its not a typo. > > > > I opened it by navigating manually through the filesystem, but the > > address is correct (with the leading /). > > > > I haven't had a problem of this type before, and I have done some very > > similar things. The trouble began when I was writing some fairly > > buggy code working on a PHCpack parser. The next time I have access > > to that machine (probably Friday) I will start a completely new > > notebook, since perhaps my messed up worksheet somehow 'infected' the > > overall notebook (I did start new worksheets after the problems > > started). I did quit out of sage and restart, but with the same > > notebook command from my history. > > > > Marshall > > > > On May 16, 3:49 pm, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: > > > > > On May 16, 2007, at 1:35 PM, Marshall Hampton wrote: > > > > > > I am having trouble getting the show() command to work in the > > > > notebook. After the following commands: > > > > > > sage: a = [[[0.0, -1.0], [0.0, 1.0]], [[0.0, 1.0], [0.0, -1.0]]] > > > > sage: pts3=[point((pt[0],pt[1])) for w1 in a for pt in w1] > > > > sage: show(plot(pts3)) > > > > > > nothing happens. On the terminal display, it acts like the PNG file > > > > is not there: > > > > > > file not found [Errno 2] No such file or directory: 'Users/guest/ > > > > MySAGE/MySAGE/worksheets/test/cells/1/sage0.png' > > > > nomad66-243.d.umn.edu - - [16/May/2007 15:27:33] "GET /Users/guest/ > > > > MySAGE/MySAGE/worksheets/test/cells/1/sage0.png?1 HTTP/1.1" 404 - > > > > > It's odd that the two lines have slightly different filenames (no > > > leading "/" in the first one). Did you type this or copy/paste? > > > It's a silly question, but it helps to rule out some things (and you > > > deserve an award of some type if you did type it in :-}) > > > > > Could be quirk of the logging function, or it could be an explanation... > > > > > The above works fine on my Mac (which doesn't help, of course). No > > > spaces in the name, it appears. > > > > > Did you try opening the file by copy/pasting the name from the log to > > > the terminal? > > > > > Justin > > > > > -- > > > Justin C. Walker, Curmudgeon-at-Large > > > () The ASCII Ribbon Campaign > > > /\ Help Cure HTML Email > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---