On Sat, Feb 28, 2009 at 3:06 AM, Foadi, James <j.fo...@imperial.ac.uk> wrote: > > I have done that. > This time I get the following message:
I have to say that logging in Sage was as far as I know never designed to be something you could just read back in like you're trying to do. You might want to look into sage_session and load_session. William > > > ---------------------------------------------------------------------- > | Sage Version 3.2.3, Release Date: 2009-01-05 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > sage: load "last_session.py" > Loading log file <last_session.py> one line at a time... > ERROR: File > `/home/james/.sage/temp/ubuntu8/7753/_home_james__sage_init_sage_0.py` not > found. > Finished replaying log file <last_session.py> > > The following lines/blocks in file <last_session.py> reported errors: > 'interact': 1, > 'logfile': 'last_session.py', > 'profile': ''}) > > > > > ... and, next SAGE stops and I'm back to linux shell. > Also, it shouldn't really matter what you call your log session... > > > J > ________________________________________ > From: sage-support@googlegroups.com [sage-supp...@googlegroups.com] On Behalf > Of William Stein [wst...@gmail.com] > Sent: 28 February 2009 06:13 > To: sage-support@googlegroups.com; Fernando Perez > Subject: [sage-support] Re: failure to logging input > > Hi, > > Name the log "last_session.py" then do > > load "last_session.py" > > and see what happens. > > The problem is that log is already "preparsed" (it's .py code not .sage code). > > William > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---